IETFilter::GetCurrRating Method
This topic applies to Windows XP Service Pack 1 or later.
The GetCurrRating method retrieves the current rating, based on the most recent media sample.
Syntax
HRESULT GetCurrRating(
[out] EnTvRat_System *pEnSystem,
[out] EnTvRat_GenericLevel *pEnRating,
[out] LONG *plbfEnAttr
);
Parameters
pEnSystem [out]
Receives the rating system, as an EnTvRat_System enumeration type.pEnRating [out]
Receives the rating level, as an EnTvRat_GenericLevel enumeration type. The meaning of this value depends on the rating system.plbfEnAttr [out]
Receives a bitwise combination of flags from the BfEnTvRat_GenericAttributes enumeration. The flags specify content attributes, such as violence or adult language. Content attributes do not apply to all rating systems.
Return Value
Returns S_OK if successful, or an error code otherwise.
Requirements
Header | Declared in EncDec.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008