Share via


IDvbServiceListDescriptor::GetRecordServiceId 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 value of the service_id field from a Digital Video Broadcast (DVB) service list descriptor.The service_id field value uniquely identifies the service within the MPEG-2 transport stream.

Syntax

HRESULT GetRecordServiceId(
  [in]  BYTE bRecordIndex,
  [out] WORD *pwVal
);

Parameters

[in] bRecordIndex

Specifies the service record number, indexed from zero. Call the IDvbServiceListDescriptor::GetCountOfRecords method to get the number of records in the logical channel descriptor.

[out] pwVal

Receives the service_id field value.

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

IDvbServiceListDescriptor

IDvbServiceListDescriptor::GetCountOfRecords