IXDSCodec::GetContentAdvisoryRating
Microsoft DirectShow 9.0 |
IXDSCodec::GetContentAdvisoryRating
This topic applies to Windows XP Service Pack 1 or later.
The GetContentAdvisoryRating method retrieves the most recent ratings information parsed by the XDSToRat object.
Syntax
HRESULT GetContentAdvisoryRating( PackedTvRating *pRat long *pPktSeqID long *pCallSeqID REFERENCE_TIME *pTimeStart REFERENCE_TIME *pTimeEnd );
Parameters
pRat
[out] Receives the most recent rating. The rating is packed into a format that is used internally by the XDS Codec filter, Encrypter/Tagger filter, and Decrypter/Detagger filter. It is not intended for use by other objects.
pPktSeqID
[out] Receives the number of ratings packets that have been decoded. This information can be used for diagnostic purposes.
pCallSeqID
[out] Receives the number of times this method has been called for the current ratings packet. This information can be used for diagnostic purposes.
pTimeStart
[out] Receives the start time of the sample that completed the ratings packet.
pTimeEnd
[out] Receives the stop time of the sample that completed the ratings packet.
Return Values
Returns an HRESULT value. Possible values include those in the following table.
Value | Description |
E_POINTER | NULL pointer argument |
S_OK | Success |
Requirements
Header: EncDec.h.
See Also