IWICPixelFormatInfo::GetChannelCount-Methode (wincodec.h)
Ruft die Anzahl der Kanäle ab, die das Pixelformat enthält.
Syntax
HRESULT GetChannelCount(
[out] UINT *puiChannelCount
);
Parameter
[out] puiChannelCount
Typ: UINT*
Zeiger, der die Kanalanzahl empfängt.
Rückgabewert
Typ: HRESULT
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 XP mit SP2, Windows Vista [Desktop-Apps | UWP-Apps] |
Unterstützte Mindestversion (Server) | Windows Server 2008 [Desktop-Apps | UWP-Apps] |
Zielplattform | Windows |
Kopfzeile | wincodec.h |
Bibliothek | Windowscodecs.lib |