Share via


ISectionList::GetProgramIdentifier Method

The GetProgramIdentifier method retrieves the program identifier (PID) of the packets that this object is receiving.

Syntax

HRESULT GetProgramIdentifier(
    PID *pPid
);

Parameters

  • pPid
    Receives the PID.

Return Value

The method returns an HRESULT. Possible values include those in the following table.

Return code Description

E_POINTER

NULL pointer argument.

S_OK

The method succeeded.

Remarks

The PID value is set when the object is first initialized.

Requirements

Header Declared in Mpeg2data.h.

See Also

ISectionList Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008