IMbnDeviceService 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 communicating with a device service on a particular Mobile Broadband device.

Inheritance

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

Methods

The IMbnDeviceService interface has these methods.

 
IMbnDeviceService::CloseCommandSession

Closes a command session to a device service on a Mobile Broadband device.
IMbnDeviceService::CloseDataSession

Closes the data session to a device service on a Mobile Broadband device.
IMbnDeviceService::get_DeviceServiceID

The ID of the device service to which this object is associated.
IMbnDeviceService::get_InterfaceID

The interface ID of the Mobile Broadband device to which this object is associated.
IMbnDeviceService::get_IsCommandSessionOpen

Reports if the device service command session is open.
IMbnDeviceService::get_IsDataSessionOpen

Reports if the device service data session is open.
IMbnDeviceService::OpenCommandSession

Opens a command session to a device service on a Mobile Broadband device.
IMbnDeviceService::OpenDataSession

Open a data session to the device service on a Mobile Broadband device.
IMbnDeviceService::QueryCommand

Sends a QUERY control command to the device service of a Mobile Broadband device.
IMbnDeviceService::QuerySupportedCommands

Gets the list of commands IDs supported by the Mobile Broadband device service.
IMbnDeviceService::SetCommand

Sends a SET control command to the device service of a Mobile Broadband device.
IMbnDeviceService::WriteData

Write data to a device service data session.

Remarks

IMbnDeviceService objects are provided by a call to the GetDeviceService method of the IMbnDeviceServicesContext interface.

Requirements

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