IPortableDeviceServiceCapabilities::GetSupportedCommands method

The GetSupportedCommands method retrieves the commands supported by the service.

Syntax


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

Parameters

ppCommands [out]

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

IPortableDeviceServiceCapabilities Interface

 

 

Community Additions

ADD
Show: