Microsoft DirectX 9.0

IMPEG2_TIF_CONTROL::AddPIDs

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

Syntax

HRESULT AddPIDs(
  ULONG  ulcPIDs,
  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 Values

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.

See Also