IXDSCodec::GetContentAdvisoryRating Method
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(
[out] PackedTvRating *pRat,
[out] long *pPktSeqID,
[out] long *pCallSeqID,
[out] REFERENCE_TIME *pTimeStart,
[out] 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 Value
Returns an HRESULT value. Possible values include those in the following table.
| Return code | Description |
|---|---|
E_POINTER |
NULL pointer argument |
S_OK |
Success |
Requirements
| Header | Declared in EncDec.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008