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(
  DWORD    dwTSID,
  DWORD    dwTID_PID,
  DWORD    dwHashedVer,
  DWORD    dwPara4,
  IUnknown **ppIUnknown
);

Parameters

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

dwTID_PID

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

dwHashedVer

Hash value that identifies the table contents.

dwPara4

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

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

   
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