IMbnDeviceServicesEvents::OnSetCommandComplete method
Notification method indicating that a device service SET request has completed.
Syntax
HRESULT OnSetCommandComplete( [in] IMbnDeviceService *deviceService, [in] ULONG responseID, [in] SAFEARRAY(BYTE) deviceServiceData, [in] HRESULT status, [in] ULONG requestID );
Parameters
- deviceService [in]
-
The IMbnDeviceService object on which the operation was requested.
- responseID [in]
-
An identifier for the response.
- deviceServiceData [in]
-
A byte array containing the data returned by the device. If the response is fragmented across multiple indications, this only contains the information for one fragment. This field is valid only if the status is S_OK.
- status [in]
-
A status code that indicates the outcome of the operation.
- requestID [in]
-
The request ID that was assigned by the Mobile Broadband service to the set operation request.
Return value
The method must return the following value.
| Return code | Description |
|---|---|
|
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 |
|
See also