IPSITables::GetTable method (mpeg2psiparser.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 an MPEG-2 Program Specific Information (PSI) table from an MPEG-2 transport stream. The table that is returned and its contents depend on the values of the three input parameters to this method.

Syntax

HRESULT GetTable(
  [in]  DWORD    dwTSID,
  [in]  DWORD    dwTID_PID,
  [in]  DWORD    dwHashedVer,
  [in]  DWORD    dwPara4,
  [out] IUnknown **ppIUnknown
);

Parameters

[in] dwTSID

Transport stream identifier (TSID) for the table that is retrieved (bytes 0 - 15) and the original network ID (ONID) for an Event Information Table (EIT) that is retrieved (bytes 16 - 31).

[in] dwTID_PID

Table identifier (TID) or the program ID (PID) that identifies the transport stream packet.

[in] dwHashedVer

Hash value that identifies the table contents.

[in] dwPara4

PID for a Program Mapping Table or the service ID (SID) for an EIT. Otherwise, not used.

[out] ppIUnknown

Pointer to the IUnknown interface for the table object that is retrieved. The caller is responsible for freeing the memory.

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 mpeg2psiparser.h (include Mpeg2psiparser.idl)

See also

IPSITables

IUnknown