IDTFilter::GetCurrRating method (encdec.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
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
[out] pEnSystem
Receives the rating system, as an EnTvRat_System enumeration type.
[out] pEnRating
Receives the rating level, as an EnTvRat_GenericLevel enumeration type. The meaning of this value depends on the rating system.
[out] plbfEnAttr
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
Requirement | Value |
---|---|
Minimum supported client | Windows�XP with SP1 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | encdec.h |