Share via


IBDA_NetworkProvider::RegisterDeviceFilter Method

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 *pulRegisitrationContext
);

Parameters

  • pUnkFilterControl [in]
    Pointer to the filter's IUnknown interface.

  • pulRegisitrationContext [out]
    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

Header Declared in Bdaiface.h.

See Also

Error and Success Codes
IBDA_NetworkProvider Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008