|Microsoft DirectX 9.0|
The RegisterTIF method is called by the Transport Information Filter (TIF) to register itself with the Network Provider.
HRESULT RegisterTIF( IUnknown* pUnkTIF, ULONG* pvRegistrationContext );
[in] Pointer to the TIF's IUnknown interface.
[in, out] Pointer to a variable that receives an identifier. Use this value as the parameter to the IMPEG2_TIF_CONTROL::UnregisterTIF method.
The method returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
|E_NOINTERFACE||Could not find a necessary interface on the TIF.|
|VFW_E_ALREADY_CONNECTED||A TIF is already registered with the Network Provider.|
Call this method immediately after the TIF's input pin is connected to the Demux.