Compartilhar via


IPortableDeviceCapabilities::GetSupportedCommands

banner art

Previous Next

IPortableDeviceCapabilities::GetSupportedCommands

The GetSupportedCommands method retrieves a list of all the supported commands for this device.

Syntax

  HRESULT GetSupportedCommands(
  IPortableDeviceKeyCollection**  ppCommands
);

Parameters

ppCommands

[out]  Address of a variable that receives a pointer to an IPortableDeviceKeyCollection interface that holds all the valid commands. For a list of commands that are defined by Windows Portable Devices, see Commands. The caller must release this interface when it is done with it.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

None.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next