IMbnConnectionManager 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.
Provides access to IMbnConnection objects and connection notifications.
The IMbnConnectionManager interface inherits from the IUnknown interface. IMbnConnectionManager also has these types of members:
The IMbnConnectionManager interface has these methods.
Gets a connection.
Gets a list of available connections.
This interface can be used to access the following notification interfaces.
|Notification Sink to Register||IID|
An application can obtain this interface by calling CoCreateInstance with a class id of CLSID_IMbnConnectionManager.
The following procedure describes how to register for notifications.
- Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnConnectionManager object.
- For each notification sink to register, call FindConnectionPoint on the returned interface and pass IID corresponding to the notification sink to riid.
- For each connection point returned by step 2, call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements the matching notification interface 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|