IMPEG2_TIF_CONTROL::RegisterTIF method (bdatif.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
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 *ppvRegistrationContext
);
Parameters
[in] pUnkTIF
Pointer to the TIF's IUnknown interface.
[in, out] ppvRegistrationContext
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 |
---|---|
|
The method succeeded. |
|
Invalid argument. |
|
Could not find a necessary interface on the TIF. |
|
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | bdatif.h |