Microsoft DirectX 9.0

IMpeg2PsiParser::GetPatVersionNumber

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

The GetPatVersionNumber method retrieves the version_number field from the PAT. A transport stream contains at most one PAT. The version number is incremented whenever the information in the table changes.

Syntax

HRESULT GetPatVersionNumber(
    BYTE *pPatVersion
);

Parameters

pPatVersion

[out]  Pointer to a variable that receives the version_number field.

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