IPSITables::GetTable method

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

dwTSID [in]

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).

dwTID_PID [in]

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

dwHashedVer [in]

Hash value that identifies the table contents.

dwPara4 [in]

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

ppIUnknown [out]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported [desktop apps only]

Header

Mpeg2psiparser.idl

See also

IPSITables
IUnknown

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Show: