Share via


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
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

Requirement Value
Target Platform Windows
Header bdatif.h

See also

Error and Success Codes

IMPEG2_TIF_CONTROL Interface