ID3D11VideoDevice::GetVideoDecoderProfile-Methode (d3d11.h)

Ruft ein Profil ab, das vom Treiber unterstützt wird.

Syntax

HRESULT GetVideoDecoderProfile(
  [in]  UINT Index,
  [out] GUID *pDecoderProfile
);

Parameter

[in] Index

Der nullbasierte Index des Profils. Rufen Sie ID3D11VideoDevice::GetVideoDecoderProfileCount auf, um die Anzahl der Vom Treiber unterstützten Profile abzurufen.

[out] pDecoderProfile

Empfängt eine GUID, die das Profil identifiziert.

Rückgabewert

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 8 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile d3d11.h

Weitere Informationen

ID3D11VideoDevice