IMPEG2_TIF_CONTROL::RegisterTIF Method
The RegisterTIF method is called by the Transport Information Filter (TIF) to register itself with the Network Provider.
Syntax
HRESULT RegisterTIF(
[in] IUnknown *pUnkTIF,
[in, out] 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 Value
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 | Declared in Bdatif.h. |
See Also
Error and Success Codes
IMPEG2_TIF_CONTROL Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008