Share via


IMPEG2_TIF_CONTROL::AddPIDs Method

The AddPIDs method tells the Network Provider which PIDs the TIF should receive.

Syntax

HRESULT AddPIDs(
  [in]  ULONG ulcPIDs,
  [in]  ULONG *pulPIDs
);

Parameters

  • ulcPIDs [in]
    Specifies the number of PIDs to add. This value must be equal to the number of elements in the array specified by pulPIDs.

  • pulPIDs [in]
    Specifies an array of PID values to add. The array must contain ulcPIDs elements.

Return Value

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

Return code Description

S_OK

The method succeeded.

Remarks

Only the TIF knows which table sections it requires. It uses this method to tell the Network Provider the PIDs for the packets that contain those tables. The Network Provider forwards the information to the Demux, which immediately begins routing packets with the specified PIDs to the TIF.

Requirements

Header Declared in Bdatif.h.

See Also

Error and Success Codes
IMPEG2_TIF_CONTROL Interface
IMPEG2_TIF_CONTROL::GetPIDs

Send comments about this topic to Microsoft

Build date: 12/4/2008