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