IDVDParentalManagementTable::ConvertParentalLevelToID
This method reads the parental management information table (PTL_MAIT) and returns the parental ID field (PTL_ID_FLD) for a specified combination of video title set number (VTSN), country/region code, and parental level.
HRESULT ConvertParentalLevelToID(
UINT8 level,
UINT16 countryCode,
UINT16 vtsn,
UINT16* parentalID
);
Parameters
- level
[in] Value specifies the parental level information (PTL_LVLI) set in the parental management information (PTL_MAI). Its value must be in the range from 1 to 8. - countryCode
[in] Specified country/region code (CTY_CD). This value identifies a parental management information search pointer (PTL_MAI_SRP) in the PTL_MAIT. - vtsn
[in] Value specifies a VTSN in the parental level information (PTL_LVLI). A value of 0 will return the parental ID field for the video manager (PTL_ID_FLD_VMG). - parentalID
[out] Address of the parental ID filed for the video title set (PTL_ID_FLD_VTS) specified by level, countryCode, and vtsn.
Return Values
If the method succeeds, it returns S_OK.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.