IMSVidStreamBufferSource::MaxRatingsLevel method (segment.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 MaxRatingsLevel method specifies the maximum ratings level the object is permitted to play.
Syntax
HRESULT MaxRatingsLevel(
[in] EnTvRat_System enSystem,
[in] EnTvRat_GenericLevel enRating,
[in] LONG lbfEnAttr
);
Parameters
[in] enSystem
Specifies the rating system, as an EnTvRat_System enumeration value.
[in] enRating
Specifies the maximum rating level, as an EnTvRat_GenericLevel enumeration value.
[in] lbfEnAttr
Specifies zero or more ratings attributes, as a bitwise combination of flags from the BfEnTvRat_GenericAttributes enumeration.
Return value
The method returns an HRESULT. Possible values include the following.
Return code | Description |
---|---|
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP with SP1 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | segment.h (include Msvidctl.h) |