Microsoft DirectX 9.0

IMpeg2PsiParser::GetCountOfPrograms

The implementation of this method is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.

The GetCountOfPrograms method retrieves the number of programs in the transport stream.

Syntax

HRESULT GetCountOfPrograms(
    int *pNumOfPrograms
);

Parameters

pNumOfPrograms

[out]  Pointer to a variable that receives the number of programs.

Return Values

The method returns an HRESULT value. Possible values include, but are not limited to, the values shown in the following table.

Value Description
S_OK Success.

See Also