Share via


IPortableDeviceServiceCapabilities::GetSupportedFormats-Methode (portabledeviceapi.h)

Die GetSupportedFormats-Methode ruft die vom Dienst unterstützten Formate ab.

Syntax

HRESULT GetSupportedFormats(
  [out] IPortableDevicePropVariantCollection **ppFormats
);

Parameter

[out] ppFormats

Die IPortableDevicePropVariantCollection-Schnittstelle , die die Liste der Formate empfängt.

Rückgabewert

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Jeder andere HRESULT-Wert gibt an, dass der Aufruf fehlgeschlagen ist.

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 7 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Nicht unterstützt
Zielplattform Windows
Kopfzeile portabledeviceapi.h

Weitere Informationen

IPortableDeviceServiceCapabilities-Schnittstelle

Abrufen unterstützter Dienstformate