IMbnDeviceServicesEvents interface
Signals an application about notification events related to Mobile Broadband device services on the system.
Members
The IMbnDeviceServicesEvents interface inherits from the IUnknown interface. IMbnDeviceServicesEvents also has these types of members:
Methods
The IMbnDeviceServicesEvents interface has these methods.
| Method | Description |
|---|---|
| OnCloseCommandSessionComplete |
Notification method indicating that a device service CloseCommandSession request has completed. |
| OnCloseDataSessionComplete |
Notification method indicating that a device service session CloseDataSession request has completed. |
| OnEventNotification |
Notification method signaling a device service state change event from the Mobile Broadband device. |
| OnInterfaceStateChange |
Notification method that signals a change in the state of device services on the system. |
| OnOpenCommandSessionComplete |
Notification method indicating that a device service CommandSessionOpen request has completed. |
| OnOpenDataSessionComplete |
Notification method indicating that a device service OpenDataSession request has completed. |
| OnQueryCommandComplete |
Notification method indicating that a device service QUERY request has completed. |
| OnQuerySupportedCommandsComplete |
Notification method indicating that a query for the messages supported on a device service has completed. |
| OnReadData |
Notification for data being read from a device service data session. |
| OnSetCommandComplete |
Notification method indicating that a device service SET request has completed. |
| OnWriteDataComplete |
Notification method indicating that a device service session Write request has completed. |
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.
To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|