Notification for data being read from a device service data session.
HRESULT OnReadData( [in] IMbnDeviceService *deviceService, [in] SAFEARRAY(BYTE) deviceServiceData );
- deviceService [in]
The IMbnDeviceService session object on which the data was read.
- deviceServiceData [in]
A byte array containing the data read from the underlying device service session.
The method must return the following value.
The method completed successfully.
This byte array contains the byte-by-byte copy of data read from the device service session. The Mobile Broadband service will free the memory for this field after the function call returns. If an application wants to use this data then it should copy the contents in its own memory.
Minimum supported client
|Windows 8 [desktop apps | Windows Store apps]|
Minimum supported server