|Microsoft DirectX 9.0|
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.
HRESULT GetRecordProgramNumber( DWORD dwIndex, WORD *pwVal );
[in] Specifies the entry in the PAT that defines the program, indexed from zero.
[out] Pointer to a variable that receives the program_number field from the PAT.
The method returns an HRESULT value. Possible values include, but are not limited to, the values shown in the following table.