Expand Minimize

IMbnInterfaceManagerEvents interface

This notification interface signals an application about the arrival and removal of devices in the system.

Members

The IMbnInterfaceManagerEvents interface inherits from the IUnknown interface. IMbnInterfaceManagerEvents also has these types of members:

Methods

The IMbnInterfaceManagerEvents interface has these methods.

MethodDescription
OnInterfaceArrival

A new device was added to the system.

OnInterfaceRemoval

A device was removed from the system.

 

Remarks

The following procedure describes how to register for notifications.

  1. Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
  2. Call FindConnectionPoint on the returned interface and pass IID_IMbnInterfaceManagerEvents to riid.
  3. Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnInterfaceManagerEvents to pUnk.

Notifications can be terminated by calling Unadvise on the connection point returned in step 2.

To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

IDL

Mbnapi.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft