다음을 통해 공유


IPBDA_EIT::GetRecordDuration 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 duration from an event record in an event information table (EIT) in a Protected Broadcast Device Architecture (PBDA) transport stream.

Syntax

HRESULT GetRecordDuration(
  [in]  DWORD         dwRecordIndex,
  [out] MPEG_DURATION *pmdVal
);

Parameters

[in] dwRecordIndex

Specifies the service record number, indexed from zero. Call the IPBDA_EIT::GetCountOfRecords method to get the number of records in the EIT.

[out] pmdVal

Receives the event duration.

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)

See also

IPBDA_EIT