Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnDeviceServicesEvents::OnEventNotification method

Notification method signaling a device service state change event from the Mobile Broadband device.

Syntax


HRESULT OnEventNotification(
  [in]  IMbnDeviceService *deviceService,
  [in] ULONG              eventID,
  [in] SAFEARRAY(BYTE)    deviceServiceData
);

Parameters

deviceService [in]

The IMbnDeviceService object for which the event notification was received.

eventID [in]

An identifier for the event.

deviceServiceData [in]

A byte array containing the data returned by underlying device.

Return value

The method must return the following value.

Return codeDescription
S_OK

The method completed successfully.

 

Remarks

The deviceServiceData byte array contains the byte-by-byte copy of data returned by the device. The Mobile Broadband service will free the memory after the function call returns. If an application wants to use this data then it should copy the contents in its own memory.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnDeviceServicesEvents

 

 

Show:
© 2017 Microsoft