IDvbParentalRatingDescriptor::GetRecordRating method (dvbsiparser.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.]
Gets a code that indicates the age-based rating for a Digital Video Broadcast (DVB) broadcast from a DVB parental rating descriptor.
Syntax
HRESULT GetRecordRating(
[in] BYTE bRecordIndex,
char *pszCountryCode,
[out] BYTE *pbVal
);
Parameters
[in] bRecordIndex
Zero-based index of the descriptor to return. To get the number of descriptors, call IDvbParentalRatingDescriptor::GetCountOfRecords.
pszCountryCode
Receives the ISO 3166 country code from the parental rating descriptor.
[out] pbVal
Gets the rating code. This can be any of the following values.
Value | Meaning |
---|---|
|
Undefined. |
|
Minimum age is 3 years. For example, 0x0A implies that end users should be at least 13 years old. |
|
Broadcaster defined. |
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | dvbsiparser.h (include Dvbsiparser.idl) |