IDvbSiParser::GetPMT Method
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetPMT method retrieves the program map table (PMT) for a specified packet identifier (PID).
Syntax
HRESULT GetPMT(
[in] PID pid,
[in] WORD *pwProgramNumber,
[out] IPMT **ppPMT
);
Parameters
pid [in]
Specifies the PID for the requested PMT.pwProgramNumber [in]
Optional pointer to a variable that contains a table program number. You can use this value to filter the request. Otherwise, set this parameter to NULL.ppPMT [out]
Address of a variable that receives an IPMT interface pointer. The caller must release the interface.
Return Value
The method returns an HRESULT. Possible values include those in the following table.
| Return code | Description |
|---|---|
E_POINTER |
NULL pointer argument. |
MPEG2_E_SECTION_NOT_FOUND |
The filter did not receive the table in the allotted time. |
S_OK |
The method succeeded. |
Remarks
The method fails if the filter does not receive a matching table within a predetermined length of time.
Requirements
| Header | Declared in Dvbsiparser.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008