共用方式為


IDvdState::GetParentalLevel

 
Microsoft DirectShow 9.0

IDvdState::GetParentalLevel

The GetParentalLevel method retrieves the user's parental level as saved in the DvdState object.

Syntax

  HRESULT GetParentalLevel(
  ULONG *pulParentalLevel
);

Parameters

pulParentalLevel

[out] Pointer to a variable of type ULONG that receives the parental level.

Return Values

Returns one of the following values.

Return code Description
S_OK Success
E_POINTER Invalid argument

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also