Compartilhar via


IMpeg2PsiParser::GetRecordProgramNumber

 
Microsoft DirectShow 9.0

IMpeg2PsiParser::GetRecordProgramNumber

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

The GetRecordProgramNumber method retrieves the program number for a specified program.

Syntax

  HRESULT GetRecordProgramNumber(
    DWORD dwIndex,
    WORD *pwVal
);

Parameters

dwIndex

[in]  Specifies the entry in the PAT that defines the program, indexed from zero.

pwVal

[out]  Pointer to a variable that receives the program_number field from the PAT.

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