Share via


IBDA_NetworkProvider::RegisterDeviceFilter method (bdaiface.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 RegisterDeviceFilter method is called by a BDA device filter to register itself in the filter graph.

Syntax

HRESULT RegisterDeviceFilter(
  [in]  IUnknown *pUnkFilterControl,
  [out] ULONG    *ppvRegisitrationContext
);

Parameters

[in] pUnkFilterControl

Pointer to the filter's IUnknown interface.

[out] ppvRegisitrationContext

Pointer that receives the registration context. The filter should store this value and return it in the call to UnRegisterDeviceFilter.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

   
Target Platform Windows
Header bdaiface.h

See also

Error and Success Codes

IBDA_NetworkProvider Interface