Share via


IWICPixelFormatInfo2::GetNumericRepresentation-Methode (wincodec.h)

Ruft die WICPixelFormatNumericRepresentation des Pixelformats ab.

Syntax

HRESULT GetNumericRepresentation(
  [out] WICPixelFormatNumericRepresentation *pNumericRepresentation
);

Parameter

[out] pNumericRepresentation

Typ: WICPixelFormatNumericRepresentation*

Die Adresse einer WICPixelFormatNumericRepresentation-Variable , die Sie definiert haben. Nach erfolgreicher Ausführung legt die Funktion Ihre Variable auf die WICPixelFormatNumericRepresentation des Pixelformats fest.

Rückgabewert

Typ: HRESULT

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

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile wincodec.h
DLL Windowscodecs.dll

Weitere Informationen

IWICPixelFormatInfo2