IPortableDeviceServiceCapabilities::GetCommandOptions method

The GetCommandOptions method retrieves the options of a WPD command.

Syntax


HRESULT STDMETHODCALLTYPE GetCommandOptions(
  [in]  REFPROPERTYKEY        Command,
  [out] IPortableDeviceValues **ppOptions
);

Parameters

Command [in]

The command whose options are retrieved.

ppOptions [out]

The IPortableDeviceValues interface that receives the list of options.

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: