IMbnDeviceServicesContext 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.

Allows for enumerating and retrieving Mobile Broadband device objects on the system.

Inheritance

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

Methods

The IMbnDeviceServicesContext interface has these methods.

 
IMbnDeviceServicesContext::EnumerateDeviceServices

Gets the list of supported device services by the Mobile Broadband device.
IMbnDeviceServicesContext::get_MaxCommandSize

The maximum length, in bytes, of data that can be associated with a device service SET or QUERY command.
IMbnDeviceServicesContext::get_MaxDataSize

The maximum length, in bytes, of data that can be written to or read from a device service session.
IMbnDeviceServicesContext::GetDeviceService

Gets the IMbnDeviceService object that can be used for communicating with a device service on the Mobile Broadband device.

Remarks

IMbnDeviceServicesContext objects are provided by a call to the GetDeviceServicesContext method of the IMbnDeviceServicesManager interface.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h