Share via


IDvbContentIdentifierDescriptor::GetRecordCrid 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 the content reference identifier (CRID) from a Digital Video Broadcast (DVB) content identifier descriptor.

Syntax

HRESULT GetRecordCrid(
  [in]  BYTE bRecordIndex,
  [out] BYTE *pbType,
  [out] BYTE *pbLocation,
  [out] BYTE *pbLength,
  [out] BYTE **ppbBytes
);

Parameters

[in] bRecordIndex

Zero-based index of the service record to return. To get the number of service records in the descriptor, call the IDvbContentIdentifierDescriptor::GetCountOfRecords method.

[out] pbType

Receives the type of the CRID.

[out] pbLocation

Gets the location of the CRID.

[out] pbLength

Gets the number of bytes required to return the CRID.

[out] ppbBytes

Pointer to a buffer that receives the CRID. The caller is responsible for freeing this memory.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header dvbsiparser.h (include Dvbsiparser.idl)

See also

IDvbContentIdentifierDescriptor

IDvbContentIdentifierDescriptor::GetCountOfRecords