Share via


IDvbLogicalChannelDescriptor::GetRecordServiceId

 
Microsoft DirectShow 9.0

IDvbLogicalChannelDescriptor::GetRecordServiceId

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The GetRecordServiceId method returns the service identifier at a specified index in the channel list.

Syntax

  HRESULT GetRecordServiceId(
  BYTE  bRecordIndex,
  WORD*  pwVal
);

Parameters

bRecordIndex

[in]  Zero-based index of the service identifier to return. To get the number of service identifiers in the descriptor, call IDvbLogicalChannelDescriptor::GetCountOfRecords.

pwVal

[out]  Receives the service_id field.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Header: Include dvbsiparser.h.

See Also