IPortableDeviceServiceCapabilities::GetSupportedCommands method (portabledeviceapi.h)

The GetSupportedCommands method retrieves the commands supported by the service.

Syntax

HRESULT GetSupportedCommands(
  [out] IPortableDeviceKeyCollection **ppCommands
);

Parameters

[out] ppCommands

The IPortableDeviceKeyCollection interface that receives the list of commands.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.

Requirements

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

See also

IPortableDeviceServiceCapabilities Interface