IXDSCodec::GetContentAdvisoryRating 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 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
[out] pRat
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.
[out] pPktSeqID
Receives the number of ratings packets that have been decoded. This information can be used for diagnostic purposes.
[out] pCallSeqID
Receives the number of times this method has been called for the current ratings packet. This information can be used for diagnostic purposes.
[out] pTimeStart
Receives the start time of the sample that completed the ratings packet.
[out] pTimeEnd
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 |
---|---|
|
NULL pointer argument |
|
Success |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP with SP1 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | encdec.h |