Поделиться через


IDVDParentalManagementTable::ConvertParentalLevelToID (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

If the method succeeds, it returns S_OK.

Requirements

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDParentalManagementTable