IMbnDeviceService::QuerySupportedCommands method (mbnapi.h)

Important

Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.

Gets the list of commands IDs supported by the Mobile Broadband device service.

Syntax

HRESULT QuerySupportedCommands(
  [out] ULONG *requestID
);

Parameters

[out] requestID

A unique request ID assigned by the Mobile Broadband service to identify this request.

Return value

The method can return one of the following values.

Return code Description
S_OK
The method completed successfully.
E_ACCESSDENIED
This device service command is not allowed for calling process privileges.
Other
An error was encountered when executing this method.

Remarks

QuerySupportedCommands enables the application to enumerate the list of command messages supported by a device service on the Mobile Broadband device.

This is an asynchronous operation and QuerySupportedCommands will return immediately. On completion of the operation, the Mobile Broadband service will call the OnQuerySupportedCommandsComplete method of the IMbnDeviceServicesEvents interface.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h

See also

IMbnDeviceService