IDVDParentalManagementTable::ConvertParentalLevelToID (Windows CE 5.0)
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(UINT8level,UINT16countryCode,UINT16vtsn,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
Send Feedback on this topic to the authors