IMbnConnectionProfileManagerEvents interface (mbnapi.h)

Important

Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.

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

Inheritance

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

Methods

The IMbnConnectionProfileManagerEvents interface has these methods.

 
IMbnConnectionProfileManagerEvents::OnConnectionProfileArrival

Notification method that indicates a new connection profile has been added to the system.
IMbnConnectionProfileManagerEvents::OnConnectionProfileRemoval

Notification method that indicates a connection profile has been removed from the system.

Remarks

The following procedure describes how to register for notifications.

  1. Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnConnectionProfileManager object.
  2. Call FindConnectionPoint on the returned interface and pass IID_IMbnConnectionProfileManagerEvents to riid.
  3. Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnConnectionProfileManagerEvents 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

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h