IMbnConnectionManagerEvents interface (mbnapi.h)
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 IMbnConnection interfaces in the system.
The IMbnConnectionManagerEvents interface inherits from the IUnknown interface. IMbnConnectionManagerEvents also has these types of members:
The IMbnConnectionManagerEvents interface has these methods.
Notification method that indicates a new connection was added to the system.
Notification method that indicates a connection was removed from the system.
The following procedure describes how to register for notifications.
- Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnConnectionManager object.
- Call FindConnectionPoint on the returned interface and pass IID_IMbnConnectionManagerEvents to riid.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnConnectionManagerEvents to pUnk.
To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.
|Minimum supported client||Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||None supported|