Condividi tramite


Metodo IPortableDeviceServiceCapabilities::GetFormatRenderingProfiles (portabledeviceapi.h)

Il metodo GetFormatRenderingProfiles recupera i profili di rendering di un formato.

Sintassi

HRESULT GetFormatRenderingProfiles(
  [in]  REFGUID                         Format,
  [out] IPortableDeviceValuesCollection **ppRenderingProfiles
);

Parametri

[in] Format

Formato i cui profili di rendering vengono recuperati.

[out] ppRenderingProfiles

Oggetto IPortableDeviceValuesCollection che riceve l'elenco dei profili di rendering.

Valore restituito

Se il metodo ha esito positivo, restituisce S_OK. Qualsiasi altro valore HRESULT indica che la chiamata non è riuscita.

Commenti

I profili di rendering sono simili a quanto restituito dall'oggetto funzionale WPD_FUNCTIONAL_CATEGORY_RENDERING_INFORMATION per i profili di rendering a livello di dispositivo, in modo che la funzione helper DisplayRenderingProfile descritta in Recupero delle funzionalità di rendering supportate da un dispositivo possa essere usata anche qui. Esistono tuttavia differenze: il metodo GetFormatRenderingProfiles recupera solo i profili di rendering che si applicano al servizio selezionato e sono stati filtrati in base al formato.

Requisiti

Requisito Valore
Client minimo supportato Windows 7 [app desktop | App UWP]
Server minimo supportato Nessuno supportato
Piattaforma di destinazione Windows
Intestazione portabledeviceapi.h

Vedi anche

Interfaccia IPortableDeviceServiceCapabilities