Microsoft DirectX 9.0

MSVidStreamBufferSource.MaxRatingsLevel

This topic applies to Windows XP Service Pack 1 only.

The MaxRatingsLevel method specifies the maximum ratings level the object is permitted to play.

Syntax

objSBESource.MaxRatingsLevel(
    EnSystem As EnTvRat_System
    EnRating As EnTvRat_GenericLevel 
    BfEnAttr As Long 
)

Parameters

EnSystem

Specifies the rating system, as an EnTvRat_System constant.

EnRating

Specifies the rating level, as an EnTvRat_GenericLevel constant.

BfEnAttr

Specifies the ratings attributes, as a bitwise combination of zero or more BfEnTvRat_GenericAttributes constants.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

No return value.

See Also