Microsoft DirectX 8.1 (C++)

IMPEG2Component::get_ProgramNumber

The get_ProgramNumber method gets the program number, which provides a reverse lookup to PAT.

Syntax

HRESULT get_ProgramNumber(
    short* pProgramNumber
    );

Parameters

pProgramNumber

[out] Pointer to a variable of type short that receives the program number.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

See Also