ReactOS  0.4.13-dev-1089-g05f0b08
wincodec.idl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WICRect
 
struct  WICBitmapPattern
 
interface  IWICColorContext
 
interface  IWICBitmapSource
 
interface  IWICBitmapLock
 
interface  IWICBitmapFlipRotator
 
interface  IWICBitmap
 
interface  IWICPalette
 
interface  IWICComponentInfo
 
interface  IWICMetadataQueryReader
 
interface  IWICMetadataQueryWriter
 
interface  IWICBitmapFrameDecode
 
interface  IWICPixelFormatInfo
 
interface  IWICPixelFormatInfo2
 
interface  IWICBitmapCodecInfo
 
interface  IWICBitmapDecoderInfo
 
interface  IWICBitmapDecoder
 
interface  IWICBitmapFrameEncode
 
interface  IWICBitmapEncoderInfo
 
interface  IWICBitmapEncoder
 
interface  IWICFormatConverter
 
interface  IWICFormatConverterInfo
 
interface  IWICStream
 
interface  IWICBitmapScaler
 
interface  IWICBitmapClipper
 
interface  IWICColorTransform
 
interface  IWICFastMetadataEncoder
 
interface  IWICImagingFactory
 
interface  IWICImagingFactory2
 
interface  IWICEnumMetadataItem
 

Macros

#define CODEC_FORCE_DWORD   0x7fffffff
 

Typedefs

typedef enum WICDecodeOptions WICDecodeOptions
 
typedef enum WICBitmapCreateCacheOption WICBitmapCreateCacheOption
 
typedef enum WICBitmapAlphaChannelOption WICBitmapAlphaChannelOption
 
typedef enum WICBitmapDecoderCapabilities WICBitmapDecoderCapabilities
 
typedef enum WICBitmapDitherType WICBitmapDitherType
 
typedef enum WICBitmapEncoderCacheOption WICBitmapEncoderCacheOption
 
typedef enum WICBitmapInterpolationMode WICBitmapInterpolationMode
 
typedef enum WICBitmapLockFlags WICBitmapLockFlags
 
typedef enum WICBitmapPaletteType WICBitmapPaletteType
 
typedef enum WICBitmapTransformOptions WICBitmapTransformOptions
 
typedef enum WICColorContextType WICColorContextType
 
typedef enum WICComponentType WICComponentType
 
typedef enum WICComponentSigning WICComponentSigning
 
typedef enum WICComponentEnumerateOptions WICComponentEnumerateOptions
 
typedef enum WICJpegYCrCbSubsamplingOption WICJpegYCrCbSubsamplingOption
 
typedef enum WICPixelFormatNumericRepresentation WICPixelFormatNumericRepresentation
 
typedef enum WICTiffCompressionOption WICTiffCompressionOption
 
typedef enum WICPngFilterOption WICPngFilterOption
 
typedef enum WICSectionAccessLevel WICSectionAccessLevel
 
typedef GUID WICPixelFormatGUID
 
typedef REFGUID REFWICPixelFormatGUID
 
typedef struct WICRect WICRect
 
typedef struct WICBitmapPattern WICBitmapPattern
 
typedef UINT32 WICColor
 

Enumerations

enum  WICDecodeOptions { WICDecodeMetadataCacheOnDemand = 0x00000000, WICDecodeMetadataCacheOnLoad = 0x00000001, WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD }
 
enum  WICBitmapCreateCacheOption { WICBitmapNoCache = 0x00000000, WICBitmapCacheOnDemand = 0x00000001, WICBitmapCacheOnLoad = 0x00000002, WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD }
 
enum  WICBitmapAlphaChannelOption { WICBitmapUseAlpha = 0x00000000, WICBitmapUsePremultipliedAlpha = 0x00000001, WICBitmapIgnoreAlpha = 0x00000002, WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD }
 
enum  WICBitmapDecoderCapabilities {
  WICBitmapDecoderCapabilitySameEncoder = 0x00000001, WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002, WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004, WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008,
  WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010
}
 
enum  WICBitmapDitherType {
  WICBitmapDitherTypeNone = 0x00000000, WICBitmapDitherTypeSolid = 0x00000000, WICBitmapDitherTypeOrdered4x4 = 0x00000001, WICBitmapDitherTypeOrdered8x8 = 0x00000002,
  WICBitmapDitherTypeOrdered16x16 = 0x00000003, WICBitmapDitherTypeSpiral4x4 = 0x00000004, WICBitmapDitherTypeSpiral8x8 = 0x00000005, WICBitmapDitherTypeDualSpiral4x4 = 0x00000006,
  WICBitmapDitherTypeDualSpiral8x8 = 0x00000007, WICBitmapDitherTypeErrorDiffusion = 0x00000008, WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICBitmapEncoderCacheOption { WICBitmapEncoderCacheInMemory = 0x00000000, WICBitmapEncoderCacheTempFile = 0x00000001, WICBitmapEncoderNoCache = 0x00000002, WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD }
 
enum  WICBitmapInterpolationMode {
  WICBitmapInterpolationModeNearestNeighbor = 0x00000000, WICBitmapInterpolationModeLinear = 0x00000001, WICBitmapInterpolationModeCubic = 0x00000002, WICBitmapInterpolationModeFant = 0x00000003,
  WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICBitmapLockFlags { WICBitmapLockRead = 0x00000001, WICBitmapLockWrite = 0x00000002, WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD }
 
enum  WICBitmapPaletteType {
  WICBitmapPaletteTypeCustom = 0x00000000, WICBitmapPaletteTypeMedianCut = 0x00000001, WICBitmapPaletteTypeFixedBW = 0x00000002, WICBitmapPaletteTypeFixedHalftone8 = 0x00000003,
  WICBitmapPaletteTypeFixedHalftone27 = 0x00000004, WICBitmapPaletteTypeFixedHalftone64 = 0x00000005, WICBitmapPaletteTypeFixedHalftone125 = 0x00000006, WICBitmapPaletteTypeFixedHalftone216 = 0x00000007,
  WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216, WICBitmapPaletteTypeFixedHalftone252 = 0x00000008, WICBitmapPaletteTypeFixedHalftone256 = 0x00000009, WICBitmapPaletteTypeFixedGray4 = 0x0000000A,
  WICBitmapPaletteTypeFixedGray16 = 0x0000000B, WICBitmapPaletteTypeFixedGray256 = 0x0000000C, WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICBitmapTransformOptions {
  WICBitmapTransformRotate0 = 0x00000000, WICBitmapTransformRotate90 = 0x00000001, WICBitmapTransformRotate180 = 0x00000002, WICBitmapTransformRotate270 = 0x00000003,
  WICBitmapTransformFlipHorizontal = 0x00000008, WICBitmapTransformFlipVertical = 0x00000010, WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICColorContextType { WICColorContextUninitialized = 0x00000000, WICColorContextProfile = 0x00000001, WICColorContextExifColorSpace = 0x00000002 }
 
enum  WICComponentType {
  WICDecoder = 0x00000001, WICEncoder = 0x00000002, WICPixelFormatConverter = 0x00000004, WICMetadataReader = 0x00000008,
  WICMetadataWriter = 0x00000010, WICPixelFormat = 0x00000020, WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICComponentSigning { WICComponentSigned = 0x00000001, WICComponentUnsigned = 0x00000002, WICComponentSafe = 0x00000004, WICComponentDisabled = 0x80000000 }
 
enum  WICComponentEnumerateOptions {
  WICComponentEnumerateDefault = 0x00000000, WICComponentEnumerateRefresh = 0x00000001, WICComponentEnumerateBuiltInOnly = 0x20000000, WICComponentEnumerateUnsigned = 0x40000000,
  WICComponentEnumerateDisabled = 0x80000000
}
 
enum  WICJpegYCrCbSubsamplingOption {
  WICJpegYCrCbSubsamplingDefault = 0x00000000, WICJpegYCrCbSubsampling420 = 0x00000001, WICJpegYCrCbSubsampling422 = 0x00000002, WICJpegYCrCbSubsampling444 = 0x00000003,
  WICJpegYCrCbSubsampling440 = 0x00000004
}
 
enum  WICPixelFormatNumericRepresentation {
  WICPixelFormatNumericRepresentationUnspecified = 0x00000000, WICPixelFormatNumericRepresentationIndexed = 0x00000001, WICPixelFormatNumericRepresentationUnsignedInteger = 0x00000002, WICPixelFormatNumericRepresentationSignedInteger = 0x00000003,
  WICPixelFormatNumericRepresentationFixed = 0x00000004, WICPixelFormatNumericRepresentationFloat = 0x00000005, WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICTiffCompressionOption {
  WICTiffCompressionDontCare = 0x00000000, WICTiffCompressionNone = 0x00000001, WICTiffCompressionCCITT3 = 0x00000002, WICTiffCompressionCCITT4 = 0x00000003,
  WICTiffCompressionLZW = 0x00000004, WICTiffCompressionRLE = 0x00000005, WICTiffCompressionZIP = 0x00000006, WICTiffCompressionLZWHDifferencing = 0x00000007,
  WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICPngFilterOption {
  WICPngFilterUnspecified = 0, WICPngFilterNone = 1, WICPngFilterSub = 2, WICPngFilterUp = 3,
  WICPngFilterAverage = 4, WICPngFilterPaeth = 5, WICPngFilterAdaptive = 6, WICPNFFILTEROPTION_FORCE_DWORD = CODEC_FORCE_DWORD
}
 
enum  WICSectionAccessLevel { WICSectionAccessLevelRead = 0x00000001, WICSectionAccessLevelReadWrite = 0x00000003, WICSectionAccessLevel_FORCE_DWORD = CODEC_FORCE_DWORD }
 

Functions

 DEFINE_GUID (GUID_WICPixelFormatDontCare, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x00)
 
GUID_WICPixelFormatUndefined DEFINE_GUID (GUID_WICPixelFormat1bppIndexed, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x01)
 
 DEFINE_GUID (GUID_WICPixelFormat2bppIndexed, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x02)
 
 DEFINE_GUID (GUID_WICPixelFormat4bppIndexed, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x03)
 
 DEFINE_GUID (GUID_WICPixelFormat8bppIndexed, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x04)
 
 DEFINE_GUID (GUID_WICPixelFormatBlackWhite, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x05)
 
 DEFINE_GUID (GUID_WICPixelFormat2bppGray, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x06)
 
 DEFINE_GUID (GUID_WICPixelFormat4bppGray, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x07)
 
 DEFINE_GUID (GUID_WICPixelFormat8bppGray, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x08)
 
 DEFINE_GUID (GUID_WICPixelFormat16bppGray, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0b)
 
 DEFINE_GUID (GUID_WICPixelFormat16bppBGR555, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x09)
 
 DEFINE_GUID (GUID_WICPixelFormat16bppBGR565, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0a)
 
 DEFINE_GUID (GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b, 0xf1e6, 0x4961, 0xad, 0x46, 0xe1, 0xcc, 0x81, 0x0a, 0x87, 0xd2)
 
 DEFINE_GUID (GUID_WICPixelFormat24bppBGR, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0c)
 
 DEFINE_GUID (GUID_WICPixelFormat24bppRGB, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0d)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppBGR, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0e)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppBGRA, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x0f)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppPBGRA, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x10)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppRGB, 0xd98c6b95, 0x3efe, 0x47d6, 0xbb, 0x25, 0xeb, 0x17, 0x48, 0xab, 0x0c, 0xf1)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d, 0x6a8d, 0x43dd, 0xa7, 0xa8, 0xa2, 0x99, 0x35, 0x26, 0x1a, 0xe9)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650, 0xa527, 0x4d37, 0xa9, 0x16, 0x31, 0x42, 0xc7, 0xeb, 0xed, 0xba)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x11)
 
 DEFINE_GUID (GUID_WICPixelFormat48bppRGB, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x15)
 
 DEFINE_GUID (GUID_WICPixelFormat64bppRGBA, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x16)
 
 DEFINE_GUID (GUID_WICPixelFormat64bppPRGBA, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x17)
 
 DEFINE_GUID (GUID_WICPixelFormat128bppRGBAFloat, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x19)
 
 DEFINE_GUID (GUID_WICPixelFormat32bppCMYK, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x1c)
 
 DEFINE_GUID (GUID_WICPixelFormat64bppCMYK, 0x6fddc324, 0x4e03, 0x4bfe, 0xb1, 0x85, 0x3d, 0x77, 0x76, 0x8d, 0xc9, 0x1f)
 
 DEFINE_GUID (CLSID_WICImagingFactory, 0xcacaf262, 0x9370, 0x4615, 0xa1, 0x3b, 0x9f, 0x55, 0x39, 0xda, 0x4c, 0x0a)
 
 DEFINE_GUID (CLSID_WICImagingFactory1, 0xcacaf262, 0x9370, 0x4615, 0xa1, 0x3b, 0x9f, 0x55, 0x39, 0xda, 0x4c, 0x0a)
 
 DEFINE_GUID (CLSID_WICImagingFactory2, 0x317d06e8, 0x5f24, 0x433d, 0xbd, 0xf7, 0x79, 0xce, 0x68, 0xd8, 0xab, 0xc2)
 
HRESULT WINAPI WICConvertBitmapSource (REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst)
 
HRESULT WINAPI WICCreateBitmapFromSection (UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap)
 
HRESULT WINAPI WICCreateBitmapFromSectionEx (UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap)
 
HRESULT WINAPI WICMapGuidToShortName (REFGUID, UINT, WCHAR *, UINT *)
 
HRESULT WINAPI WICMapShortNameToGuid (PCWSTR, GUID *)
 
HRESULT WINAPI WICMapSchemaToName (REFGUID, LPWSTR, UINT, WCHAR *, UINT *)
 
 DEFINE_GUID (CLSID_WICBmpDecoder, 0x6b462062, 0x7cbf, 0x400d, 0x9f, 0xdb, 0x81, 0x3d, 0xd1, 0x0f, 0x27, 0x78)
 
 DEFINE_GUID (CLSID_WICPngDecoder, 0x389ea17b, 0x5078, 0x4cde, 0xb6, 0xef, 0x25, 0xc1, 0x51, 0x75, 0xc7, 0x51)
 
 DEFINE_GUID (CLSID_WICIcoDecoder, 0xc61bfcdf, 0x2e0f, 0x4aad, 0xa8, 0xd7, 0xe0, 0x6b, 0xaf, 0xeb, 0xcd, 0xfe)
 
 DEFINE_GUID (CLSID_WICJpegDecoder, 0x9456a480, 0xe88b, 0x43ea, 0x9e, 0x73, 0x0b, 0x2d, 0x9b, 0x71, 0xb1, 0xca)
 
 DEFINE_GUID (CLSID_WICGifDecoder, 0x381dda3c, 0x9ce9, 0x4834, 0xa2, 0x3e, 0x1f, 0x98, 0xf8, 0xfc, 0x52, 0xbe)
 
 DEFINE_GUID (CLSID_WICTiffDecoder, 0xb54e85d9, 0xfe23, 0x499f, 0x8b, 0x88, 0x6a, 0xce, 0xa7, 0x13, 0x75, 0x2b)
 
 DEFINE_GUID (CLSID_WICWmpDecoder, 0xa26cec36, 0x234c, 0x4950, 0xae, 0x16, 0xe3, 0x4a, 0xac, 0xe7, 0x1d, 0x0d)
 
 DEFINE_GUID (CLSID_WICBmpEncoder, 0x69be8bb4, 0xd66d, 0x47c8, 0x86, 0x5a, 0xed, 0x15, 0x89, 0x43, 0x37, 0x82)
 
 DEFINE_GUID (CLSID_WICPngEncoder, 0x27949969, 0x876a, 0x41d7, 0x94, 0x47, 0x56, 0x8f, 0x6a, 0x35, 0xa4, 0xdc)
 
 DEFINE_GUID (CLSID_WICJpegEncoder, 0x1a34f5c1, 0x4a5a, 0x46dc, 0xb6, 0x44, 0x1f, 0x45, 0x67, 0xe7, 0xa6, 0x76)
 
 DEFINE_GUID (CLSID_WICGifEncoder, 0x114f5598, 0x0b22, 0x40a0, 0x86, 0xa1, 0xc8, 0x3e, 0xa4, 0x95, 0xad, 0xbd)
 
 DEFINE_GUID (CLSID_WICTiffEncoder, 0x0131be10, 0x2001, 0x4c5f, 0xa9, 0xb0, 0xcc, 0x88, 0xfa, 0xb6, 0x4c, 0xe8)
 
 DEFINE_GUID (CLSID_WICWmpEncoder, 0xac4ce3cb, 0xe1c1, 0x44cd, 0x82, 0x15, 0x5a, 0x16, 0x65, 0x50, 0x9e, 0xc2)
 
 DEFINE_GUID (CLSID_WICDefaultFormatConverter, 0x1a3f11dc, 0xb514, 0x4b17, 0x8c, 0x5f, 0x21, 0x54, 0x51, 0x38, 0x52, 0xf1)
 
 DEFINE_GUID (GUID_ContainerFormatBmp, 0x0af1d87e, 0xfcfe, 0x4188, 0xbd, 0xeb, 0xa7, 0x90, 0x64, 0x71, 0xcb, 0xe3)
 
 DEFINE_GUID (GUID_ContainerFormatPng, 0x1b7cfaf4, 0x713f, 0x473c, 0xbb, 0xcd, 0x61, 0x37, 0x42, 0x5f, 0xae, 0xaf)
 
 DEFINE_GUID (GUID_ContainerFormatIco, 0xa3a860c4, 0x338f, 0x4c17, 0x91, 0x9a, 0xfb, 0xa4, 0xb5, 0x62, 0x8f, 0x21)
 
 DEFINE_GUID (GUID_ContainerFormatJpeg, 0x19e4a5aa, 0x5662, 0x4fc5, 0xa0, 0xc0, 0x17, 0x58, 0x02, 0x8e, 0x10, 0x57)
 
 DEFINE_GUID (GUID_ContainerFormatTiff, 0x163bcc30, 0xe2e9, 0x4f0b, 0x96, 0x1d, 0xa3, 0xe9, 0xfd, 0xb7, 0x88, 0xa3)
 
 DEFINE_GUID (GUID_ContainerFormatGif, 0x1f8a5601, 0x7d4d, 0x4cbd, 0x9c, 0x82, 0x1b, 0xc8, 0xd4, 0xee, 0xb9, 0xa5)
 
 DEFINE_GUID (GUID_ContainerFormatWmp, 0x57a37caa, 0x367a, 0x4540, 0x91, 0x6b, 0xf1, 0x83, 0xc5, 0x09, 0x3a, 0x4b)
 
 DEFINE_GUID (GUID_VendorMicrosoft, 0xf0e749ca, 0xedef, 0x4589, 0xa7, 0x3a, 0xee, 0x0e, 0x62, 0x6a, 0x2a, 0x2b)
 
 DEFINE_GUID (CLSID_WICImagingCategories, 0xfae3d380, 0xfea4, 0x4623, 0x8c, 0x75, 0xc6, 0xb6, 0x11, 0x10, 0xb6, 0x81)
 
 DEFINE_GUID (CATID_WICBitmapDecoders, 0x7ed96837, 0x96f0, 0x4812, 0xb2, 0x11, 0xf1, 0x3c, 0x24, 0x11, 0x7e, 0xd3)
 
 DEFINE_GUID (CATID_WICBitmapEncoders, 0xac757296, 0x3522, 0x4e11, 0x98, 0x62, 0xc1, 0x7b, 0xe5, 0xa1, 0x76, 0x7e)
 
 DEFINE_GUID (CATID_WICFormatConverters, 0x7835eae8, 0xbf14, 0x49d1, 0x93, 0xce, 0x53, 0x3a, 0x40, 0x7b, 0x22, 0x48)
 
 DEFINE_GUID (CATID_WICMetadataReader, 0x05af94d8, 0x7174, 0x4cd2, 0xbe, 0x4a, 0x41, 0x24, 0xb8, 0x0e, 0xe4, 0xb8)
 
 DEFINE_GUID (CATID_WICPixelFormats, 0x2b46e70f, 0xcda7, 0x473e, 0x89, 0xf6, 0xdc, 0x96, 0x30, 0xa2, 0x39, 0x0b)
 

Macro Definition Documentation

◆ CODEC_FORCE_DWORD

#define CODEC_FORCE_DWORD   0x7fffffff

Definition at line 25 of file wincodec.idl.

Typedef Documentation

◆ REFWICPixelFormatGUID

Definition at line 197 of file wincodec.idl.

◆ WICBitmapAlphaChannelOption

◆ WICBitmapCreateCacheOption

◆ WICBitmapDecoderCapabilities

◆ WICBitmapDitherType

◆ WICBitmapEncoderCacheOption

◆ WICBitmapInterpolationMode

◆ WICBitmapLockFlags

◆ WICBitmapPaletteType

◆ WICBitmapPattern

◆ WICBitmapTransformOptions

◆ WICColor

typedef UINT32 WICColor

Definition at line 250 of file wincodec.idl.

◆ WICColorContextType

◆ WICComponentEnumerateOptions

◆ WICComponentSigning

◆ WICComponentType

◆ WICDecodeOptions

◆ WICJpegYCrCbSubsamplingOption

◆ WICPixelFormatGUID

Definition at line 196 of file wincodec.idl.

◆ WICPixelFormatNumericRepresentation

◆ WICPngFilterOption

◆ WICRect

◆ WICSectionAccessLevel

◆ WICTiffCompressionOption

Enumeration Type Documentation

◆ WICBitmapAlphaChannelOption

Enumerator
WICBitmapUseAlpha 
WICBitmapUsePremultipliedAlpha 
WICBitmapIgnoreAlpha 
WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD 

Definition at line 40 of file wincodec.idl.

◆ WICBitmapCreateCacheOption

Enumerator
WICBitmapNoCache 
WICBitmapCacheOnDemand 
WICBitmapCacheOnLoad 
WICBITMAPCREATECACHEOPTION_FORCE_DWORD 

Definition at line 33 of file wincodec.idl.

◆ WICBitmapDecoderCapabilities

Enumerator
WICBitmapDecoderCapabilitySameEncoder 
WICBitmapDecoderCapabilityCanDecodeAllImages 
WICBitmapDecoderCapabilityCanDecodeSomeImages 
WICBitmapDecoderCapabilityCanEnumerateMetadata 
WICBitmapDecoderCapabilityCanDecodeThumbnail 

Definition at line 47 of file wincodec.idl.

◆ WICBitmapDitherType

Enumerator
WICBitmapDitherTypeNone 
WICBitmapDitherTypeSolid 
WICBitmapDitherTypeOrdered4x4 
WICBitmapDitherTypeOrdered8x8 
WICBitmapDitherTypeOrdered16x16 
WICBitmapDitherTypeSpiral4x4 
WICBitmapDitherTypeSpiral8x8 
WICBitmapDitherTypeDualSpiral4x4 
WICBitmapDitherTypeDualSpiral8x8 
WICBitmapDitherTypeErrorDiffusion 
WICBITMAPDITHERTYPE_FORCE_DWORD 

Definition at line 55 of file wincodec.idl.

◆ WICBitmapEncoderCacheOption

Enumerator
WICBitmapEncoderCacheInMemory 
WICBitmapEncoderCacheTempFile 
WICBitmapEncoderNoCache 
WICBITMAPENCODERCACHEOPTION_FORCE_DWORD 

Definition at line 69 of file wincodec.idl.

◆ WICBitmapInterpolationMode

Enumerator
WICBitmapInterpolationModeNearestNeighbor 
WICBitmapInterpolationModeLinear 
WICBitmapInterpolationModeCubic 
WICBitmapInterpolationModeFant 
WICBITMAPINTERPOLATIONMODE_FORCE_DWORD 

Definition at line 76 of file wincodec.idl.

◆ WICBitmapLockFlags

Enumerator
WICBitmapLockRead 
WICBitmapLockWrite 
WICBITMAPLOCKFLAGS_FORCE_DWORD 

Definition at line 84 of file wincodec.idl.

◆ WICBitmapPaletteType

Enumerator
WICBitmapPaletteTypeCustom 
WICBitmapPaletteTypeMedianCut 
WICBitmapPaletteTypeFixedBW 
WICBitmapPaletteTypeFixedHalftone8 
WICBitmapPaletteTypeFixedHalftone27 
WICBitmapPaletteTypeFixedHalftone64 
WICBitmapPaletteTypeFixedHalftone125 
WICBitmapPaletteTypeFixedHalftone216 
WICBitmapPaletteTypeFixedWebPalette 
WICBitmapPaletteTypeFixedHalftone252 
WICBitmapPaletteTypeFixedHalftone256 
WICBitmapPaletteTypeFixedGray4 
WICBitmapPaletteTypeFixedGray16 
WICBitmapPaletteTypeFixedGray256 
WICBITMAPPALETTETYPE_FORCE_DWORD 

Definition at line 90 of file wincodec.idl.

90  {
91  WICBitmapPaletteTypeCustom = 0x00000000,
92  WICBitmapPaletteTypeMedianCut = 0x00000001,
93  WICBitmapPaletteTypeFixedBW = 0x00000002,
102  WICBitmapPaletteTypeFixedGray4 = 0x0000000A,
103  WICBitmapPaletteTypeFixedGray16 = 0x0000000B,
#define CODEC_FORCE_DWORD
Definition: wincodec.idl:25
WICBitmapPaletteType
Definition: wincodec.idl:90

◆ WICBitmapTransformOptions

Enumerator
WICBitmapTransformRotate0 
WICBitmapTransformRotate90 
WICBitmapTransformRotate180 
WICBitmapTransformRotate270 
WICBitmapTransformFlipHorizontal 
WICBitmapTransformFlipVertical 
WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD 

Definition at line 108 of file wincodec.idl.

◆ WICColorContextType

Enumerator
WICColorContextUninitialized 
WICColorContextProfile 
WICColorContextExifColorSpace 

Definition at line 118 of file wincodec.idl.

◆ WICComponentEnumerateOptions

Enumerator
WICComponentEnumerateDefault 
WICComponentEnumerateRefresh 
WICComponentEnumerateBuiltInOnly 
WICComponentEnumerateUnsigned 
WICComponentEnumerateDisabled 

Definition at line 141 of file wincodec.idl.

◆ WICComponentSigning

Enumerator
WICComponentSigned 
WICComponentUnsigned 
WICComponentSafe 
WICComponentDisabled 

Definition at line 134 of file wincodec.idl.

134  {
135  WICComponentSigned = 0x00000001,
136  WICComponentUnsigned = 0x00000002,
137  WICComponentSafe = 0x00000004,
138  WICComponentDisabled = 0x80000000
WICComponentSigning
Definition: wincodec.idl:134

◆ WICComponentType

Enumerator
WICDecoder 
WICEncoder 
WICPixelFormatConverter 
WICMetadataReader 
WICMetadataWriter 
WICPixelFormat 
WICCOMPONENTTYPE_FORCE_DWORD 

Definition at line 124 of file wincodec.idl.

124  {
125  WICDecoder = 0x00000001,
126  WICEncoder = 0x00000002,
127  WICPixelFormatConverter = 0x00000004,
128  WICMetadataReader = 0x00000008,
129  WICMetadataWriter = 0x00000010,
130  WICPixelFormat = 0x00000020,
#define CODEC_FORCE_DWORD
Definition: wincodec.idl:25
WICComponentType
Definition: wincodec.idl:124

◆ WICDecodeOptions

Enumerator
WICDecodeMetadataCacheOnDemand 
WICDecodeMetadataCacheOnLoad 
WICMETADATACACHEOPTION_FORCE_DWORD 

Definition at line 27 of file wincodec.idl.

◆ WICJpegYCrCbSubsamplingOption

Enumerator
WICJpegYCrCbSubsamplingDefault 
WICJpegYCrCbSubsampling420 
WICJpegYCrCbSubsampling422 
WICJpegYCrCbSubsampling444 
WICJpegYCrCbSubsampling440 

Definition at line 149 of file wincodec.idl.

◆ WICPixelFormatNumericRepresentation

Enumerator
WICPixelFormatNumericRepresentationUnspecified 
WICPixelFormatNumericRepresentationIndexed 
WICPixelFormatNumericRepresentationUnsignedInteger 
WICPixelFormatNumericRepresentationSignedInteger 
WICPixelFormatNumericRepresentationFixed 
WICPixelFormatNumericRepresentationFloat 
WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD 

Definition at line 157 of file wincodec.idl.

◆ WICPngFilterOption

Enumerator
WICPngFilterUnspecified 
WICPngFilterNone 
WICPngFilterSub 
WICPngFilterUp 
WICPngFilterAverage 
WICPngFilterPaeth 
WICPngFilterAdaptive 
WICPNFFILTEROPTION_FORCE_DWORD 

Definition at line 179 of file wincodec.idl.

◆ WICSectionAccessLevel

Enumerator
WICSectionAccessLevelRead 
WICSectionAccessLevelReadWrite 
WICSectionAccessLevel_FORCE_DWORD 

Definition at line 190 of file wincodec.idl.

◆ WICTiffCompressionOption

Enumerator
WICTiffCompressionDontCare 
WICTiffCompressionNone 
WICTiffCompressionCCITT3 
WICTiffCompressionCCITT4 
WICTiffCompressionLZW 
WICTiffCompressionRLE 
WICTiffCompressionZIP 
WICTiffCompressionLZWHDifferencing 
WICTIFFCOMPRESSIONOPTION_FORCE_DWORD 

Definition at line 167 of file wincodec.idl.

Function Documentation

◆ DEFINE_GUID() [1/59]

DEFINE_GUID ( GUID_WICPixelFormatDontCare  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x00   
)

◆ DEFINE_GUID() [2/59]

GUID_WICPixelFormatUndefined DEFINE_GUID ( GUID_WICPixelFormat1bppIndexed  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x01   
)

◆ DEFINE_GUID() [3/59]

DEFINE_GUID ( GUID_WICPixelFormat2bppIndexed  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x02   
)

◆ DEFINE_GUID() [4/59]

DEFINE_GUID ( GUID_WICPixelFormat4bppIndexed  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x03   
)

◆ DEFINE_GUID() [5/59]

DEFINE_GUID ( GUID_WICPixelFormat8bppIndexed  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x04   
)

◆ DEFINE_GUID() [6/59]

DEFINE_GUID ( GUID_WICPixelFormatBlackWhite  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x05   
)

◆ DEFINE_GUID() [7/59]

DEFINE_GUID ( GUID_WICPixelFormat2bppGray  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x06   
)

◆ DEFINE_GUID() [8/59]

DEFINE_GUID ( GUID_WICPixelFormat4bppGray  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x07   
)

◆ DEFINE_GUID() [9/59]

DEFINE_GUID ( GUID_WICPixelFormat8bppGray  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x08   
)

◆ DEFINE_GUID() [10/59]

DEFINE_GUID ( GUID_WICPixelFormat16bppGray  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0b   
)

◆ DEFINE_GUID() [11/59]

DEFINE_GUID ( GUID_WICPixelFormat16bppBGR555  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x09   
)

◆ DEFINE_GUID() [12/59]

DEFINE_GUID ( GUID_WICPixelFormat16bppBGR565  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0a   
)

◆ DEFINE_GUID() [13/59]

DEFINE_GUID ( GUID_WICPixelFormat16bppBGRA5551  ,
0x05ec7c2b  ,
0xf1e6  ,
0x4961  ,
0xad  ,
0x46  ,
0xe1  ,
0xcc  ,
0x81  ,
0x0a  ,
0x87  ,
0xd2   
)

◆ DEFINE_GUID() [14/59]

DEFINE_GUID ( GUID_WICPixelFormat24bppBGR  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0c   
)

◆ DEFINE_GUID() [15/59]

DEFINE_GUID ( GUID_WICPixelFormat24bppRGB  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0d   
)

◆ DEFINE_GUID() [16/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppBGR  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0e   
)

◆ DEFINE_GUID() [17/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppBGRA  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x0f   
)

◆ DEFINE_GUID() [18/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppPBGRA  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x10   
)

◆ DEFINE_GUID() [19/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppRGB  ,
0xd98c6b95  ,
0x3efe  ,
0x47d6  ,
0xbb  ,
0x25  ,
0xeb  ,
0x17  ,
0x48  ,
0xab  ,
0x0c  ,
0xf1   
)

◆ DEFINE_GUID() [20/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppRGBA  ,
0xf5c7ad2d  ,
0x6a8d  ,
0x43dd  ,
0xa7  ,
0xa8  ,
0xa2  ,
0x99  ,
0x35  ,
0x26  ,
0x1a  ,
0xe9   
)

◆ DEFINE_GUID() [21/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppPRGBA  ,
0x3cc4a650  ,
0xa527  ,
0x4d37  ,
0xa9  ,
0x16  ,
0x31  ,
0x42  ,
0xc7  ,
0xeb  ,
0xed  ,
0xba   
)

◆ DEFINE_GUID() [22/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppGrayFloat  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x11   
)

◆ DEFINE_GUID() [23/59]

DEFINE_GUID ( GUID_WICPixelFormat48bppRGB  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x15   
)

◆ DEFINE_GUID() [24/59]

DEFINE_GUID ( GUID_WICPixelFormat64bppRGBA  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x16   
)

◆ DEFINE_GUID() [25/59]

DEFINE_GUID ( GUID_WICPixelFormat64bppPRGBA  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x17   
)

◆ DEFINE_GUID() [26/59]

DEFINE_GUID ( GUID_WICPixelFormat128bppRGBAFloat  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x19   
)

◆ DEFINE_GUID() [27/59]

DEFINE_GUID ( GUID_WICPixelFormat32bppCMYK  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x1c   
)

◆ DEFINE_GUID() [28/59]

DEFINE_GUID ( GUID_WICPixelFormat64bppCMYK  ,
0x6fddc324  ,
0x4e03  ,
0x4bfe  ,
0xb1  ,
0x85  ,
0x3d  ,
0x77  ,
0x76  ,
0x8d  ,
0xc9  ,
0x1f   
)

◆ DEFINE_GUID() [29/59]

DEFINE_GUID ( CLSID_WICImagingFactory  ,
0xcacaf262  ,
0x9370  ,
0x4615  ,
0xa1  ,
0x3b  ,
0x9f  ,
0x55  ,
0x39  ,
0xda  ,
0x4c  ,
0x0a   
)

◆ DEFINE_GUID() [30/59]

DEFINE_GUID ( CLSID_WICImagingFactory1  ,
0xcacaf262  ,
0x9370  ,
0x4615  ,
0xa1  ,
0x3b  ,
0x9f  ,
0x55  ,
0x39  ,
0xda  ,
0x4c  ,
0x0a   
)

◆ DEFINE_GUID() [31/59]

DEFINE_GUID ( CLSID_WICImagingFactory2  ,
0x317d06e8  ,
0x5f24  ,
0x433d  ,
0xbd  ,
0xf7  ,
0x79  ,
0xce  ,
0x68  ,
0xd8  ,
0xab  ,
0xc2   
)

◆ DEFINE_GUID() [32/59]

DEFINE_GUID ( CLSID_WICBmpDecoder  ,
0x6b462062  ,
0x7cbf  ,
0x400d  ,
0x9f  ,
0xdb  ,
0x81  ,
0x3d  ,
0xd1  ,
0x0f  ,
0x27  ,
0x78   
)

◆ DEFINE_GUID() [33/59]

DEFINE_GUID ( CLSID_WICPngDecoder  ,
0x389ea17b  ,
0x5078  ,
0x4cde  ,
0xb6  ,
0xef  ,
0x25  ,
0xc1  ,
0x51  ,
0x75  ,
0xc7  ,
0x51   
)

◆ DEFINE_GUID() [34/59]

DEFINE_GUID ( CLSID_WICIcoDecoder  ,
0xc61bfcdf  ,
0x2e0f  ,
0x4aad  ,
0xa8  ,
0xd7  ,
0xe0  ,
0x6b  ,
0xaf  ,
0xeb  ,
0xcd  ,
0xfe   
)

◆ DEFINE_GUID() [35/59]

DEFINE_GUID ( CLSID_WICJpegDecoder  ,
0x9456a480  ,
0xe88b  ,
0x43ea  ,
0x9e  ,
0x73  ,
0x0b  ,
0x2d  ,
0x9b  ,
0x71  ,
0xb1  ,
0xca   
)

◆ DEFINE_GUID() [36/59]

DEFINE_GUID ( CLSID_WICGifDecoder  ,
0x381dda3c  ,
0x9ce9  ,
0x4834  ,
0xa2  ,
0x3e  ,
0x1f  ,
0x98  ,
0xf8  ,
0xfc  ,
0x52  ,
0xbe   
)

◆ DEFINE_GUID() [37/59]

DEFINE_GUID ( CLSID_WICTiffDecoder  ,
0xb54e85d9  ,
0xfe23  ,
0x499f  ,
0x8b  ,
0x88  ,
0x6a  ,
0xce  ,
0xa7  ,
0x13  ,
0x75  ,
0x2b   
)

◆ DEFINE_GUID() [38/59]

DEFINE_GUID ( CLSID_WICWmpDecoder  ,
0xa26cec36  ,
0x234c  ,
0x4950  ,
0xae  ,
0x16  ,
0xe3  ,
0x4a  ,
0xac  ,
0xe7  ,
0x1d  ,
0x0d   
)

◆ DEFINE_GUID() [39/59]

DEFINE_GUID ( CLSID_WICBmpEncoder  ,
0x69be8bb4  ,
0xd66d  ,
0x47c8  ,
0x86  ,
0x5a  ,
0xed  ,
0x15  ,
0x89  ,
0x43  ,
0x37  ,
0x82   
)

◆ DEFINE_GUID() [40/59]

DEFINE_GUID ( CLSID_WICPngEncoder  ,
0x27949969  ,
0x876a  ,
0x41d7  ,
0x94  ,
0x47  ,
0x56  ,
0x8f  ,
0x6a  ,
0x35  ,
0xa4  ,
0xdc   
)

◆ DEFINE_GUID() [41/59]

DEFINE_GUID ( CLSID_WICJpegEncoder  ,
0x1a34f5c1  ,
0x4a5a  ,
0x46dc  ,
0xb6  ,
0x44  ,
0x1f  ,
0x45  ,
0x67  ,
0xe7  ,
0xa6  ,
0x76   
)

◆ DEFINE_GUID() [42/59]

DEFINE_GUID ( CLSID_WICGifEncoder  ,
0x114f5598  ,
0x0b22  ,
0x40a0  ,
0x86  ,
0xa1  ,
0xc8  ,
0x3e  ,
0xa4  ,
0x95  ,
0xad  ,
0xbd   
)

◆ DEFINE_GUID() [43/59]

DEFINE_GUID ( CLSID_WICTiffEncoder  ,
0x0131be10  ,
0x2001  ,
0x4c5f  ,
0xa9  ,
0xb0  ,
0xcc  ,
0x88  ,
0xfa  ,
0xb6  ,
0x4c  ,
0xe8   
)

◆ DEFINE_GUID() [44/59]

DEFINE_GUID ( CLSID_WICWmpEncoder  ,
0xac4ce3cb  ,
0xe1c1  ,
0x44cd  ,
0x82  ,
0x15  ,
0x5a  ,
0x16  ,
0x65  ,
0x50  ,
0x9e  ,
0xc2   
)

◆ DEFINE_GUID() [45/59]

DEFINE_GUID ( CLSID_WICDefaultFormatConverter  ,
0x1a3f11dc  ,
0xb514  ,
0x4b17  ,
0x8c  ,
0x5f  ,
0x21  ,
0x54  ,
0x51  ,
0x38  ,
0x52  ,
0xf1   
)

◆ DEFINE_GUID() [46/59]

DEFINE_GUID ( GUID_ContainerFormatBmp  ,
0x0af1d87e  ,
0xfcfe  ,
0x4188  ,
0xbd  ,
0xeb  ,
0xa7  ,
0x90  ,
0x64  ,
0x71  ,
0xcb  ,
0xe3   
)

◆ DEFINE_GUID() [47/59]

DEFINE_GUID ( GUID_ContainerFormatPng  ,
0x1b7cfaf4  ,
0x713f  ,
0x473c  ,
0xbb  ,
0xcd  ,
0x61  ,
0x37  ,
0x42  ,
0x5f  ,
0xae  ,
0xaf   
)

◆ DEFINE_GUID() [48/59]

DEFINE_GUID ( GUID_ContainerFormatIco  ,
0xa3a860c4  ,
0x338f  ,
0x4c17  ,
0x91  ,
0x9a  ,
0xfb  ,
0xa4  ,
0xb5  ,
0x62  ,
0x8f  ,
0x21   
)

◆ DEFINE_GUID() [49/59]

DEFINE_GUID ( GUID_ContainerFormatJpeg  ,
0x19e4a5aa  ,
0x5662  ,
0x4fc5  ,
0xa0  ,
0xc0  ,
0x17  ,
0x58  ,
0x02  ,
0x8e  ,
0x10  ,
0x57   
)

◆ DEFINE_GUID() [50/59]

DEFINE_GUID ( GUID_ContainerFormatTiff  ,
0x163bcc30  ,
0xe2e9  ,
0x4f0b  ,
0x96  ,
0x1d  ,
0xa3  ,
0xe9  ,
0xfd  ,
0xb7  ,
0x88  ,
0xa3   
)

◆ DEFINE_GUID() [51/59]

DEFINE_GUID ( GUID_ContainerFormatGif  ,
0x1f8a5601  ,
0x7d4d  ,
0x4cbd  ,
0x9c  ,
0x82  ,
0x1b  ,
0xc8  ,
0xd4  ,
0xee  ,
0xb9  ,
0xa5   
)

◆ DEFINE_GUID() [52/59]

DEFINE_GUID ( GUID_ContainerFormatWmp  ,
0x57a37caa  ,
0x367a  ,
0x4540  ,
0x91  ,
0x6b  ,
0xf1  ,
0x83  ,
0xc5  ,
0x09  ,
0x3a  ,
0x4b   
)

◆ DEFINE_GUID() [53/59]

DEFINE_GUID ( GUID_VendorMicrosoft  ,
0xf0e749ca  ,
0xedef  ,
0x4589  ,
0xa7  ,
0x3a  ,
0xee  ,
0x0e  ,
0x62  ,
0x6a  ,
0x2a  ,
0x2b   
)

◆ DEFINE_GUID() [54/59]

DEFINE_GUID ( CLSID_WICImagingCategories  ,
0xfae3d380  ,
0xfea4  ,
0x4623  ,
0x8c  ,
0x75  ,
0xc6  ,
0xb6  ,
0x11  ,
0x10  ,
0xb6  ,
0x81   
)

◆ DEFINE_GUID() [55/59]

DEFINE_GUID ( CATID_WICBitmapDecoders  ,
0x7ed96837  ,
0x96f0  ,
0x4812  ,
0xb2  ,
0x11  ,
0xf1  ,
0x3c  ,
0x24  ,
0x11  ,
0x7e  ,
0xd3   
)

◆ DEFINE_GUID() [56/59]

DEFINE_GUID ( CATID_WICBitmapEncoders  ,
0xac757296  ,
0x3522  ,
0x4e11  ,
0x98  ,
0x62  ,
0xc1  ,
0x7b  ,
0xe5  ,
0xa1  ,
0x76  ,
0x7e   
)

◆ DEFINE_GUID() [57/59]

DEFINE_GUID ( CATID_WICFormatConverters  ,
0x7835eae8  ,
0xbf14  ,
0x49d1  ,
0x93  ,
0xce  ,
0x53  ,
0x3a  ,
0x40  ,
0x7b  ,
0x22  ,
0x48   
)

◆ DEFINE_GUID() [58/59]

DEFINE_GUID ( CATID_WICMetadataReader  ,
0x05af94d8  ,
0x7174  ,
0x4cd2  ,
0xbe  ,
0x4a  ,
0x41  ,
0x24  ,
0xb8  ,
0x0e  ,
0xe4  ,
0xb8   
)

◆ DEFINE_GUID() [59/59]

DEFINE_GUID ( CATID_WICPixelFormats  ,
0x2b46e70f  ,
0xcda7  ,
0x473e  ,
0x89  ,
0xf6  ,
0xdc  ,
0x96  ,
0x30  ,
0xa2  ,
0x39  ,
0x0b   
)

◆ WICConvertBitmapSource()

HRESULT WINAPI WICConvertBitmapSource ( REFWICPixelFormatGUID  dstFormat,
IWICBitmapSource pISrc,
IWICBitmapSource **  ppIDst 
)

Definition at line 2474 of file info.c.

2475 {
2476  HRESULT res;
2477  IEnumUnknown *enumconverters;
2478  IUnknown *unkconverterinfo;
2479  IWICFormatConverterInfo *converterinfo=NULL;
2480  IWICFormatConverter *converter=NULL;
2481  GUID srcFormat;
2482  WCHAR srcformatstr[39], dstformatstr[39];
2483  BOOL canconvert;
2484  ULONG num_fetched;
2485 
2486  TRACE("%s,%p,%p\n", debugstr_guid(dstFormat), pISrc, ppIDst);
2487 
2488  res = IWICBitmapSource_GetPixelFormat(pISrc, &srcFormat);
2489  if (FAILED(res)) return res;
2490 
2491  if (IsEqualGUID(&srcFormat, dstFormat) || (is_1bpp_format(&srcFormat) && is_1bpp_format(dstFormat)))
2492  {
2493  IWICBitmapSource_AddRef(pISrc);
2494  *ppIDst = pISrc;
2495  return S_OK;
2496  }
2497 
2498  StringFromGUID2(&srcFormat, srcformatstr, 39);
2499  StringFromGUID2(dstFormat, dstformatstr, 39);
2500 
2501  res = CreateComponentEnumerator(WICPixelFormatConverter, 0, &enumconverters);
2502  if (FAILED(res)) return res;
2503 
2504  while (!converter)
2505  {
2506  res = IEnumUnknown_Next(enumconverters, 1, &unkconverterinfo, &num_fetched);
2507 
2508  if (res == S_OK)
2509  {
2510  res = IUnknown_QueryInterface(unkconverterinfo, &IID_IWICFormatConverterInfo, (void**)&converterinfo);
2511 
2512  if (SUCCEEDED(res))
2513  {
2514  canconvert = ConverterSupportsFormat(converterinfo, srcformatstr);
2515 
2516  if (canconvert)
2517  canconvert = ConverterSupportsFormat(converterinfo, dstformatstr);
2518 
2519  if (canconvert)
2520  {
2521  res = IWICFormatConverterInfo_CreateInstance(converterinfo, &converter);
2522 
2523  if (SUCCEEDED(res))
2524  res = IWICFormatConverter_CanConvert(converter, &srcFormat, dstFormat, &canconvert);
2525 
2526  if (SUCCEEDED(res) && canconvert)
2527  res = IWICFormatConverter_Initialize(converter, pISrc, dstFormat, WICBitmapDitherTypeNone,
2529 
2530  if (FAILED(res) || !canconvert)
2531  {
2532  if (converter)
2533  {
2534  IWICFormatConverter_Release(converter);
2535  converter = NULL;
2536  }
2537  }
2538  }
2539 
2540  IWICFormatConverterInfo_Release(converterinfo);
2541  }
2542 
2543  IUnknown_Release(unkconverterinfo);
2544  }
2545  else
2546  break;
2547  }
2548 
2549  IEnumUnknown_Release(enumconverters);
2550 
2551  if (converter)
2552  {
2553  res = IWICFormatConverter_QueryInterface(converter, &IID_IWICBitmapSource, (void **)ppIDst);
2554  IWICFormatConverter_Release(converter);
2555  return res;
2556  }
2557  else
2558  {
2559  FIXME("cannot convert %s to %s\n", debugstr_guid(&srcFormat), debugstr_guid(dstFormat));
2560  *ppIDst = NULL;
2562  }
2563 }
static BOOL ConverterSupportsFormat(IWICFormatConverterInfo *iface, const WCHAR *formatguid)
Definition: info.c:1159
static BOOL is_1bpp_format(const WICPixelFormatGUID *format)
Definition: info.c:2468
HRESULT CreateComponentEnumerator(DWORD componentTypes, DWORD options, IEnumUnknown **ppIEnumUnknown)
Definition: info.c:2380
unsigned int BOOL
Definition: ntddk_ex.h:94
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax)
Definition: compobj.c:2343
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
#define WINCODEC_ERR_COMPONENTNOTFOUND
Definition: winerror.h:3288
GLuint res
Definition: glext.h:9613
unsigned int ULONG
Definition: retypes.h:1
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by BitmapScaler_Initialize(), blit_gif_frame(), ColorTransform_Initialize(), decode_frame_wic(), OLEPictureImpl_LoadWICSource(), PaletteImpl_InitializeFromBitmap(), ReadIcoDib(), ReadIcoPng(), test_conversion(), test_invalid_conversion(), WICSetEncoderFormat_Proxy(), and write_source().

◆ WICCreateBitmapFromSection()

HRESULT WINAPI WICCreateBitmapFromSection ( UINT  width,
UINT  height,
REFWICPixelFormatGUID  format,
HANDLE  section,
UINT  stride,
UINT  offset,
IWICBitmap **  bitmap 
)

Definition at line 1541 of file imgfactory.c.

1544 {
1545  TRACE("%u,%u,%s,%p,%u,%u,%p\n", width, height, debugstr_guid(format),
1547 
1550 }
GLint GLint GLsizei width
Definition: gl.h:1546
HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel wicaccess, IWICBitmap **bitmap)
Definition: imgfactory.c:1492
GLintptr offset
Definition: glext.h:5920
Definition: parser.c:55
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define debugstr_guid
Definition: kernel32.h:35
Definition: uimain.c:88
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei stride
Definition: glext.h:5848
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546

◆ WICCreateBitmapFromSectionEx()

HRESULT WINAPI WICCreateBitmapFromSectionEx ( UINT  width,
UINT  height,
REFWICPixelFormatGUID  format,
HANDLE  section,
UINT  stride,
UINT  offset,
WICSectionAccessLevel  access,
IWICBitmap **  bitmap 
)

Definition at line 1492 of file imgfactory.c.

1495 {
1496  SYSTEM_INFO sysinfo;
1497  UINT bpp, access, size, view_offset, view_size;
1498  void *view;
1499  HRESULT hr;
1500 
1501  TRACE("%u,%u,%s,%p,%u,%u,%#x,%p\n", width, height, debugstr_guid(format),
1502  section, stride, offset, wicaccess, bitmap);
1503 
1504  if (!width || !height || !section || !bitmap) return E_INVALIDARG;
1505 
1507  if (FAILED(hr)) return hr;
1508 
1509  switch (wicaccess)
1510  {
1513  break;
1514 
1517  break;
1518 
1519  default:
1520  FIXME("unsupported access %#x\n", wicaccess);
1521  return E_INVALIDARG;
1522  }
1523 
1524  if (!stride) stride = (((bpp * width) + 31) / 32) * 4;
1525  size = stride * height;
1526  if (size / height != stride) return E_INVALIDARG;
1527 
1528  GetSystemInfo(&sysinfo);
1529  view_offset = offset - (offset % sysinfo.dwAllocationGranularity);
1530  view_size = size + (offset - view_offset);
1531 
1532  view = MapViewOfFile(section, access, 0, view_offset, view_size);
1533  if (!view) return HRESULT_FROM_WIN32(GetLastError());
1534 
1535  offset -= view_offset;
1537  if (FAILED(hr)) UnmapViewOfFile(view);
1538  return hr;
1539 }
GLint GLint GLsizei width
Definition: gl.h:1546
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
#define MapViewOfFile
Definition: compat.h:402
HRESULT hr
Definition: shlfolder.c:183
DWORD dwAllocationGranularity
Definition: winbase.h:1132
GLintptr offset
Definition: glext.h:5920
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
Definition: parser.c:55
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define FIXME(fmt,...)
Definition: debug.h:110
HRESULT BitmapImpl_Create(UINT uiWidth, UINT uiHeight, UINT stride, UINT datasize, void *view, UINT offset, REFWICPixelFormatGUID pixelFormat, WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap)
Definition: bitmap.c:809
#define E_INVALIDARG
Definition: ddrawi.h:101
#define FILE_MAP_READ
Definition: compat.h:427
#define debugstr_guid
Definition: kernel32.h:35
Definition: uimain.c:88
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei stride
Definition: glext.h:5848
GLsizeiptr size
Definition: glext.h:5919
LONG HRESULT
Definition: typedefs.h:77
#define FILE_MAP_WRITE
Definition: winbase.h:154
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLuint GLint GLboolean GLint GLenum access
Definition: glext.h:7866
VOID WINAPI GetSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
Definition: sysinfo.c:142
unsigned int UINT
Definition: ndis.h:50
static IOleDocumentView * view
Definition: activex.c:1749
DWORD bpp
Definition: surface.c:181
#define UnmapViewOfFile
Definition: compat.h:403
HRESULT get_pixelformat_bpp(const GUID *pixelformat, UINT *bpp)
Definition: main.c:231

Referenced by WICCreateBitmapFromSection().

◆ WICMapGuidToShortName()

HRESULT WINAPI WICMapGuidToShortName ( REFGUID  ,
UINT  ,
WCHAR ,
UINT  
)

Definition at line 738 of file metadataquery.c.

739 {
740  UINT i;
741 
742  TRACE("%s,%u,%p,%p\n", wine_dbgstr_guid(guid), len, name, ret_len);
743 
744  if (!guid) return E_INVALIDARG;
745 
746  for (i = 0; i < ARRAY_SIZE(guid2name); i++)
747  {
749  {
750  if (name)
751  {
752  if (!len) return E_INVALIDARG;
753 
754  len = min(len - 1, lstrlenW(guid2name[i].name));
755  memcpy(name, guid2name[i].name, len * sizeof(WCHAR));
756  name[len] = 0;
757 
758  if (len < lstrlenW(guid2name[i].name))
760  }
761  if (ret_len) *ret_len = lstrlenW(guid2name[i].name) + 1;
762  return S_OK;
763  }
764  }
765 
767 }
static const struct @562 guid2name[]
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
const char * wine_dbgstr_guid(const GUID *guid)
#define lstrlenW
Definition: compat.h:407
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
const GUID * guid
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180
static JOBOBJECTINFOCLASS LPVOID DWORD LPDWORD ret_len
Definition: process.c:79
int len
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLenum GLsizei len
Definition: glext.h:6722
#define S_OK
Definition: intsafe.h:59
#define ARRAY_SIZE(a)
Definition: main.h:24
#define min(a, b)
Definition: monoChain.cc:55
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
Definition: name.c:36
#define WINCODEC_ERR_PROPERTYNOTFOUND
Definition: winerror.h:3279
#define ERROR_INSUFFICIENT_BUFFER
Definition: dderror.h:10

Referenced by test_metadata_gif(), and test_WICMapGuidToShortName().

◆ WICMapSchemaToName()

HRESULT WINAPI WICMapSchemaToName ( REFGUID  ,
LPWSTR  ,
UINT  ,
WCHAR ,
UINT  
)

Definition at line 896 of file metadataquery.c.

897 {
898  UINT i;
899 
900  TRACE("%s,%s,%u,%p,%p\n", wine_dbgstr_guid(format), debugstr_w(schema), len, name, ret_len);
901 
902  if (!format || !schema || !ret_len)
903  return E_INVALIDARG;
904 
905  /* It appears that the only metadata formats
906  * that support schemas are xmp and xmpstruct.
907  */
908  if (!IsEqualGUID(format, &GUID_MetadataFormatXMP) &&
909  !IsEqualGUID(format, &GUID_MetadataFormatXMPStruct))
911 
912  for (i = 0; i < ARRAY_SIZE(name2schema); i++)
913  {
915  {
916  if (name)
917  {
918  if (!len) return E_INVALIDARG;
919 
920  len = min(len - 1, lstrlenW(name2schema[i].name));
921  memcpy(name, name2schema[i].name, len * sizeof(WCHAR));
922  name[len] = 0;
923 
924  if (len < lstrlenW(name2schema[i].name))
926  }
927 
928  if (ret_len) *ret_len = lstrlenW(name2schema[i].name) + 1;
929  return S_OK;
930  }
931  }
932 
934 }
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
int WINAPI lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
Definition: lstring.c:170
const char * wine_dbgstr_guid(const GUID *guid)
#define lstrlenW
Definition: compat.h:407
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define debugstr_w
Definition: kernel32.h:32
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180
static const struct @563 name2schema[]
static JOBOBJECTINFOCLASS LPVOID DWORD LPDWORD ret_len
Definition: process.c:79
int len
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
GLenum GLsizei len
Definition: glext.h:6722
#define S_OK
Definition: intsafe.h:59
#define ARRAY_SIZE(a)
Definition: main.h:24
#define min(a, b)
Definition: monoChain.cc:55
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
const WCHAR * schema
Definition: name.c:36
#define WINCODEC_ERR_PROPERTYNOTFOUND
Definition: winerror.h:3279
#define ERROR_INSUFFICIENT_BUFFER
Definition: dderror.h:10

Referenced by test_WICMapSchemaToName().

◆ WICMapShortNameToGuid()

HRESULT WINAPI WICMapShortNameToGuid ( PCWSTR  ,
GUID  
)

Definition at line 769 of file metadataquery.c.

770 {
771  UINT i;
772 
773  TRACE("%s,%p\n", debugstr_w(name), guid);
774 
775  if (!name || !guid) return E_INVALIDARG;
776 
777  for (i = 0; i < ARRAY_SIZE(guid2name); i++)
778  {
779  if (!lstrcmpiW(name, guid2name[i].name))
780  {
781  *guid = *guid2name[i].guid;
782  return S_OK;
783  }
784  }
785 
787 }
static const struct @562 guid2name[]
int WINAPI lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
Definition: lstring.c:194
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
const GUID * guid
#define debugstr_w
Definition: kernel32.h:32
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define ARRAY_SIZE(a)
Definition: main.h:24
unsigned int UINT
Definition: ndis.h:50
Definition: name.c:36
#define WINCODEC_ERR_PROPERTYNOTFOUND
Definition: winerror.h:3279

Referenced by mqr_GetMetadataByName(), test_metadata_gif(), and test_WICMapShortNameToGuid().