IPMT::GetCountOfRecords
Microsoft DirectShow 9.0 |
IPMT::GetCountOfRecords
The GetCountOfRecords method returns the number of records in the PMT. Each record corresponds to a stream in the program.
Syntax
HRESULT GetCountOfRecords( WORD* pwVal );
Parameters
pwVal
[out] Receives the number of records.
Return Values
The method returns an HRESULT. Possible values include those in the following table.
Return code | Description |
E_POINTER | NULL pointer argument. |
S_OK | The method succeeded. |
Requirements
Header: Include Mpeg2PsiParser.h.
See Also