IMbnDeviceServicesEvents::OnQuerySupportedCommandsComplete method

Notification method indicating that a query for the messages supported on a device service has completed.

Syntax


HRESULT OnQuerySupportedCommandsComplete(
  [in]  IMbnDeviceService *deviceService,
  [in]  SAFEARRAY(ULONG) commandIDList,
  [in]   HRESULT status,
  [in]  ULONG requestID
);

Parameters

deviceService [in]

The IMbnDeviceService object on which the query was requested.

commandIDList [in]

An array that contains the list of command IDs supported by the device service. 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 query operation request.

Return value

The method must return the following value.

Return codeDescription
S_OK

The method completed successfully.

 

Remarks

The Mobile Broadband service will free the memory for commandIDList 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 [desktop apps | Windows Store apps]

IDL

Mbnapi.idl

See also

IMbnDeviceServicesEvents

 

 

Community Additions

ADD
Show:
© 2014 Microsoft