WICPixelFormatNumericRepresentation 列舉 (wincodec.h)

定義常數,指定 WIC 像素格式數值表示的基本類型。

Syntax

typedef enum WICPixelFormatNumericRepresentation {
  WICPixelFormatNumericRepresentationUnspecified = 0,
  WICPixelFormatNumericRepresentationIndexed = 0x1,
  WICPixelFormatNumericRepresentationUnsignedInteger = 0x2,
  WICPixelFormatNumericRepresentationSignedInteger = 0x3,
  WICPixelFormatNumericRepresentationFixed = 0x4,
  WICPixelFormatNumericRepresentationFloat = 0x5,
  WICPixelFormatNumericRepresentation_FORCE_DWORD = 0x7fffffff
} ;

常數

 
WICPixelFormatNumericRepresentationUnspecified
值: 0
未指定格式。
WICPixelFormatNumericRepresentationIndexed
值: 0x1
指定格式已編製索引。
WICPixelFormatNumericRepresentationUnsignedInteger
值: 0x2
指定格式以不帶正負號的整數表示。
WICPixelFormatNumericRepresentationSignedInteger
值: 0x3
指定格式以帶正負號的整數表示。
WICPixelFormatNumericRepresentationFixed
值: 0x4
指定格式以固定點數表示。
WICPixelFormatNumericRepresentationFloat
值: 0x5
指定格式以浮點數表示。
WICPixelFormatNumericRepresentation_FORCE_DWORD
值: 0x7fffffff
這個常數包含最大 DWORD 值。

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
標頭 wincodec.h