IMbnDeviceServicesManager 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.
Provides access to IMbnDeviceServicesContext objects and Mobile Broadband device service notifications.
Inheritance
The IMbnDeviceServicesManager interface inherits from the IUnknown interface. IMbnDeviceServicesManager also has these types of members:
Methods
The IMbnDeviceServicesManager interface has these methods.
IMbnDeviceServicesManager::GetDeviceServicesContext Gets the IMbnDeviceServicesContext interface for a specific Mobile Broadband device. |
Remarks
The following procedure describes how to register for notifications.
- Get an IConnectionPoint interface by calling QueryInterface on an IMbnDeviceServicesManager object.
- Call FindConnectionPoint on the returned interface and pass IID_IMbnDeviceServicesEvents to RIID.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnDeviceServicesEvents to PUNK.
Notifications can be terminated by calling Unadvise on the connection point returned in step 2.
For sample code that registers COM notifications, see the Client section of the COM Connection Points article.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |