|Microsoft DirectX 9.0|
The UnmapPID method unmaps one or more PIDs.
HRESULT UnmapPID( ULONG culPID, ULONG* pulPID );
[in] Specifies the number of elements in the pulPID array.
[in] Pointer to an array of size culPID, allocated by the caller. Each element in the array contains a PID to be unmapped
Returns S_OK if successful. If the method fails, it returns an HRESULT error code.
On output pins for audio and video streams, there will typically be only one PID mapped at any given time. On an output pin such as one delivering the PSI stream to the Transport Information Filter, there may be multiple PIDs mapped to a single pin. Use the IEnumPIDMap methods to determine which PIDs are mapped to the pin, and then fill in the pulPID array with those values.