Metodo IPortableDeviceServiceCapabilities::GetCommandOptions (portabledeviceapi.h)
Il metodo GetCommandOptions recupera le opzioni di un comando WPD.
Sintassi
HRESULT GetCommandOptions(
[in] REFPROPERTYKEY Command,
[out] IPortableDeviceValues **ppOptions
);
Parametri
[in] Command
Comando le cui opzioni vengono recuperate.
[out] ppOptions
Interfaccia IPortableDeviceValues che riceve l'elenco delle opzioni.
Valore restituito
Se il metodo ha esito positivo, restituisce S_OK. Qualsiasi altro valore HRESULT indica che la chiamata non è riuscita.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Windows 7 [app desktop | App UWP] |
Server minimo supportato | Nessuno supportato |
Piattaforma di destinazione | Windows |
Intestazione | portabledeviceapi.h |