| 1 | 
 /* | 
 
 
 
 
 
 | 2 | 
  * Copyright 2009 Vincent Povirk for CodeWeavers | 
 
 
 
 
 
 | 3 | 
  * | 
 
 
 
 
 
 | 4 | 
  * This library is free software; you can redistribute it and/or | 
 
 
 
 
 
 | 5 | 
  * modify it under the terms of the GNU Lesser General Public | 
 
 
 
 
 
 | 6 | 
  * License as published by the Free Software Foundation; either | 
 
 
 
 
 
 | 7 | 
  * version 2.1 of the License, or (at your option) any later version. | 
 
 
 
 
 
 | 8 | 
  * | 
 
 
 
 
 
 | 9 | 
  * This library is distributed in the hope that it will be useful, | 
 
 
 
 
 
 | 10 | 
  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 
 
 
 
 
 | 11 | 
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 
 
 
 
 
 | 12 | 
  * Lesser General Public License for more details. | 
 
 
 
 
 
 | 13 | 
  * | 
 
 
 
 
 
 | 14 | 
  * You should have received a copy of the GNU Lesser General Public | 
 
 
 
 
 
 | 15 | 
  * License along with this library; if not, write to the Free Software | 
 
 
 
 
 
 | 16 | 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | 
 
 
 
 
 
 | 17 | 
  */ | 
 
 
 
 
 
 | 18 | 
  | 
 
 
 
 
 
 | 19 | 
 import "wtypes.idl"; | 
 
 
 
 
 
 | 20 | 
 import "propidl.idl"; | 
 
 
 
 
 
 | 21 | 
 import "ocidl.idl"; | 
 
 
 
 
 
 | 22 | 
 import "dxgiformat.idl"; | 
 
 
 
 
 
 | 23 | 
  | 
 
 
 
 
 
 | 24 | 
 cpp_quote ("#include \"dcommon.h\"") | 
 
 
 
 
 
 | 25 | 
  | 
 
 
 
 
 
 | 26 | 
 cpp_quote("#define WINCODEC_SDK_VERSION 0x0236") | 
 
 
 
 
 
 | 27 | 
  | 
 
 
 
 
 
 | 28 | 
 #define CODEC_FORCE_DWORD 0x7fffffff | 
 
 
 
 
 
 | 29 | 
  | 
 
 
 
 
 
 | 30 | 
 typedef enum WICDecodeOptions { | 
 
 
 
 
 
 | 31 | 
     WICDecodeMetadataCacheOnDemand = 0x00000000, | 
 
 
 
 
 
 | 32 | 
     WICDecodeMetadataCacheOnLoad = 0x00000001, | 
 
 
 
 
 
 | 33 | 
     WICMETADATACACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 34 | 
 } WICDecodeOptions; | 
 
 
 
 
 
 | 35 | 
  | 
 
 
 
 
 
 | 36 | 
 typedef enum WICBitmapCreateCacheOption { | 
 
 
 
 
 
 | 37 | 
     WICBitmapNoCache = 0x00000000, | 
 
 
 
 
 
 | 38 | 
     WICBitmapCacheOnDemand = 0x00000001, | 
 
 
 
 
 
 | 39 | 
     WICBitmapCacheOnLoad = 0x00000002, | 
 
 
 
 
 
 | 40 | 
     WICBITMAPCREATECACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 41 | 
 } WICBitmapCreateCacheOption; | 
 
 
 
 
 
 | 42 | 
  | 
 
 
 
 
 
 | 43 | 
 typedef enum WICBitmapAlphaChannelOption { | 
 
 
 
 
 
 | 44 | 
     WICBitmapUseAlpha = 0x00000000, | 
 
 
 
 
 
 | 45 | 
     WICBitmapUsePremultipliedAlpha = 0x00000001, | 
 
 
 
 
 
 | 46 | 
     WICBitmapIgnoreAlpha = 0x00000002, | 
 
 
 
 
 
 | 47 | 
     WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 48 | 
 } WICBitmapAlphaChannelOption; | 
 
 
 
 
 
 | 49 | 
  | 
 
 
 
 
 
 | 50 | 
 typedef enum WICBitmapDecoderCapabilities { | 
 
 
 
 
 
 | 51 | 
     WICBitmapDecoderCapabilitySameEncoder = 0x00000001, | 
 
 
 
 
 
 | 52 | 
     WICBitmapDecoderCapabilityCanDecodeAllImages = 0x00000002, | 
 
 
 
 
 
 | 53 | 
     WICBitmapDecoderCapabilityCanDecodeSomeImages = 0x00000004, | 
 
 
 
 
 
 | 54 | 
     WICBitmapDecoderCapabilityCanEnumerateMetadata = 0x00000008, | 
 
 
 
 
 
 | 55 | 
     WICBitmapDecoderCapabilityCanDecodeThumbnail = 0x00000010, | 
 
 
 
 
 
 | 56 | 
 } WICBitmapDecoderCapabilities; | 
 
 
 
 
 
 | 57 | 
  | 
 
 
 
 
 
 | 58 | 
 typedef enum WICBitmapDitherType { | 
 
 
 
 
 
 | 59 | 
     WICBitmapDitherTypeNone = 0x00000000, | 
 
 
 
 
 
 | 60 | 
     WICBitmapDitherTypeSolid = 0x00000000, | 
 
 
 
 
 
 | 61 | 
     WICBitmapDitherTypeOrdered4x4 = 0x00000001, | 
 
 
 
 
 
 | 62 | 
     WICBitmapDitherTypeOrdered8x8 = 0x00000002, | 
 
 
 
 
 
 | 63 | 
     WICBitmapDitherTypeOrdered16x16 = 0x00000003, | 
 
 
 
 
 
 | 64 | 
     WICBitmapDitherTypeSpiral4x4 = 0x00000004, | 
 
 
 
 
 
 | 65 | 
     WICBitmapDitherTypeSpiral8x8 = 0x00000005, | 
 
 
 
 
 
 | 66 | 
     WICBitmapDitherTypeDualSpiral4x4 = 0x00000006, | 
 
 
 
 
 
 | 67 | 
     WICBitmapDitherTypeDualSpiral8x8 = 0x00000007, | 
 
 
 
 
 
 | 68 | 
     WICBitmapDitherTypeErrorDiffusion = 0x00000008, | 
 
 
 
 
 
 | 69 | 
     WICBITMAPDITHERTYPE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 70 | 
 } WICBitmapDitherType; | 
 
 
 
 
 
 | 71 | 
  | 
 
 
 
 
 
 | 72 | 
 typedef enum WICBitmapEncoderCacheOption { | 
 
 
 
 
 
 | 73 | 
     WICBitmapEncoderCacheInMemory = 0x00000000, | 
 
 
 
 
 
 | 74 | 
     WICBitmapEncoderCacheTempFile = 0x00000001, | 
 
 
 
 
 
 | 75 | 
     WICBitmapEncoderNoCache = 0x00000002, | 
 
 
 
 
 
 | 76 | 
     WICBITMAPENCODERCACHEOPTION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 77 | 
 } WICBitmapEncoderCacheOption; | 
 
 
 
 
 
 | 78 | 
  | 
 
 
 
 
 
 | 79 | 
 typedef enum WICBitmapInterpolationMode { | 
 
 
 
 
 
 | 80 | 
     WICBitmapInterpolationModeNearestNeighbor = 0x00000000, | 
 
 
 
 
 
 | 81 | 
     WICBitmapInterpolationModeLinear = 0x00000001, | 
 
 
 
 
 
 | 82 | 
     WICBitmapInterpolationModeCubic = 0x00000002, | 
 
 
 
 
 
 | 83 | 
     WICBitmapInterpolationModeFant = 0x00000003, | 
 
 
 
 
 
 | 84 | 
     WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 85 | 
 } WICBitmapInterpolationMode; | 
 
 
 
 
 
 | 86 | 
  | 
 
 
 
 
 
 | 87 | 
 typedef enum WICBitmapLockFlags { | 
 
 
 
 
 
 | 88 | 
     WICBitmapLockRead = 0x00000001, | 
 
 
 
 
 
 | 89 | 
     WICBitmapLockWrite = 0x00000002, | 
 
 
 
 
 
 | 90 | 
     WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 91 | 
 } WICBitmapLockFlags; | 
 
 
 
 
 
 | 92 | 
  | 
 
 
 
 
 
 | 93 | 
 typedef enum WICBitmapPaletteType { | 
 
 
 
 
 
 | 94 | 
     WICBitmapPaletteTypeCustom = 0x00000000, | 
 
 
 
 
 
 | 95 | 
     WICBitmapPaletteTypeMedianCut = 0x00000001, | 
 
 
 
 
 
 | 96 | 
     WICBitmapPaletteTypeFixedBW = 0x00000002, | 
 
 
 
 
 
 | 97 | 
     WICBitmapPaletteTypeFixedHalftone8 = 0x00000003, | 
 
 
 
 
 
 | 98 | 
     WICBitmapPaletteTypeFixedHalftone27 = 0x00000004, | 
 
 
 
 
 
 | 99 | 
     WICBitmapPaletteTypeFixedHalftone64 = 0x00000005, | 
 
 
 
 
 
 | 100 | 
     WICBitmapPaletteTypeFixedHalftone125 = 0x00000006, | 
 
 
 
 
 
 | 101 | 
     WICBitmapPaletteTypeFixedHalftone216 = 0x00000007, | 
 
 
 
 
 
 | 102 | 
     WICBitmapPaletteTypeFixedWebPalette = WICBitmapPaletteTypeFixedHalftone216, | 
 
 
 
 
 
 | 103 | 
     WICBitmapPaletteTypeFixedHalftone252 = 0x00000008, | 
 
 
 
 
 
 | 104 | 
     WICBitmapPaletteTypeFixedHalftone256 = 0x00000009, | 
 
 
 
 
 
 | 105 | 
     WICBitmapPaletteTypeFixedGray4 = 0x0000000A, | 
 
 
 
 
 
 | 106 | 
     WICBitmapPaletteTypeFixedGray16 = 0x0000000B, | 
 
 
 
 
 
 | 107 | 
     WICBitmapPaletteTypeFixedGray256 = 0x0000000C, | 
 
 
 
 
 
 | 108 | 
     WICBITMAPPALETTETYPE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 109 | 
 } WICBitmapPaletteType; | 
 
 
 
 
 
 | 110 | 
  | 
 
 
 
 
 
 | 111 | 
 typedef enum WICBitmapTransformOptions { | 
 
 
 
 
 
 | 112 | 
     WICBitmapTransformRotate0 = 0x00000000, | 
 
 
 
 
 
 | 113 | 
     WICBitmapTransformRotate90 = 0x00000001, | 
 
 
 
 
 
 | 114 | 
     WICBitmapTransformRotate180 = 0x00000002, | 
 
 
 
 
 
 | 115 | 
     WICBitmapTransformRotate270 = 0x00000003, | 
 
 
 
 
 
 | 116 | 
     WICBitmapTransformFlipHorizontal = 0x00000008, | 
 
 
 
 
 
 | 117 | 
     WICBitmapTransformFlipVertical = 0x00000010, | 
 
 
 
 
 
 | 118 | 
     WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 119 | 
 } WICBitmapTransformOptions; | 
 
 
 
 
 
 | 120 | 
  | 
 
 
 
 
 
 | 121 | 
 typedef enum WICColorContextType { | 
 
 
 
 
 
 | 122 | 
     WICColorContextUninitialized = 0x00000000, | 
 
 
 
 
 
 | 123 | 
     WICColorContextProfile = 0x00000001, | 
 
 
 
 
 
 | 124 | 
     WICColorContextExifColorSpace = 0x00000002 | 
 
 
 
 
 
 | 125 | 
 } WICColorContextType; | 
 
 
 
 
 
 | 126 | 
  | 
 
 
 
 
 
 | 127 | 
 typedef enum WICComponentType { | 
 
 
 
 
 
 | 128 | 
     WICDecoder = 0x00000001, | 
 
 
 
 
 
 | 129 | 
     WICEncoder = 0x00000002, | 
 
 
 
 
 
 | 130 | 
     WICPixelFormatConverter = 0x00000004, | 
 
 
 
 
 
 | 131 | 
     WICMetadataReader = 0x00000008, | 
 
 
 
 
 
 | 132 | 
     WICMetadataWriter = 0x00000010, | 
 
 
 
 
 
 | 133 | 
     WICPixelFormat = 0x00000020, | 
 
 
 
 
 
 | 134 | 
     WICCOMPONENTTYPE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 135 | 
 } WICComponentType; | 
 
 
 
 
 
 | 136 | 
  | 
 
 
 
 
 
 | 137 | 
 typedef enum WICComponentSigning { | 
 
 
 
 
 
 | 138 | 
     WICComponentSigned = 0x00000001, | 
 
 
 
 
 
 | 139 | 
     WICComponentUnsigned = 0x00000002, | 
 
 
 
 
 
 | 140 | 
     WICComponentSafe = 0x00000004, | 
 
 
 
 
 
 | 141 | 
     WICComponentDisabled = 0x80000000 | 
 
 
 
 
 
 | 142 | 
 } WICComponentSigning; | 
 
 
 
 
 
 | 143 | 
  | 
 
 
 
 
 
 | 144 | 
 typedef enum WICComponentEnumerateOptions { | 
 
 
 
 
 
 | 145 | 
     WICComponentEnumerateDefault = 0x00000000, | 
 
 
 
 
 
 | 146 | 
     WICComponentEnumerateRefresh = 0x00000001, | 
 
 
 
 
 
 | 147 | 
     WICComponentEnumerateBuiltInOnly = 0x20000000, | 
 
 
 
 
 
 | 148 | 
     WICComponentEnumerateUnsigned = 0x40000000, | 
 
 
 
 
 
 | 149 | 
     WICComponentEnumerateDisabled = 0x80000000 | 
 
 
 
 
 
 | 150 | 
 } WICComponentEnumerateOptions; | 
 
 
 
 
 
 | 151 | 
  | 
 
 
 
 
 
 | 152 | 
 typedef enum WICJpegYCrCbSubsamplingOption { | 
 
 
 
 
 
 | 153 | 
     WICJpegYCrCbSubsamplingDefault  = 0x00000000, | 
 
 
 
 
 
 | 154 | 
     WICJpegYCrCbSubsampling420 = 0x00000001, | 
 
 
 
 
 
 | 155 | 
     WICJpegYCrCbSubsampling422 = 0x00000002, | 
 
 
 
 
 
 | 156 | 
     WICJpegYCrCbSubsampling444 = 0x00000003, | 
 
 
 
 
 
 | 157 | 
     WICJpegYCrCbSubsampling440 = 0x00000004 | 
 
 
 
 
 
 | 158 | 
 } WICJpegYCrCbSubsamplingOption; | 
 
 
 
 
 
 | 159 | 
  | 
 
 
 
 
 
 | 160 | 
 typedef enum WICPixelFormatNumericRepresentation { | 
 
 
 
 
 
 | 161 | 
     WICPixelFormatNumericRepresentationUnspecified = 0x00000000, | 
 
 
 
 
 
 | 162 | 
     WICPixelFormatNumericRepresentationIndexed = 0x00000001, | 
 
 
 
 
 
 | 163 | 
     WICPixelFormatNumericRepresentationUnsignedInteger = 0x00000002, | 
 
 
 
 
 
 | 164 | 
     WICPixelFormatNumericRepresentationSignedInteger = 0x00000003, | 
 
 
 
 
 
 | 165 | 
     WICPixelFormatNumericRepresentationFixed = 0x00000004, | 
 
 
 
 
 
 | 166 | 
     WICPixelFormatNumericRepresentationFloat = 0x00000005, | 
 
 
 
 
 
 | 167 | 
     WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 168 | 
 } WICPixelFormatNumericRepresentation; | 
 
 
 
 
 
 | 169 | 
  | 
 
 
 
 
 
 | 170 | 
 typedef enum WICTiffCompressionOption { | 
 
 
 
 
 
 | 171 | 
     WICTiffCompressionDontCare = 0x00000000, | 
 
 
 
 
 
 | 172 | 
     WICTiffCompressionNone = 0x00000001, | 
 
 
 
 
 
 | 173 | 
     WICTiffCompressionCCITT3 = 0x00000002, | 
 
 
 
 
 
 | 174 | 
     WICTiffCompressionCCITT4 = 0x00000003, | 
 
 
 
 
 
 | 175 | 
     WICTiffCompressionLZW = 0x00000004, | 
 
 
 
 
 
 | 176 | 
     WICTiffCompressionRLE = 0x00000005, | 
 
 
 
 
 
 | 177 | 
     WICTiffCompressionZIP = 0x00000006, | 
 
 
 
 
 
 | 178 | 
     WICTiffCompressionLZWHDifferencing = 0x00000007, | 
 
 
 
 
 
 | 179 | 
     WICTIFFCOMPRESSIONOPTION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 180 | 
 } WICTiffCompressionOption; | 
 
 
 
 
 
 | 181 | 
  | 
 
 
 
 
 
 | 182 | 
 typedef enum WICPngFilterOption { | 
 
 
 
 
 
 | 183 | 
     WICPngFilterUnspecified = 0, | 
 
 
 
 
 
 | 184 | 
     WICPngFilterNone = 1, | 
 
 
 
 
 
 | 185 | 
     WICPngFilterSub = 2, | 
 
 
 
 
 
 | 186 | 
     WICPngFilterUp = 3, | 
 
 
 
 
 
 | 187 | 
     WICPngFilterAverage = 4, | 
 
 
 
 
 
 | 188 | 
     WICPngFilterPaeth = 5, | 
 
 
 
 
 
 | 189 | 
     WICPngFilterAdaptive = 6, | 
 
 
 
 
 
 | 190 | 
     WICPNFFILTEROPTION_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 191 | 
 } WICPngFilterOption; | 
 
 
 
 
 
 | 192 | 
  | 
 
 
 
 
 
 | 193 | 
 typedef enum WICSectionAccessLevel { | 
 
 
 
 
 
 | 194 | 
     WICSectionAccessLevelRead = 0x00000001, | 
 
 
 
 
 
 | 195 | 
     WICSectionAccessLevelReadWrite = 0x00000003, | 
 
 
 
 
 
 | 196 | 
     WICSectionAccessLevel_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 197 | 
 } WICSectionAccessLevel; | 
 
 
 
 
 
 | 198 | 
  | 
 
 
 
 
 
 | 199 | 
 typedef enum WICDdsDimension { | 
 
 
 
 
 
 | 200 | 
     WICDdsTexture1D = 0x00000000, | 
 
 
 
 
 
 | 201 | 
     WICDdsTexture2D = 0x00000001, | 
 
 
 
 
 
 | 202 | 
     WICDdsTexture3D = 0x00000002, | 
 
 
 
 
 
 | 203 | 
     WICDdsTextureCube = 0x00000003, | 
 
 
 
 
 
 | 204 | 
     WICDDSTEXTURE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 205 | 
 } WICDdsDimension; | 
 
 
 
 
 
 | 206 | 
  | 
 
 
 
 
 
 | 207 | 
 typedef enum WICDdsAlphaMode { | 
 
 
 
 
 
 | 208 | 
     WICDdsAlphaModeUnknown = 0x00000000, | 
 
 
 
 
 
 | 209 | 
     WICDdsAlphaModeStraight = 0x00000001, | 
 
 
 
 
 
 | 210 | 
     WICDdsAlphaModePremultiplied = 0x00000002, | 
 
 
 
 
 
 | 211 | 
     WICDdsAlphaModeOpaque = 0x00000003, | 
 
 
 
 
 
 | 212 | 
     WICDdsAlphaModeCustom = 0x00000004, | 
 
 
 
 
 
 | 213 | 
     WICDDSALPHAMODE_FORCE_DWORD = CODEC_FORCE_DWORD | 
 
 
 
 
 
 | 214 | 
 } WICDdsAlphaMode; | 
 
 
 
 
 
 | 215 | 
  | 
 
 
 
 
 
 | 216 | 
 typedef GUID WICPixelFormatGUID; | 
 
 
 
 
 
 | 217 | 
 typedef REFGUID REFWICPixelFormatGUID; | 
 
 
 
 
 
 | 218 | 
  | 
 
 
 
 
 
 | 219 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatDontCare, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x00);") | 
 
 
 
 
 
 | 220 | 
 cpp_quote("#define GUID_WICPixelFormatUndefined GUID_WICPixelFormatDontCare") | 
 
 
 
 
 
 | 221 | 
  | 
 
 
 
 
 
 | 222 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat1bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x01);") | 
 
 
 
 
 
 | 223 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x02);") | 
 
 
 
 
 
 | 224 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x03);") | 
 
 
 
 
 
 | 225 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppIndexed, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x04);") | 
 
 
 
 
 
 | 226 | 
  | 
 
 
 
 
 
 | 227 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormatBlackWhite, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x05);") | 
 
 
 
 
 
 | 228 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat2bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x06);") | 
 
 
 
 
 
 | 229 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat4bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x07);") | 
 
 
 
 
 
 | 230 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x08);") | 
 
 
 
 
 
 | 231 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGray, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0b);") | 
 
 
 
 
 
 | 232 | 
  | 
 
 
 
 
 
 | 233 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppAlpha, 0xe6cd0116,0xeeba,0x4161,0xaa,0x85,0x27,0xdd,0x9f,0xb3,0xa8,0x95);") | 
 
 
 
 
 
 | 234 | 
  | 
 
 
 
 
 
 | 235 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR555, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x09);") | 
 
 
 
 
 
 | 236 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGR565, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0a);") | 
 
 
 
 
 
 | 237 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppBGRA5551, 0x05ec7c2b,0xf1e6,0x4961,0xad,0x46,0xe1,0xcc,0x81,0x0a,0x87,0xd2);") | 
 
 
 
 
 
 | 238 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0c);") | 
 
 
 
 
 
 | 239 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0d);") | 
 
 
 
 
 
 | 240 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0e);") | 
 
 
 
 
 
 | 241 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x0f);") | 
 
 
 
 
 
 | 242 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPBGRA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x10);") | 
 
 
 
 
 
 | 243 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGB, 0xd98c6b95,0x3efe,0x47d6,0xbb,0x25,0xeb,0x17,0x48,0xab,0x0c,0xf1);") | 
 
 
 
 
 
 | 244 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA, 0xf5c7ad2d,0x6a8d,0x43dd,0xa7,0xa8,0xa2,0x99,0x35,0x26,0x1a,0xe9);") | 
 
 
 
 
 
 | 245 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppPRGBA, 0x3cc4a650,0xa527,0x4d37,0xa9,0x16,0x31,0x42,0xc7,0xeb,0xed,0xba);") | 
 
 
 
 
 
 | 246 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x11);") | 
 
 
 
 
 
 | 247 | 
  | 
 
 
 
 
 
 | 248 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGB, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x15);") | 
 
 
 
 
 
 | 249 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppBGR, 0xe605a384,0xb468,0x46ce,0xbb,0x2e,0x36,0xf1,0x80,0xe6,0x43,0x13);") | 
 
 
 
 
 
 | 250 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGB, 0xa1182111,0x186d,0x4d42,0xbc,0x6a,0x9c,0x83,0x03,0xa8,0xdf,0xf9);") | 
 
 
 
 
 
 | 251 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x16);") | 
 
 
 
 
 
 | 252 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppBGRA, 0x1562ff7c,0xd352,0x46f9,0x97,0x9e,0x42,0x97,0x6b,0x79,0x22,0x46);") | 
 
 
 
 
 
 | 253 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x17);") | 
 
 
 
 
 
 | 254 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPBGRA, 0x8c518e8e,0xa4ec,0x468b,0xae,0x70,0xc9,0xa3,0x5a,0x9c,0x55,0x30);") | 
 
 
 
 
 
 | 255 | 
  | 
 
 
 
 
 
 | 256 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGrayFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x13);") | 
 
 
 
 
 
 | 257 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppBGR101010, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x14);") | 
 
 
 
 
 
 | 258 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x12);") | 
 
 
 
 
 
 | 259 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppBGRFixedPoint, 0x49ca140e,0xcab6,0x493b,0x9d,0xdf,0x60,0x18,0x7c,0x37,0x53,0x2a);") | 
 
 
 
 
 
 | 260 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x18);") | 
 
 
 
 
 
 | 261 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bppRGBFloat, 0xe3fed78f,0xe8db,0x4acf,0x84,0xc1,0xe9,0x7f,0x61,0x36,0xb3,0x27);") | 
 
 
 
 
 
 | 262 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBAFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x19);") | 
 
 
 
 
 
 | 263 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppPRGBAFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1a);") | 
 
 
 
 
 
 | 264 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBFloat, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1b);") | 
 
 
 
 
 
 | 265 | 
  | 
 
 
 
 
 
 | 266 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);") | 
 
 
 
 
 
 | 267 | 
  | 
 
 
 
 
 
 | 268 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBAFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1d);") | 
 
 
 
 
 
 | 269 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppBGRAFixedPoint, 0x356de33c,0x54d2,0x4a23,0xbb,0x4,0x9b,0x7b,0xf9,0xb1,0xd4,0x2d);") | 
 
 
 
 
 
 | 270 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x40);") | 
 
 
 
 
 
 | 271 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBAFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1e);") | 
 
 
 
 
 
 | 272 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bppRGBFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x41);") | 
 
 
 
 
 
 | 273 | 
  | 
 
 
 
 
 
 | 274 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBAHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3a);") | 
 
 
 
 
 
 | 275 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBAHalf, 0x58ad26c2,0xc623,0x4d9d,0xb3,0x20,0x38,0x7e,0x49,0xf8,0xc4,0x42);") | 
 
 
 
 
 
 | 276 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppRGBHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x42);") | 
 
 
 
 
 
 | 277 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bppRGBHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3b);") | 
 
 
 
 
 
 | 278 | 
  | 
 
 
 
 
 
 | 279 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBE, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3d);") | 
 
 
 
 
 
 | 280 | 
  | 
 
 
 
 
 
 | 281 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppGrayHalf, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3e);") | 
 
 
 
 
 
 | 282 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppGrayFixedPoint, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x3f);") | 
 
 
 
 
 
 | 283 | 
  | 
 
 
 
 
 
 | 284 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA1010102, 0x25238d72,0xfcf9,0x4522,0xb5,0x14,0x55,0x78,0xe5,0xad,0x55,0xe0);") | 
 
 
 
 
 
 | 285 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppRGBA1010102XR, 0x00de6b9a,0xc101,0x434b,0xb5,0x02,0xd0,0x16,0x5e,0xe1,0x12,0x2c);") | 
 
 
 
 
 
 | 286 | 
  | 
 
 
 
 
 
 | 287 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppR10G10B10A2, 0x604e1bb5,0x8a3c,0x4b65,0xb1,0x1c,0xbc,0x0b,0x8d,0xd7,0x5b,0x7f);") | 
 
 
 
 
 
 | 288 | 
  | 
 
 
 
 
 
 | 289 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppR10G10B10A2HDR10, 0x9c215c5d,0x1acc,0x4f0e,0xa4,0xbc,0x70,0xfb,0x3a,0xe8,0xfd,0x28);") | 
 
 
 
 
 
 | 290 | 
  | 
 
 
 
 
 
 | 291 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1f);") | 
 
 
 
 
 
 | 292 | 
  | 
 
 
 
 
 
 | 293 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat24bpp3Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x20);") | 
 
 
 
 
 
 | 294 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bpp4Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x21);") | 
 
 
 
 
 
 | 295 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bpp5Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x22);") | 
 
 
 
 
 
 | 296 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp6Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x23);") | 
 
 
 
 
 
 | 297 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat56bpp7Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x24);") | 
 
 
 
 
 
 | 298 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp8Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x25);") | 
 
 
 
 
 
 | 299 | 
  | 
 
 
 
 
 
 | 300 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp3Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x26);") | 
 
 
 
 
 
 | 301 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp4Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x27);") | 
 
 
 
 
 
 | 302 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bpp5Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x28);") | 
 
 
 
 
 
 | 303 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bpp6Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x29);") | 
 
 
 
 
 
 | 304 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat112bpp7Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2a);") | 
 
 
 
 
 
 | 305 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bpp8Channels, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2b);") | 
 
 
 
 
 
 | 306 | 
  | 
 
 
 
 
 
 | 307 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bppCMYKAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2c);") | 
 
 
 
 
 
 | 308 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bppCMYKAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2d);") | 
 
 
 
 
 
 | 309 | 
  | 
 
 
 
 
 
 | 310 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bpp3ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2e);") | 
 
 
 
 
 
 | 311 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat40bpp4ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x2f);") | 
 
 
 
 
 
 | 312 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat48bpp5ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x30);") | 
 
 
 
 
 
 | 313 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat56bpp6ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x31);") | 
 
 
 
 
 
 | 314 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp7ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x32);") | 
 
 
 
 
 
 | 315 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat72bpp8ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x33);") | 
 
 
 
 
 
 | 316 | 
  | 
 
 
 
 
 
 | 317 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bpp3ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x34);") | 
 
 
 
 
 
 | 318 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat80bpp4ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x35);") | 
 
 
 
 
 
 | 319 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat96bpp5ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x36);") | 
 
 
 
 
 
 | 320 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat112bpp6ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x37);") | 
 
 
 
 
 
 | 321 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat128bpp7ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x38);") | 
 
 
 
 
 
 | 322 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat144bpp8ChannelsAlpha, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x39);") | 
 
 
 
 
 
 | 323 | 
  | 
 
 
 
 
 
 | 324 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppY, 0x91b4db54,0x2df9,0x42f0,0xb4,0x49,0x29,0x09,0xbb,0x3d,0xf8,0x8e);") | 
 
 
 
 
 
 | 325 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppCb, 0x1339f224,0x6bfe,0x4c3e,0x93,0x02,0xe4,0xf3,0xa6,0xd0,0xca,0x2a);") | 
 
 
 
 
 
 | 326 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat8bppCr, 0xb8145053,0x2116,0x49f0,0x88,0x35,0xed,0x84,0x4b,0x20,0x5c,0x51);") | 
 
 
 
 
 
 | 327 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCbCr, 0xff95ba6e,0x11e0,0x4263,0xbb,0x45,0x01,0x72,0x1f,0x34,0x60,0xa4);") | 
 
 
 
 
 
 | 328 | 
  | 
 
 
 
 
 
 | 329 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppYQuantizedDctCoefficients, 0xa355f433,0x48e8,0x4a42,0x84,0xd8,0xe2,0xaa,0x26,0xca,0x80,0xa4);") | 
 
 
 
 
 
 | 330 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCbQuantizedDctCoefficients, 0xd2c4ff61,0x56a5,0x49c2,0x8b,0x5c,0x4c,0x19,0x25,0x96,0x48,0x37);") | 
 
 
 
 
 
 | 331 | 
 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat16bppCrQuantizedDctCoefficients, 0x2fe354f0,0x1680,0x42d8,0x92,0x31,0xe7,0x3c,0x05,0x65,0xbf,0xc1);") | 
 
 
 
 
 
 | 332 | 
  | 
 
 
 
 
 
 | 333 | 
 cpp_quote("#if 0") | 
 
 
 
 
 
 | 334 | 
 typedef DWORD *D2D1_PIXEL_FORMAT; | 
 
 
 
 
 
 | 335 | 
 cpp_quote ("#endif") | 
 
 
 
 
 
 | 336 | 
  | 
 
 
 
 
 
 | 337 | 
 typedef struct WICRect { | 
 
 
 
 
 
 | 338 | 
     INT X; | 
 
 
 
 
 
 | 339 | 
     INT Y; | 
 
 
 
 
 
 | 340 | 
     INT Width; | 
 
 
 
 
 
 | 341 | 
     INT Height; | 
 
 
 
 
 
 | 342 | 
 } WICRect; | 
 
 
 
 
 
 | 343 | 
  | 
 
 
 
 
 
 | 344 | 
 typedef struct WICBitmapPattern { | 
 
 
 
 
 
 | 345 | 
     ULARGE_INTEGER Position; | 
 
 
 
 
 
 | 346 | 
     ULONG Length; | 
 
 
 
 
 
 | 347 | 
     BYTE *Pattern; | 
 
 
 
 
 
 | 348 | 
     BYTE *Mask; | 
 
 
 
 
 
 | 349 | 
     BOOL EndOfStream; | 
 
 
 
 
 
 | 350 | 
 } WICBitmapPattern; | 
 
 
 
 
 
 | 351 | 
  | 
 
 
 
 
 
 | 352 | 
 typedef struct WICImageParameters | 
 
 
 
 
 
 | 353 | 
 { | 
 
 
 
 
 
 | 354 | 
     D2D1_PIXEL_FORMAT PixelFormat; | 
 
 
 
 
 
 | 355 | 
     FLOAT DpiX; | 
 
 
 
 
 
 | 356 | 
     FLOAT DpiY; | 
 
 
 
 
 
 | 357 | 
     FLOAT Top; | 
 
 
 
 
 
 | 358 | 
     FLOAT Left; | 
 
 
 
 
 
 | 359 | 
     UINT32 PixelWidth; | 
 
 
 
 
 
 | 360 | 
     UINT32 PixelHeight; | 
 
 
 
 
 
 | 361 | 
 } WICImageParameters; | 
 
 
 
 
 
 | 362 | 
  | 
 
 
 
 
 
 | 363 | 
 typedef struct WICDdsParameters { | 
 
 
 
 
 
 | 364 | 
     UINT Width; | 
 
 
 
 
 
 | 365 | 
     UINT Height; | 
 
 
 
 
 
 | 366 | 
     UINT Depth; | 
 
 
 
 
 
 | 367 | 
     UINT MipLevels; | 
 
 
 
 
 
 | 368 | 
     UINT ArraySize; | 
 
 
 
 
 
 | 369 | 
     DXGI_FORMAT DxgiFormat; | 
 
 
 
 
 
 | 370 | 
     WICDdsDimension Dimension; | 
 
 
 
 
 
 | 371 | 
     WICDdsAlphaMode AlphaMode; | 
 
 
 
 
 
 | 372 | 
 } WICDdsParameters; | 
 
 
 
 
 
 | 373 | 
  | 
 
 
 
 
 
 | 374 | 
 typedef struct WICDdsFormatInfo { | 
 
 
 
 
 
 | 375 | 
     DXGI_FORMAT DxgiFormat; | 
 
 
 
 
 
 | 376 | 
     UINT BytesPerBlock; | 
 
 
 
 
 
 | 377 | 
     UINT BlockWidth; | 
 
 
 
 
 
 | 378 | 
     UINT BlockHeight; | 
 
 
 
 
 
 | 379 | 
 } WICDdsFormatInfo; | 
 
 
 
 
 
 | 380 | 
  | 
 
 
 
 
 
 | 381 | 
 typedef UINT32 WICColor; | 
 
 
 
 
 
 | 382 | 
  | 
 
 
 
 
 
 | 383 | 
 interface ID2D1Device; | 
 
 
 
 
 
 | 384 | 
 interface ID2D1Image; | 
 
 
 
 
 
 | 385 | 
 interface IWICPalette; | 
 
 
 
 
 
 | 386 | 
  | 
 
 
 
 
 
 | 387 | 
 [ | 
 
 
 
 
 
 | 388 | 
     object, | 
 
 
 
 
 
 | 389 | 
     uuid(3c613a02-34b2-44ea-9a7c-45aea9c6fd6d) | 
 
 
 
 
 
 | 390 | 
 ] | 
 
 
 
 
 
 | 391 | 
 interface IWICColorContext : IUnknown | 
 
 
 
 
 
 | 392 | 
 { | 
 
 
 
 
 
 | 393 | 
     HRESULT InitializeFromFilename( | 
 
 
 
 
 
 | 394 | 
         [in] LPCWSTR wzFilename); | 
 
 
 
 
 
 | 395 | 
  | 
 
 
 
 
 
 | 396 | 
     HRESULT InitializeFromMemory( | 
 
 
 
 
 
 | 397 | 
         [in, size_is(cbBufferSize)] const BYTE *pbBuffer, | 
 
 
 
 
 
 | 398 | 
         [in] UINT cbBufferSize); | 
 
 
 
 
 
 | 399 | 
  | 
 
 
 
 
 
 | 400 | 
     HRESULT InitializeFromExifColorSpace( | 
 
 
 
 
 
 | 401 | 
         [in] UINT value); | 
 
 
 
 
 
 | 402 | 
  | 
 
 
 
 
 
 | 403 | 
     HRESULT GetType( | 
 
 
 
 
 
 | 404 | 
         [out] WICColorContextType *pType); | 
 
 
 
 
 
 | 405 | 
  | 
 
 
 
 
 
 | 406 | 
     HRESULT GetProfileBytes( | 
 
 
 
 
 
 | 407 | 
         [in] UINT cbBuffer, | 
 
 
 
 
 
 | 408 | 
         [in, out, unique, size_is(cbBuffer)] BYTE *pbBuffer, | 
 
 
 
 
 
 | 409 | 
         [out] UINT *pcbActual); | 
 
 
 
 
 
 | 410 | 
  | 
 
 
 
 
 
 | 411 | 
     HRESULT GetExifColorSpace( | 
 
 
 
 
 
 | 412 | 
         [out] UINT *pValue); | 
 
 
 
 
 
 | 413 | 
 } | 
 
 
 
 
 
 | 414 | 
  | 
 
 
 
 
 
 | 415 | 
 [ | 
 
 
 
 
 
 | 416 | 
     object, | 
 
 
 
 
 
 | 417 | 
     uuid(00000120-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 418 | 
 ] | 
 
 
 
 
 
 | 419 | 
 interface IWICBitmapSource : IUnknown | 
 
 
 
 
 
 | 420 | 
 { | 
 
 
 
 
 
 | 421 | 
     HRESULT GetSize( | 
 
 
 
 
 
 | 422 | 
         [out] UINT *puiWidth, | 
 
 
 
 
 
 | 423 | 
         [out] UINT *puiHeight); | 
 
 
 
 
 
 | 424 | 
  | 
 
 
 
 
 
 | 425 | 
     HRESULT GetPixelFormat( | 
 
 
 
 
 
 | 426 | 
         [out] WICPixelFormatGUID *pPixelFormat); | 
 
 
 
 
 
 | 427 | 
  | 
 
 
 
 
 
 | 428 | 
     HRESULT GetResolution( | 
 
 
 
 
 
 | 429 | 
         [out] double *pDpiX, | 
 
 
 
 
 
 | 430 | 
         [out] double *pDpiY); | 
 
 
 
 
 
 | 431 | 
  | 
 
 
 
 
 
 | 432 | 
     HRESULT CopyPalette( | 
 
 
 
 
 
 | 433 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 434 | 
  | 
 
 
 
 
 
 | 435 | 
     HRESULT CopyPixels( | 
 
 
 
 
 
 | 436 | 
         [in] const WICRect *prc, | 
 
 
 
 
 
 | 437 | 
         [in] UINT cbStride, | 
 
 
 
 
 
 | 438 | 
         [in] UINT cbBufferSize, | 
 
 
 
 
 
 | 439 | 
         [out, size_is(cbBufferSize)] BYTE *pbBuffer); | 
 
 
 
 
 
 | 440 | 
 } | 
 
 
 
 
 
 | 441 | 
  | 
 
 
 
 
 
 | 442 | 
 [ | 
 
 
 
 
 
 | 443 | 
     object, | 
 
 
 
 
 
 | 444 | 
     uuid(00000123-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 445 | 
 ] | 
 
 
 
 
 
 | 446 | 
 interface IWICBitmapLock : IUnknown | 
 
 
 
 
 
 | 447 | 
 { | 
 
 
 
 
 
 | 448 | 
     HRESULT GetSize( | 
 
 
 
 
 
 | 449 | 
         [out] UINT *pWidth, | 
 
 
 
 
 
 | 450 | 
         [out] UINT *pHeight); | 
 
 
 
 
 
 | 451 | 
  | 
 
 
 
 
 
 | 452 | 
     HRESULT GetStride( | 
 
 
 
 
 
 | 453 | 
         [out] UINT *pcbStride); | 
 
 
 
 
 
 | 454 | 
  | 
 
 
 
 
 
 | 455 | 
     HRESULT GetDataPointer( | 
 
 
 
 
 
 | 456 | 
         [out] UINT *pcbBufferSize, | 
 
 
 
 
 
 | 457 | 
         [out, size_is(,*pcbBufferSize)] BYTE **ppbData); | 
 
 
 
 
 
 | 458 | 
  | 
 
 
 
 
 
 | 459 | 
     HRESULT GetPixelFormat( | 
 
 
 
 
 
 | 460 | 
         [out] WICPixelFormatGUID *pPixelFormat); | 
 
 
 
 
 
 | 461 | 
 } | 
 
 
 
 
 
 | 462 | 
  | 
 
 
 
 
 
 | 463 | 
 [ | 
 
 
 
 
 
 | 464 | 
     object, | 
 
 
 
 
 
 | 465 | 
     uuid(5009834f-2d6a-41ce-9e1b-17c5aff7a782) | 
 
 
 
 
 
 | 466 | 
 ] | 
 
 
 
 
 
 | 467 | 
 interface IWICBitmapFlipRotator : IWICBitmapSource | 
 
 
 
 
 
 | 468 | 
 { | 
 
 
 
 
 
 | 469 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 470 | 
         [in] IWICBitmapSource *pISource, | 
 
 
 
 
 
 | 471 | 
         [in] WICBitmapTransformOptions options); | 
 
 
 
 
 
 | 472 | 
 } | 
 
 
 
 
 
 | 473 | 
  | 
 
 
 
 
 
 | 474 | 
 [ | 
 
 
 
 
 
 | 475 | 
     object, | 
 
 
 
 
 
 | 476 | 
     uuid(00000121-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 477 | 
 ] | 
 
 
 
 
 
 | 478 | 
 interface IWICBitmap : IWICBitmapSource | 
 
 
 
 
 
 | 479 | 
 { | 
 
 
 
 
 
 | 480 | 
     HRESULT Lock( | 
 
 
 
 
 
 | 481 | 
         [in] const WICRect *prcLock, | 
 
 
 
 
 
 | 482 | 
         [in] DWORD flags, | 
 
 
 
 
 
 | 483 | 
         [out] IWICBitmapLock **ppILock); | 
 
 
 
 
 
 | 484 | 
  | 
 
 
 
 
 
 | 485 | 
     HRESULT SetPalette( | 
 
 
 
 
 
 | 486 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 487 | 
  | 
 
 
 
 
 
 | 488 | 
     HRESULT SetResolution( | 
 
 
 
 
 
 | 489 | 
         [in] double dpiX, | 
 
 
 
 
 
 | 490 | 
         [in] double dpiY); | 
 
 
 
 
 
 | 491 | 
 } | 
 
 
 
 
 
 | 492 | 
  | 
 
 
 
 
 
 | 493 | 
 [ | 
 
 
 
 
 
 | 494 | 
     object, | 
 
 
 
 
 
 | 495 | 
     uuid(00000040-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 496 | 
 ] | 
 
 
 
 
 
 | 497 | 
 interface IWICPalette : IUnknown | 
 
 
 
 
 
 | 498 | 
 { | 
 
 
 
 
 
 | 499 | 
     HRESULT InitializePredefined( | 
 
 
 
 
 
 | 500 | 
         [in] WICBitmapPaletteType ePaletteType, | 
 
 
 
 
 
 | 501 | 
         [in] BOOL fAddTransparentColor); | 
 
 
 
 
 
 | 502 | 
  | 
 
 
 
 
 
 | 503 | 
     HRESULT InitializeCustom( | 
 
 
 
 
 
 | 504 | 
         [in, size_is(colorCount)] WICColor *pColors, | 
 
 
 
 
 
 | 505 | 
         [in] UINT colorCount); | 
 
 
 
 
 
 | 506 | 
  | 
 
 
 
 
 
 | 507 | 
     HRESULT InitializeFromBitmap( | 
 
 
 
 
 
 | 508 | 
         [in] IWICBitmapSource *pISurface, | 
 
 
 
 
 
 | 509 | 
         [in] UINT colorCount, | 
 
 
 
 
 
 | 510 | 
         [in] BOOL fAddTransparentColor); | 
 
 
 
 
 
 | 511 | 
  | 
 
 
 
 
 
 | 512 | 
     HRESULT InitializeFromPalette( | 
 
 
 
 
 
 | 513 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 514 | 
  | 
 
 
 
 
 
 | 515 | 
     HRESULT GetType( | 
 
 
 
 
 
 | 516 | 
         [out] WICBitmapPaletteType *pePaletteType); | 
 
 
 
 
 
 | 517 | 
  | 
 
 
 
 
 
 | 518 | 
     HRESULT GetColorCount( | 
 
 
 
 
 
 | 519 | 
         [out] UINT *pcCount); | 
 
 
 
 
 
 | 520 | 
  | 
 
 
 
 
 
 | 521 | 
     HRESULT GetColors( | 
 
 
 
 
 
 | 522 | 
         [in] UINT colorCount, | 
 
 
 
 
 
 | 523 | 
         [out, size_is(colorCount)] WICColor *pColors, | 
 
 
 
 
 
 | 524 | 
         [out] UINT *pcActualColors); | 
 
 
 
 
 
 | 525 | 
  | 
 
 
 
 
 
 | 526 | 
     HRESULT IsBlackWhite( | 
 
 
 
 
 
 | 527 | 
         [out] BOOL *pfIsBlackWhite); | 
 
 
 
 
 
 | 528 | 
  | 
 
 
 
 
 
 | 529 | 
     HRESULT IsGrayscale( | 
 
 
 
 
 
 | 530 | 
         [out] BOOL *pfIsGrayscale); | 
 
 
 
 
 
 | 531 | 
  | 
 
 
 
 
 
 | 532 | 
     HRESULT HasAlpha( | 
 
 
 
 
 
 | 533 | 
         [out] BOOL *pfHasAlpha); | 
 
 
 
 
 
 | 534 | 
 } | 
 
 
 
 
 
 | 535 | 
  | 
 
 
 
 
 
 | 536 | 
 [ | 
 
 
 
 
 
 | 537 | 
     object, | 
 
 
 
 
 
 | 538 | 
     uuid(23bc3f0a-698b-4357-886b-f24d50671334) | 
 
 
 
 
 
 | 539 | 
 ] | 
 
 
 
 
 
 | 540 | 
 interface IWICComponentInfo : IUnknown | 
 
 
 
 
 
 | 541 | 
 { | 
 
 
 
 
 
 | 542 | 
     HRESULT GetComponentType( | 
 
 
 
 
 
 | 543 | 
         [out] WICComponentType *pType); | 
 
 
 
 
 
 | 544 | 
  | 
 
 
 
 
 
 | 545 | 
     HRESULT GetCLSID( | 
 
 
 
 
 
 | 546 | 
         [out] CLSID *pclsid); | 
 
 
 
 
 
 | 547 | 
  | 
 
 
 
 
 
 | 548 | 
     HRESULT GetSigningStatus( | 
 
 
 
 
 
 | 549 | 
         [out] DWORD *pStatus); | 
 
 
 
 
 
 | 550 | 
  | 
 
 
 
 
 
 | 551 | 
     HRESULT GetAuthor( | 
 
 
 
 
 
 | 552 | 
         [in] UINT cchAuthor, | 
 
 
 
 
 
 | 553 | 
         [in, out, unique, size_is(cchAuthor)] WCHAR *wzAuthor, | 
 
 
 
 
 
 | 554 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 555 | 
  | 
 
 
 
 
 
 | 556 | 
     HRESULT GetVendorGUID( | 
 
 
 
 
 
 | 557 | 
         [out] GUID *pguidVendor); | 
 
 
 
 
 
 | 558 | 
  | 
 
 
 
 
 
 | 559 | 
     HRESULT GetVersion( | 
 
 
 
 
 
 | 560 | 
         [in] UINT cchVersion, | 
 
 
 
 
 
 | 561 | 
         [in, out, unique, size_is(cchVersion)] WCHAR *wzVersion, | 
 
 
 
 
 
 | 562 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 563 | 
  | 
 
 
 
 
 
 | 564 | 
     HRESULT GetSpecVersion( | 
 
 
 
 
 
 | 565 | 
         [in] UINT cchSpecVersion, | 
 
 
 
 
 
 | 566 | 
         [in, out, unique, size_is(cchSpecVersion)] WCHAR *wzSpecVersion, | 
 
 
 
 
 
 | 567 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 568 | 
  | 
 
 
 
 
 
 | 569 | 
     HRESULT GetFriendlyName( | 
 
 
 
 
 
 | 570 | 
         [in] UINT cchFriendlyName, | 
 
 
 
 
 
 | 571 | 
         [in, out, unique, size_is(cchFriendlyName)] WCHAR *wzFriendlyName, | 
 
 
 
 
 
 | 572 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 573 | 
 } | 
 
 
 
 
 
 | 574 | 
  | 
 
 
 
 
 
 | 575 | 
 [ | 
 
 
 
 
 
 | 576 | 
     object, | 
 
 
 
 
 
 | 577 | 
     uuid(30989668-e1c9-4597-b395-458eedb808df) | 
 
 
 
 
 
 | 578 | 
 ] | 
 
 
 
 
 
 | 579 | 
 interface IWICMetadataQueryReader : IUnknown | 
 
 
 
 
 
 | 580 | 
 { | 
 
 
 
 
 
 | 581 | 
     HRESULT GetContainerFormat( | 
 
 
 
 
 
 | 582 | 
         [out] GUID *pguidContainerFormat); | 
 
 
 
 
 
 | 583 | 
  | 
 
 
 
 
 
 | 584 | 
     HRESULT GetLocation( | 
 
 
 
 
 
 | 585 | 
         [in] UINT cchMaxLength, | 
 
 
 
 
 
 | 586 | 
         [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace, | 
 
 
 
 
 
 | 587 | 
         [out] UINT *pcchActualLength); | 
 
 
 
 
 
 | 588 | 
  | 
 
 
 
 
 
 | 589 | 
     HRESULT GetMetadataByName( | 
 
 
 
 
 
 | 590 | 
         [in] LPCWSTR wzName, | 
 
 
 
 
 
 | 591 | 
         [in, out, unique] PROPVARIANT *pvarValue); | 
 
 
 
 
 
 | 592 | 
  | 
 
 
 
 
 
 | 593 | 
     HRESULT GetEnumerator( | 
 
 
 
 
 
 | 594 | 
         [out] IEnumString **ppIEnumString); | 
 
 
 
 
 
 | 595 | 
 } | 
 
 
 
 
 
 | 596 | 
  | 
 
 
 
 
 
 | 597 | 
 [ | 
 
 
 
 
 
 | 598 | 
     object, | 
 
 
 
 
 
 | 599 | 
     uuid(a721791a-0def-4d06-bd91-2118bf1db10b) | 
 
 
 
 
 
 | 600 | 
 ] | 
 
 
 
 
 
 | 601 | 
 interface IWICMetadataQueryWriter : IWICMetadataQueryReader | 
 
 
 
 
 
 | 602 | 
 { | 
 
 
 
 
 
 | 603 | 
     HRESULT SetMetadataByName( | 
 
 
 
 
 
 | 604 | 
         [in] LPCWSTR wzName, | 
 
 
 
 
 
 | 605 | 
         [in] const PROPVARIANT *pvarValue); | 
 
 
 
 
 
 | 606 | 
  | 
 
 
 
 
 
 | 607 | 
     HRESULT RemoveMetadataByName( | 
 
 
 
 
 
 | 608 | 
         [in] LPCWSTR wzName); | 
 
 
 
 
 
 | 609 | 
 } | 
 
 
 
 
 
 | 610 | 
  | 
 
 
 
 
 
 | 611 | 
 [ | 
 
 
 
 
 
 | 612 | 
     object, | 
 
 
 
 
 
 | 613 | 
     uuid(3b16811b-6a43-4ec9-a813-3d930c13b940) | 
 
 
 
 
 
 | 614 | 
 ] | 
 
 
 
 
 
 | 615 | 
 interface IWICBitmapFrameDecode : IWICBitmapSource | 
 
 
 
 
 
 | 616 | 
 { | 
 
 
 
 
 
 | 617 | 
     HRESULT GetMetadataQueryReader( | 
 
 
 
 
 
 | 618 | 
         [out] IWICMetadataQueryReader **ppIMetadataQueryReader); | 
 
 
 
 
 
 | 619 | 
  | 
 
 
 
 
 
 | 620 | 
     HRESULT GetColorContexts( | 
 
 
 
 
 
 | 621 | 
         [in] UINT cCount, | 
 
 
 
 
 
 | 622 | 
         [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts, | 
 
 
 
 
 
 | 623 | 
         [out] UINT *pcActualCount); | 
 
 
 
 
 
 | 624 | 
  | 
 
 
 
 
 
 | 625 | 
     HRESULT GetThumbnail( | 
 
 
 
 
 
 | 626 | 
         [out] IWICBitmapSource **ppIThumbnail); | 
 
 
 
 
 
 | 627 | 
 } | 
 
 
 
 
 
 | 628 | 
  | 
 
 
 
 
 
 | 629 | 
 [ | 
 
 
 
 
 
 | 630 | 
     object, | 
 
 
 
 
 
 | 631 | 
     uuid(e8eda601-3d48-431a-ab44-69059be88bbe) | 
 
 
 
 
 
 | 632 | 
 ] | 
 
 
 
 
 
 | 633 | 
 interface IWICPixelFormatInfo : IWICComponentInfo | 
 
 
 
 
 
 | 634 | 
 { | 
 
 
 
 
 
 | 635 | 
     HRESULT GetFormatGUID( | 
 
 
 
 
 
 | 636 | 
         [out] GUID* pFormat); | 
 
 
 
 
 
 | 637 | 
  | 
 
 
 
 
 
 | 638 | 
     HRESULT GetColorContext( | 
 
 
 
 
 
 | 639 | 
         [out] IWICColorContext **ppIColorContext); | 
 
 
 
 
 
 | 640 | 
  | 
 
 
 
 
 
 | 641 | 
     HRESULT GetBitsPerPixel( | 
 
 
 
 
 
 | 642 | 
         [out] UINT *puiBitsPerPixel); | 
 
 
 
 
 
 | 643 | 
  | 
 
 
 
 
 
 | 644 | 
     HRESULT GetChannelCount( | 
 
 
 
 
 
 | 645 | 
         [out] UINT *puiChannelCount); | 
 
 
 
 
 
 | 646 | 
  | 
 
 
 
 
 
 | 647 | 
     HRESULT GetChannelMask( | 
 
 
 
 
 
 | 648 | 
         [in] UINT uiChannelIndex, | 
 
 
 
 
 
 | 649 | 
         [in] UINT cbMaskBuffer, | 
 
 
 
 
 
 | 650 | 
         [in, out, unique, size_is(cbMaskBuffer)] BYTE *pbMaskBuffer, | 
 
 
 
 
 
 | 651 | 
         [out] UINT *pcbActual); | 
 
 
 
 
 
 | 652 | 
 } | 
 
 
 
 
 
 | 653 | 
  | 
 
 
 
 
 
 | 654 | 
 [ | 
 
 
 
 
 
 | 655 | 
     object, | 
 
 
 
 
 
 | 656 | 
     uuid(a9db33a2-af5f-43c7-b679-74f5984b5aa4) | 
 
 
 
 
 
 | 657 | 
 ] | 
 
 
 
 
 
 | 658 | 
 interface IWICPixelFormatInfo2 : IWICPixelFormatInfo | 
 
 
 
 
 
 | 659 | 
 { | 
 
 
 
 
 
 | 660 | 
     HRESULT SupportsTransparency( | 
 
 
 
 
 
 | 661 | 
         [out] BOOL *pfSupportsTransparency); | 
 
 
 
 
 
 | 662 | 
  | 
 
 
 
 
 
 | 663 | 
     HRESULT GetNumericRepresentation( | 
 
 
 
 
 
 | 664 | 
         [out] WICPixelFormatNumericRepresentation *pNumericRepresentation); | 
 
 
 
 
 
 | 665 | 
 } | 
 
 
 
 
 
 | 666 | 
  | 
 
 
 
 
 
 | 667 | 
 [ | 
 
 
 
 
 
 | 668 | 
     object, | 
 
 
 
 
 
 | 669 | 
     uuid(e87a44c4-b76e-4c47-8b09-298eb12a2714) | 
 
 
 
 
 
 | 670 | 
 ] | 
 
 
 
 
 
 | 671 | 
 interface IWICBitmapCodecInfo : IWICComponentInfo | 
 
 
 
 
 
 | 672 | 
 { | 
 
 
 
 
 
 | 673 | 
     HRESULT GetContainerFormat( | 
 
 
 
 
 
 | 674 | 
         [out] GUID *pguidContainerFormat); | 
 
 
 
 
 
 | 675 | 
  | 
 
 
 
 
 
 | 676 | 
     HRESULT GetPixelFormats( | 
 
 
 
 
 
 | 677 | 
         [in] UINT cFormats, | 
 
 
 
 
 
 | 678 | 
         [in, out, unique, size_is(cFormats)] GUID *pguidPixelFormats, | 
 
 
 
 
 
 | 679 | 
         [out] UINT *pcActual); | 
 
 
 
 
 
 | 680 | 
  | 
 
 
 
 
 
 | 681 | 
     HRESULT GetColorManagementVersion( | 
 
 
 
 
 
 | 682 | 
         [in] UINT cchColorManagementVersion, | 
 
 
 
 
 
 | 683 | 
         [in, out, unique, size_is(cchColorManagementVersion)] WCHAR *wzColorManagementVersion, | 
 
 
 
 
 
 | 684 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 685 | 
  | 
 
 
 
 
 
 | 686 | 
     HRESULT GetDeviceManufacturer( | 
 
 
 
 
 
 | 687 | 
         [in] UINT cchDeviceManufacturer, | 
 
 
 
 
 
 | 688 | 
         [in, out, unique, size_is(cchDeviceManufacturer)] WCHAR *wzDeviceManufacturer, | 
 
 
 
 
 
 | 689 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 690 | 
  | 
 
 
 
 
 
 | 691 | 
     HRESULT GetDeviceModels( | 
 
 
 
 
 
 | 692 | 
         [in] UINT cchDeviceModels, | 
 
 
 
 
 
 | 693 | 
         [in, out, unique, size_is(cchDeviceModels)] WCHAR *wzDeviceModels, | 
 
 
 
 
 
 | 694 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 695 | 
  | 
 
 
 
 
 
 | 696 | 
     HRESULT GetMimeTypes( | 
 
 
 
 
 
 | 697 | 
         [in] UINT cchMimeTypes, | 
 
 
 
 
 
 | 698 | 
         [in, out, unique, size_is(cchMimeTypes)] WCHAR *wzMimeTypes, | 
 
 
 
 
 
 | 699 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 700 | 
  | 
 
 
 
 
 
 | 701 | 
     HRESULT GetFileExtensions( | 
 
 
 
 
 
 | 702 | 
         [in] UINT cchFileExtensions, | 
 
 
 
 
 
 | 703 | 
         [in, out, unique, size_is(cchFileExtensions)] WCHAR *wzFileExtensions, | 
 
 
 
 
 
 | 704 | 
         [out] UINT *pcchActual); | 
 
 
 
 
 
 | 705 | 
  | 
 
 
 
 
 
 | 706 | 
     HRESULT DoesSupportAnimation( | 
 
 
 
 
 
 | 707 | 
         [out] BOOL *pfSupportAnimation); | 
 
 
 
 
 
 | 708 | 
  | 
 
 
 
 
 
 | 709 | 
     HRESULT DoesSupportChromaKey( | 
 
 
 
 
 
 | 710 | 
         [out] BOOL *pfSupportChromaKey); | 
 
 
 
 
 
 | 711 | 
  | 
 
 
 
 
 
 | 712 | 
     HRESULT DoesSupportLossless( | 
 
 
 
 
 
 | 713 | 
         [out] BOOL *pfSupportLossless); | 
 
 
 
 
 
 | 714 | 
  | 
 
 
 
 
 
 | 715 | 
     HRESULT DoesSupportMultiframe( | 
 
 
 
 
 
 | 716 | 
         [out] BOOL *pfSupportMultiframe); | 
 
 
 
 
 
 | 717 | 
  | 
 
 
 
 
 
 | 718 | 
     HRESULT MatchesMimeType( | 
 
 
 
 
 
 | 719 | 
         [in] LPCWSTR wzMimeType, | 
 
 
 
 
 
 | 720 | 
         [out] BOOL *pfMatches); | 
 
 
 
 
 
 | 721 | 
 } | 
 
 
 
 
 
 | 722 | 
  | 
 
 
 
 
 
 | 723 | 
 interface IWICBitmapDecoder; | 
 
 
 
 
 
 | 724 | 
  | 
 
 
 
 
 
 | 725 | 
 [ | 
 
 
 
 
 
 | 726 | 
     object, | 
 
 
 
 
 
 | 727 | 
     uuid(d8cd007f-d08f-4191-9bfc-236ea7f0e4b5) | 
 
 
 
 
 
 | 728 | 
 ] | 
 
 
 
 
 
 | 729 | 
 interface IWICBitmapDecoderInfo : IWICBitmapCodecInfo | 
 
 
 
 
 
 | 730 | 
 { | 
 
 
 
 
 
 | 731 | 
     [local] | 
 
 
 
 
 
 | 732 | 
     HRESULT GetPatterns( | 
 
 
 
 
 
 | 733 | 
         [in] UINT cbSizePatterns, | 
 
 
 
 
 
 | 734 | 
         [in, out, unique] WICBitmapPattern *pPatterns, | 
 
 
 
 
 
 | 735 | 
         [in, out, unique] UINT *pcPatterns, | 
 
 
 
 
 
 | 736 | 
         [in, out, unique] UINT *pcbPatternsActual); | 
 
 
 
 
 
 | 737 | 
  | 
 
 
 
 
 
 | 738 | 
     HRESULT MatchesPattern( | 
 
 
 
 
 
 | 739 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 740 | 
         [out] BOOL *pfMatches); | 
 
 
 
 
 
 | 741 | 
  | 
 
 
 
 
 
 | 742 | 
     HRESULT CreateInstance( | 
 
 
 
 
 
 | 743 | 
         [out] IWICBitmapDecoder **ppIBitmapDecoder); | 
 
 
 
 
 
 | 744 | 
 } | 
 
 
 
 
 
 | 745 | 
  | 
 
 
 
 
 
 | 746 | 
 [ | 
 
 
 
 
 
 | 747 | 
     object, | 
 
 
 
 
 
 | 748 | 
     uuid(9edde9e7-8dee-47ea-99df-e6faf2ed44bf) | 
 
 
 
 
 
 | 749 | 
 ] | 
 
 
 
 
 
 | 750 | 
 interface IWICBitmapDecoder : IUnknown | 
 
 
 
 
 
 | 751 | 
 { | 
 
 
 
 
 
 | 752 | 
     HRESULT QueryCapability( | 
 
 
 
 
 
 | 753 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 754 | 
         [out] DWORD *pdwCapability); | 
 
 
 
 
 
 | 755 | 
  | 
 
 
 
 
 
 | 756 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 757 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 758 | 
         [in] WICDecodeOptions cacheOptions); | 
 
 
 
 
 
 | 759 | 
  | 
 
 
 
 
 
 | 760 | 
     HRESULT GetContainerFormat( | 
 
 
 
 
 
 | 761 | 
         [out] GUID *pguidContainerFormat); | 
 
 
 
 
 
 | 762 | 
  | 
 
 
 
 
 
 | 763 | 
     HRESULT GetDecoderInfo( | 
 
 
 
 
 
 | 764 | 
         [out] IWICBitmapDecoderInfo **ppIDecoderInfo); | 
 
 
 
 
 
 | 765 | 
  | 
 
 
 
 
 
 | 766 | 
     HRESULT CopyPalette( | 
 
 
 
 
 
 | 767 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 768 | 
  | 
 
 
 
 
 
 | 769 | 
     HRESULT GetMetadataQueryReader( | 
 
 
 
 
 
 | 770 | 
         [out] IWICMetadataQueryReader **ppIMetadataQueryReader); | 
 
 
 
 
 
 | 771 | 
  | 
 
 
 
 
 
 | 772 | 
     HRESULT GetPreview( | 
 
 
 
 
 
 | 773 | 
         [out] IWICBitmapSource **ppIBitmapSource); | 
 
 
 
 
 
 | 774 | 
  | 
 
 
 
 
 
 | 775 | 
     HRESULT GetColorContexts( | 
 
 
 
 
 
 | 776 | 
         [in] UINT cCount, | 
 
 
 
 
 
 | 777 | 
         [in, out, unique, size_is(cCount)] IWICColorContext **ppIColorContexts, | 
 
 
 
 
 
 | 778 | 
         [out] UINT *pcActualCount); | 
 
 
 
 
 
 | 779 | 
  | 
 
 
 
 
 
 | 780 | 
     HRESULT GetThumbnail( | 
 
 
 
 
 
 | 781 | 
         [out] IWICBitmapSource **ppIThumbnail); | 
 
 
 
 
 
 | 782 | 
  | 
 
 
 
 
 
 | 783 | 
     HRESULT GetFrameCount( | 
 
 
 
 
 
 | 784 | 
         [out] UINT *pCount); | 
 
 
 
 
 
 | 785 | 
  | 
 
 
 
 
 
 | 786 | 
     HRESULT GetFrame( | 
 
 
 
 
 
 | 787 | 
         [in] UINT index, | 
 
 
 
 
 
 | 788 | 
         [out] IWICBitmapFrameDecode **ppIBitmapFrame); | 
 
 
 
 
 
 | 789 | 
 } | 
 
 
 
 
 
 | 790 | 
  | 
 
 
 
 
 
 | 791 | 
 [ | 
 
 
 
 
 
 | 792 | 
     object, | 
 
 
 
 
 
 | 793 | 
     uuid(00000105-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 794 | 
 ] | 
 
 
 
 
 
 | 795 | 
 interface IWICBitmapFrameEncode : IUnknown | 
 
 
 
 
 
 | 796 | 
 { | 
 
 
 
 
 
 | 797 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 798 | 
         [in, unique] IPropertyBag2 *pIEncoderOptions); | 
 
 
 
 
 
 | 799 | 
  | 
 
 
 
 
 
 | 800 | 
     HRESULT SetSize( | 
 
 
 
 
 
 | 801 | 
         [in] UINT uiWidth, | 
 
 
 
 
 
 | 802 | 
         [in] UINT uiHeight); | 
 
 
 
 
 
 | 803 | 
  | 
 
 
 
 
 
 | 804 | 
     HRESULT SetResolution( | 
 
 
 
 
 
 | 805 | 
         [in] double dpiX, | 
 
 
 
 
 
 | 806 | 
         [in] double dpiY); | 
 
 
 
 
 
 | 807 | 
  | 
 
 
 
 
 
 | 808 | 
     HRESULT SetPixelFormat( | 
 
 
 
 
 
 | 809 | 
         [in, out] WICPixelFormatGUID *pPixelFormat); | 
 
 
 
 
 
 | 810 | 
  | 
 
 
 
 
 
 | 811 | 
     HRESULT SetColorContexts( | 
 
 
 
 
 
 | 812 | 
         [in] UINT cCount, | 
 
 
 
 
 
 | 813 | 
         [in, size_is(cCount)] IWICColorContext **ppIColorContext); | 
 
 
 
 
 
 | 814 | 
  | 
 
 
 
 
 
 | 815 | 
     HRESULT SetPalette( | 
 
 
 
 
 
 | 816 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 817 | 
  | 
 
 
 
 
 
 | 818 | 
     HRESULT SetThumbnail( | 
 
 
 
 
 
 | 819 | 
         [in] IWICBitmapSource *pIThumbnail); | 
 
 
 
 
 
 | 820 | 
  | 
 
 
 
 
 
 | 821 | 
     HRESULT WritePixels( | 
 
 
 
 
 
 | 822 | 
         [in] UINT lineCount, | 
 
 
 
 
 
 | 823 | 
         [in] UINT cbStride, | 
 
 
 
 
 
 | 824 | 
         [in] UINT cbBufferSize, | 
 
 
 
 
 
 | 825 | 
         [in, size_is(cbBufferSize)] BYTE *pbPixels); | 
 
 
 
 
 
 | 826 | 
  | 
 
 
 
 
 
 | 827 | 
     HRESULT WriteSource( | 
 
 
 
 
 
 | 828 | 
         [in] IWICBitmapSource *pIBitmapSource, | 
 
 
 
 
 
 | 829 | 
         [in, unique] WICRect *prc); | 
 
 
 
 
 
 | 830 | 
  | 
 
 
 
 
 
 | 831 | 
     HRESULT Commit(); | 
 
 
 
 
 
 | 832 | 
  | 
 
 
 
 
 
 | 833 | 
     HRESULT GetMetadataQueryWriter( | 
 
 
 
 
 
 | 834 | 
         IWICMetadataQueryWriter **ppIMetadataQueryWriter); | 
 
 
 
 
 
 | 835 | 
 } | 
 
 
 
 
 
 | 836 | 
  | 
 
 
 
 
 
 | 837 | 
 interface IWICBitmapEncoder; | 
 
 
 
 
 
 | 838 | 
  | 
 
 
 
 
 
 | 839 | 
 [ | 
 
 
 
 
 
 | 840 | 
     object, | 
 
 
 
 
 
 | 841 | 
     uuid(94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb) | 
 
 
 
 
 
 | 842 | 
 ] | 
 
 
 
 
 
 | 843 | 
 interface IWICBitmapEncoderInfo : IWICBitmapCodecInfo | 
 
 
 
 
 
 | 844 | 
 { | 
 
 
 
 
 
 | 845 | 
     HRESULT CreateInstance( | 
 
 
 
 
 
 | 846 | 
         [out] IWICBitmapEncoder **ppIBitmapEncoder); | 
 
 
 
 
 
 | 847 | 
 } | 
 
 
 
 
 
 | 848 | 
  | 
 
 
 
 
 
 | 849 | 
 [ | 
 
 
 
 
 
 | 850 | 
     object, | 
 
 
 
 
 
 | 851 | 
     uuid(00000103-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 852 | 
 ] | 
 
 
 
 
 
 | 853 | 
 interface IWICBitmapEncoder : IUnknown | 
 
 
 
 
 
 | 854 | 
 { | 
 
 
 
 
 
 | 855 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 856 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 857 | 
         [in] WICBitmapEncoderCacheOption cacheOption); | 
 
 
 
 
 
 | 858 | 
  | 
 
 
 
 
 
 | 859 | 
     HRESULT GetContainerFormat( | 
 
 
 
 
 
 | 860 | 
         [out] GUID *pguidContainerFormat); | 
 
 
 
 
 
 | 861 | 
  | 
 
 
 
 
 
 | 862 | 
     HRESULT GetEncoderInfo( | 
 
 
 
 
 
 | 863 | 
         [out] IWICBitmapEncoderInfo **ppIEncoderInfo); | 
 
 
 
 
 
 | 864 | 
  | 
 
 
 
 
 
 | 865 | 
     HRESULT SetColorContexts( | 
 
 
 
 
 
 | 866 | 
         [in] UINT cCount, | 
 
 
 
 
 
 | 867 | 
         [in, size_is(cCount)] IWICColorContext **ppIColorContext); | 
 
 
 
 
 
 | 868 | 
  | 
 
 
 
 
 
 | 869 | 
     HRESULT SetPalette( | 
 
 
 
 
 
 | 870 | 
         [in] IWICPalette *pIPalette); | 
 
 
 
 
 
 | 871 | 
  | 
 
 
 
 
 
 | 872 | 
     HRESULT SetThumbnail( | 
 
 
 
 
 
 | 873 | 
         [in] IWICBitmapSource *pIThumbnail); | 
 
 
 
 
 
 | 874 | 
  | 
 
 
 
 
 
 | 875 | 
     HRESULT SetPreview( | 
 
 
 
 
 
 | 876 | 
         [in] IWICBitmapSource *pIPreview); | 
 
 
 
 
 
 | 877 | 
  | 
 
 
 
 
 
 | 878 | 
     HRESULT CreateNewFrame( | 
 
 
 
 
 
 | 879 | 
         [out] IWICBitmapFrameEncode **ppIFrameEncode, | 
 
 
 
 
 
 | 880 | 
         [in, out, unique] IPropertyBag2 **ppIEncoderOptions); | 
 
 
 
 
 
 | 881 | 
  | 
 
 
 
 
 
 | 882 | 
     HRESULT Commit(); | 
 
 
 
 
 
 | 883 | 
  | 
 
 
 
 
 
 | 884 | 
     HRESULT GetMetadataQueryWriter( | 
 
 
 
 
 
 | 885 | 
         [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter); | 
 
 
 
 
 
 | 886 | 
 } | 
 
 
 
 
 
 | 887 | 
  | 
 
 
 
 
 
 | 888 | 
 [ | 
 
 
 
 
 
 | 889 | 
     object, | 
 
 
 
 
 
 | 890 | 
     uuid(00000301-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 891 | 
 ] | 
 
 
 
 
 
 | 892 | 
 interface IWICFormatConverter : IWICBitmapSource | 
 
 
 
 
 
 | 893 | 
 { | 
 
 
 
 
 
 | 894 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 895 | 
         [in] IWICBitmapSource *pISource, | 
 
 
 
 
 
 | 896 | 
         [in] REFWICPixelFormatGUID dstFormat, | 
 
 
 
 
 
 | 897 | 
         [in] WICBitmapDitherType dither, | 
 
 
 
 
 
 | 898 | 
         [in] IWICPalette *pIPalette, | 
 
 
 
 
 
 | 899 | 
         [in] double alphaThresholdPercent, | 
 
 
 
 
 
 | 900 | 
         [in] WICBitmapPaletteType paletteTranslate); | 
 
 
 
 
 
 | 901 | 
  | 
 
 
 
 
 
 | 902 | 
     HRESULT CanConvert( | 
 
 
 
 
 
 | 903 | 
         [in] REFWICPixelFormatGUID srcPixelFormat, | 
 
 
 
 
 
 | 904 | 
         [in] REFWICPixelFormatGUID dstPixelFormat, | 
 
 
 
 
 
 | 905 | 
         [out] BOOL *pfCanConvert); | 
 
 
 
 
 
 | 906 | 
 } | 
 
 
 
 
 
 | 907 | 
  | 
 
 
 
 
 
 | 908 | 
 [ | 
 
 
 
 
 
 | 909 | 
     object, | 
 
 
 
 
 
 | 910 | 
     uuid(9f34fb65-13f4-4f15-bc57-3726b5e53d9f) | 
 
 
 
 
 
 | 911 | 
 ] | 
 
 
 
 
 
 | 912 | 
 interface IWICFormatConverterInfo : IWICComponentInfo | 
 
 
 
 
 
 | 913 | 
 { | 
 
 
 
 
 
 | 914 | 
     HRESULT GetPixelFormats( | 
 
 
 
 
 
 | 915 | 
         [in] UINT cFormats, | 
 
 
 
 
 
 | 916 | 
         [in, out, size_is(cFormats)] WICPixelFormatGUID *pPixelFormatGUIDs, | 
 
 
 
 
 
 | 917 | 
         [out] UINT *pcActual); | 
 
 
 
 
 
 | 918 | 
  | 
 
 
 
 
 
 | 919 | 
     HRESULT CreateInstance( | 
 
 
 
 
 
 | 920 | 
         [out] IWICFormatConverter **ppIConverter); | 
 
 
 
 
 
 | 921 | 
 } | 
 
 
 
 
 
 | 922 | 
  | 
 
 
 
 
 
 | 923 | 
 [ | 
 
 
 
 
 
 | 924 | 
     object, | 
 
 
 
 
 
 | 925 | 
     uuid(135ff860-22b7-4ddf-b0f6-218f4f299a43) | 
 
 
 
 
 
 | 926 | 
 ] | 
 
 
 
 
 
 | 927 | 
 interface IWICStream : IStream | 
 
 
 
 
 
 | 928 | 
 { | 
 
 
 
 
 
 | 929 | 
     HRESULT InitializeFromIStream( | 
 
 
 
 
 
 | 930 | 
         [in] IStream *pIStream); | 
 
 
 
 
 
 | 931 | 
  | 
 
 
 
 
 
 | 932 | 
     HRESULT InitializeFromFilename( | 
 
 
 
 
 
 | 933 | 
         [in] LPCWSTR wzFileName, | 
 
 
 
 
 
 | 934 | 
         [in] DWORD dwAccessMode); | 
 
 
 
 
 
 | 935 | 
  | 
 
 
 
 
 
 | 936 | 
     HRESULT InitializeFromMemory( | 
 
 
 
 
 
 | 937 | 
         [in, size_is(cbBufferSize)] BYTE *pbBuffer, | 
 
 
 
 
 
 | 938 | 
         [in] DWORD cbBufferSize); | 
 
 
 
 
 
 | 939 | 
  | 
 
 
 
 
 
 | 940 | 
     HRESULT InitializeFromIStreamRegion( | 
 
 
 
 
 
 | 941 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 942 | 
         [in] ULARGE_INTEGER ulOffset, | 
 
 
 
 
 
 | 943 | 
         [in] ULARGE_INTEGER ulMaxSize); | 
 
 
 
 
 
 | 944 | 
 } | 
 
 
 
 
 
 | 945 | 
  | 
 
 
 
 
 
 | 946 | 
 [ | 
 
 
 
 
 
 | 947 | 
     object, | 
 
 
 
 
 
 | 948 | 
     uuid(00000302-a8f2-4877-ba0a-fd2b6645fb94) | 
 
 
 
 
 
 | 949 | 
 ] | 
 
 
 
 
 
 | 950 | 
 interface IWICBitmapScaler : IWICBitmapSource | 
 
 
 
 
 
 | 951 | 
 { | 
 
 
 
 
 
 | 952 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 953 | 
         [in] IWICBitmapSource *pISource, | 
 
 
 
 
 
 | 954 | 
         [in] UINT uiWidth, | 
 
 
 
 
 
 | 955 | 
         [in] UINT uiHeight, | 
 
 
 
 
 
 | 956 | 
         [in] WICBitmapInterpolationMode mode); | 
 
 
 
 
 
 | 957 | 
 } | 
 
 
 
 
 
 | 958 | 
  | 
 
 
 
 
 
 | 959 | 
 [ | 
 
 
 
 
 
 | 960 | 
     object, | 
 
 
 
 
 
 | 961 | 
     uuid(e4fbcf03-223d-4e81-9333-d635556dd1b5) | 
 
 
 
 
 
 | 962 | 
 ] | 
 
 
 
 
 
 | 963 | 
 interface IWICBitmapClipper : IWICBitmapSource | 
 
 
 
 
 
 | 964 | 
 { | 
 
 
 
 
 
 | 965 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 966 | 
         [in] IWICBitmapSource *pISource, | 
 
 
 
 
 
 | 967 | 
         [in] const WICRect *prc); | 
 
 
 
 
 
 | 968 | 
 } | 
 
 
 
 
 
 | 969 | 
  | 
 
 
 
 
 
 | 970 | 
 [ | 
 
 
 
 
 
 | 971 | 
     object, | 
 
 
 
 
 
 | 972 | 
     uuid(b66f034f-d0e2-40ab-b436-6de39e321a94) | 
 
 
 
 
 
 | 973 | 
 ] | 
 
 
 
 
 
 | 974 | 
 interface IWICColorTransform : IWICBitmapSource | 
 
 
 
 
 
 | 975 | 
 { | 
 
 
 
 
 
 | 976 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 977 | 
         [in] IWICBitmapSource *pIBitmapSource, | 
 
 
 
 
 
 | 978 | 
         [in] IWICColorContext *pIContextSource, | 
 
 
 
 
 
 | 979 | 
         [in] IWICColorContext *pIContextDest, | 
 
 
 
 
 
 | 980 | 
         [in] REFWICPixelFormatGUID pixelFmtDest); | 
 
 
 
 
 
 | 981 | 
 } | 
 
 
 
 
 
 | 982 | 
  | 
 
 
 
 
 
 | 983 | 
 [ | 
 
 
 
 
 
 | 984 | 
     object, | 
 
 
 
 
 
 | 985 | 
     uuid(b84e2c09-78c9-4ac4-8bd3-524ae1663a2f) | 
 
 
 
 
 
 | 986 | 
 ] | 
 
 
 
 
 
 | 987 | 
 interface IWICFastMetadataEncoder : IUnknown | 
 
 
 
 
 
 | 988 | 
 { | 
 
 
 
 
 
 | 989 | 
     HRESULT Commit(); | 
 
 
 
 
 
 | 990 | 
  | 
 
 
 
 
 
 | 991 | 
     HRESULT GetMetadataQueryWriter( | 
 
 
 
 
 
 | 992 | 
         [out] IWICMetadataQueryWriter **ppIMetadataQueryWriter); | 
 
 
 
 
 
 | 993 | 
 } | 
 
 
 
 
 
 | 994 | 
  | 
 
 
 
 
 
 | 995 | 
 [ | 
 
 
 
 
 
 | 996 | 
     object, | 
 
 
 
 
 
 | 997 | 
     uuid(04c75bf8-3ce1-473b-acc5-3cc4f5e94999), | 
 
 
 
 
 
 | 998 | 
     local | 
 
 
 
 
 
 | 999 | 
 ] | 
 
 
 
 
 
 | 1000 | 
 interface IWICImageEncoder : IUnknown | 
 
 
 
 
 
 | 1001 | 
 { | 
 
 
 
 
 
 | 1002 | 
     HRESULT WriteFrame( | 
 
 
 
 
 
 | 1003 | 
         [in] ID2D1Image *image, | 
 
 
 
 
 
 | 1004 | 
         [in] IWICBitmapFrameEncode *encode, | 
 
 
 
 
 
 | 1005 | 
         [in, unique] const WICImageParameters *parameters); | 
 
 
 
 
 
 | 1006 | 
  | 
 
 
 
 
 
 | 1007 | 
     HRESULT WriteFrameThumbnail( | 
 
 
 
 
 
 | 1008 | 
         [in] ID2D1Image *image, | 
 
 
 
 
 
 | 1009 | 
         [in] IWICBitmapFrameEncode *encode, | 
 
 
 
 
 
 | 1010 | 
         [in, unique] const WICImageParameters *parameters); | 
 
 
 
 
 
 | 1011 | 
  | 
 
 
 
 
 
 | 1012 | 
     HRESULT WriteThumbnail( | 
 
 
 
 
 
 | 1013 | 
         [in] ID2D1Image *image, | 
 
 
 
 
 
 | 1014 | 
         [in] IWICBitmapEncoder *encoder, | 
 
 
 
 
 
 | 1015 | 
         [in, unique] const WICImageParameters *parameters); | 
 
 
 
 
 
 | 1016 | 
 } | 
 
 
 
 
 
 | 1017 | 
  | 
 
 
 
 
 
 | 1018 | 
 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory,  0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);") | 
 
 
 
 
 
 | 1019 | 
 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory1, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);") | 
 
 
 
 
 
 | 1020 | 
 cpp_quote("DEFINE_GUID(CLSID_WICImagingFactory2, 0x317d06e8,0x5f24,0x433d,0xbd,0xf7,0x79,0xce,0x68,0xd8,0xab,0xc2);") | 
 
 
 
 
 
 | 1021 | 
  | 
 
 
 
 
 
 | 1022 | 
 [ | 
 
 
 
 
 
 | 1023 | 
     object, | 
 
 
 
 
 
 | 1024 | 
     uuid(ec5ec8a9-c395-4314-9c77-54d7a935ff70) | 
 
 
 
 
 
 | 1025 | 
 ] | 
 
 
 
 
 
 | 1026 | 
 interface IWICImagingFactory : IUnknown | 
 
 
 
 
 
 | 1027 | 
 { | 
 
 
 
 
 
 | 1028 | 
     HRESULT CreateDecoderFromFilename( | 
 
 
 
 
 
 | 1029 | 
         [in] LPCWSTR wzFilename, | 
 
 
 
 
 
 | 1030 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1031 | 
         [in] DWORD dwDesiredAccess, | 
 
 
 
 
 
 | 1032 | 
         [in] WICDecodeOptions metadataOptions, | 
 
 
 
 
 
 | 1033 | 
         [out, retval] IWICBitmapDecoder **ppIDecoder); | 
 
 
 
 
 
 | 1034 | 
  | 
 
 
 
 
 
 | 1035 | 
     HRESULT CreateDecoderFromStream( | 
 
 
 
 
 
 | 1036 | 
         [in] IStream *pIStream, | 
 
 
 
 
 
 | 1037 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1038 | 
         [in] WICDecodeOptions metadataOptions, | 
 
 
 
 
 
 | 1039 | 
         [out, retval] IWICBitmapDecoder **ppIDecoder); | 
 
 
 
 
 
 | 1040 | 
  | 
 
 
 
 
 
 | 1041 | 
     HRESULT CreateDecoderFromFileHandle( | 
 
 
 
 
 
 | 1042 | 
         [in] ULONG_PTR hFile, | 
 
 
 
 
 
 | 1043 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1044 | 
         [in] WICDecodeOptions metadataOptions, | 
 
 
 
 
 
 | 1045 | 
         [out, retval] IWICBitmapDecoder **ppIDecoder); | 
 
 
 
 
 
 | 1046 | 
  | 
 
 
 
 
 
 | 1047 | 
     HRESULT CreateComponentInfo( | 
 
 
 
 
 
 | 1048 | 
         [in] REFCLSID clsidComponent, | 
 
 
 
 
 
 | 1049 | 
         [out] IWICComponentInfo **ppIInfo); | 
 
 
 
 
 
 | 1050 | 
  | 
 
 
 
 
 
 | 1051 | 
     HRESULT CreateDecoder( | 
 
 
 
 
 
 | 1052 | 
         [in] REFGUID guidContainerFormat, | 
 
 
 
 
 
 | 1053 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1054 | 
         [out, retval] IWICBitmapDecoder **ppIDecoder); | 
 
 
 
 
 
 | 1055 | 
  | 
 
 
 
 
 
 | 1056 | 
     HRESULT CreateEncoder( | 
 
 
 
 
 
 | 1057 | 
         [in] REFGUID guidContainerFormat, | 
 
 
 
 
 
 | 1058 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1059 | 
         [out, retval] IWICBitmapEncoder **ppIEncoder); | 
 
 
 
 
 
 | 1060 | 
  | 
 
 
 
 
 
 | 1061 | 
     HRESULT CreatePalette( | 
 
 
 
 
 
 | 1062 | 
         [out] IWICPalette **ppIPalette); | 
 
 
 
 
 
 | 1063 | 
  | 
 
 
 
 
 
 | 1064 | 
     HRESULT CreateFormatConverter( | 
 
 
 
 
 
 | 1065 | 
         [out] IWICFormatConverter **ppIFormatConverter); | 
 
 
 
 
 
 | 1066 | 
  | 
 
 
 
 
 
 | 1067 | 
     HRESULT CreateBitmapScaler( | 
 
 
 
 
 
 | 1068 | 
         [out] IWICBitmapScaler **ppIBitmapScaler); | 
 
 
 
 
 
 | 1069 | 
  | 
 
 
 
 
 
 | 1070 | 
     HRESULT CreateBitmapClipper( | 
 
 
 
 
 
 | 1071 | 
         [out] IWICBitmapClipper **ppIBitmapClipper); | 
 
 
 
 
 
 | 1072 | 
  | 
 
 
 
 
 
 | 1073 | 
     HRESULT CreateBitmapFlipRotator( | 
 
 
 
 
 
 | 1074 | 
         [out] IWICBitmapFlipRotator **ppIBitmapFlipRotator); | 
 
 
 
 
 
 | 1075 | 
  | 
 
 
 
 
 
 | 1076 | 
     HRESULT CreateStream( | 
 
 
 
 
 
 | 1077 | 
         [out] IWICStream **ppIWICStream); | 
 
 
 
 
 
 | 1078 | 
  | 
 
 
 
 
 
 | 1079 | 
     HRESULT CreateColorContext( | 
 
 
 
 
 
 | 1080 | 
         [out] IWICColorContext **ppIWICColorContext); | 
 
 
 
 
 
 | 1081 | 
  | 
 
 
 
 
 
 | 1082 | 
     HRESULT CreateColorTransformer( | 
 
 
 
 
 
 | 1083 | 
         [out] IWICColorTransform **ppIWICColorTransform); | 
 
 
 
 
 
 | 1084 | 
  | 
 
 
 
 
 
 | 1085 | 
     HRESULT CreateBitmap( | 
 
 
 
 
 
 | 1086 | 
         [in] UINT uiWidth, | 
 
 
 
 
 
 | 1087 | 
         [in] UINT uiHeight, | 
 
 
 
 
 
 | 1088 | 
         [in] REFWICPixelFormatGUID pixelFormat, | 
 
 
 
 
 
 | 1089 | 
         [in] WICBitmapCreateCacheOption option, | 
 
 
 
 
 
 | 1090 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1091 | 
  | 
 
 
 
 
 
 | 1092 | 
     HRESULT CreateBitmapFromSource( | 
 
 
 
 
 
 | 1093 | 
         [in] IWICBitmapSource *piBitmapSource, | 
 
 
 
 
 
 | 1094 | 
         [in] WICBitmapCreateCacheOption option, | 
 
 
 
 
 
 | 1095 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1096 | 
  | 
 
 
 
 
 
 | 1097 | 
     HRESULT CreateBitmapFromSourceRect( | 
 
 
 
 
 
 | 1098 | 
         [in] IWICBitmapSource *piBitmapSource, | 
 
 
 
 
 
 | 1099 | 
         [in] UINT x, | 
 
 
 
 
 
 | 1100 | 
         [in] UINT y, | 
 
 
 
 
 
 | 1101 | 
         [in] UINT width, | 
 
 
 
 
 
 | 1102 | 
         [in] UINT height, | 
 
 
 
 
 
 | 1103 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1104 | 
  | 
 
 
 
 
 
 | 1105 | 
     HRESULT CreateBitmapFromMemory( | 
 
 
 
 
 
 | 1106 | 
         [in] UINT uiWidth, | 
 
 
 
 
 
 | 1107 | 
         [in] UINT uiHeight, | 
 
 
 
 
 
 | 1108 | 
         [in] REFWICPixelFormatGUID pixelFormat, | 
 
 
 
 
 
 | 1109 | 
         [in] UINT cbStride, | 
 
 
 
 
 
 | 1110 | 
         [in] UINT cbBufferSize, | 
 
 
 
 
 
 | 1111 | 
         [in, size_is(cbBufferSize)] BYTE *pbBuffer, | 
 
 
 
 
 
 | 1112 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1113 | 
  | 
 
 
 
 
 
 | 1114 | 
     HRESULT CreateBitmapFromHBITMAP( | 
 
 
 
 
 
 | 1115 | 
         [in] HBITMAP hBitmap, | 
 
 
 
 
 
 | 1116 | 
         [in, unique] HPALETTE hPalette, | 
 
 
 
 
 
 | 1117 | 
         [in] WICBitmapAlphaChannelOption options, | 
 
 
 
 
 
 | 1118 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1119 | 
  | 
 
 
 
 
 
 | 1120 | 
     HRESULT CreateBitmapFromHICON( | 
 
 
 
 
 
 | 1121 | 
         [in] HICON hIcon, | 
 
 
 
 
 
 | 1122 | 
         [out] IWICBitmap **ppIBitmap); | 
 
 
 
 
 
 | 1123 | 
  | 
 
 
 
 
 
 | 1124 | 
     HRESULT CreateComponentEnumerator( | 
 
 
 
 
 
 | 1125 | 
         [in] DWORD componentTypes, | 
 
 
 
 
 
 | 1126 | 
         [in] DWORD options, | 
 
 
 
 
 
 | 1127 | 
         [out] IEnumUnknown **ppIEnumUnknown); | 
 
 
 
 
 
 | 1128 | 
  | 
 
 
 
 
 
 | 1129 | 
     HRESULT CreateFastMetadataEncoderFromDecoder( | 
 
 
 
 
 
 | 1130 | 
         [in] IWICBitmapDecoder *pIDecoder, | 
 
 
 
 
 
 | 1131 | 
         [out] IWICFastMetadataEncoder **ppIFastEncoder); | 
 
 
 
 
 
 | 1132 | 
  | 
 
 
 
 
 
 | 1133 | 
     HRESULT CreateFastMetadataEncoderFromFrameDecode( | 
 
 
 
 
 
 | 1134 | 
         [in] IWICBitmapFrameDecode *pIFrameDecoder, | 
 
 
 
 
 
 | 1135 | 
         [out] IWICFastMetadataEncoder **ppIFastEncoder); | 
 
 
 
 
 
 | 1136 | 
  | 
 
 
 
 
 
 | 1137 | 
     HRESULT CreateQueryWriter( | 
 
 
 
 
 
 | 1138 | 
         [in] REFGUID guidMetadataFormat, | 
 
 
 
 
 
 | 1139 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1140 | 
         [out] IWICMetadataQueryWriter **ppIQueryWriter); | 
 
 
 
 
 
 | 1141 | 
  | 
 
 
 
 
 
 | 1142 | 
     HRESULT CreateQueryWriterFromReader( | 
 
 
 
 
 
 | 1143 | 
         [in] IWICMetadataQueryReader *pIQueryReader, | 
 
 
 
 
 
 | 1144 | 
         [in, unique] const GUID *pguidVendor, | 
 
 
 
 
 
 | 1145 | 
         [out] IWICMetadataQueryWriter **ppIQueryWriter); | 
 
 
 
 
 
 | 1146 | 
 } | 
 
 
 
 
 
 | 1147 | 
  | 
 
 
 
 
 
 | 1148 | 
 [ | 
 
 
 
 
 
 | 1149 | 
    object, | 
 
 
 
 
 
 | 1150 | 
    uuid(7b816b45-1996-4476-b132-de9e247c8af0), | 
 
 
 
 
 
 | 1151 | 
    local | 
 
 
 
 
 
 | 1152 | 
 ] | 
 
 
 
 
 
 | 1153 | 
 interface IWICImagingFactory2 : IWICImagingFactory | 
 
 
 
 
 
 | 1154 | 
 { | 
 
 
 
 
 
 | 1155 | 
     HRESULT CreateImageEncoder( | 
 
 
 
 
 
 | 1156 | 
         [in] ID2D1Device *device, | 
 
 
 
 
 
 | 1157 | 
         [out] IWICImageEncoder **encoder); | 
 
 
 
 
 
 | 1158 | 
 } | 
 
 
 
 
 
 | 1159 | 
  | 
 
 
 
 
 
 | 1160 | 
 [ | 
 
 
 
 
 
 | 1161 | 
     local, | 
 
 
 
 
 
 | 1162 | 
     object, | 
 
 
 
 
 
 | 1163 | 
     uuid(dc2bb46d-3f07-481e-8625-220c4aedbb33) | 
 
 
 
 
 
 | 1164 | 
 ] | 
 
 
 
 
 
 | 1165 | 
 interface IWICEnumMetadataItem : IUnknown | 
 
 
 
 
 
 | 1166 | 
 { | 
 
 
 
 
 
 | 1167 | 
     HRESULT Next( | 
 
 
 
 
 
 | 1168 | 
         [in] ULONG celt, | 
 
 
 
 
 
 | 1169 | 
         [in, out, unique, size_is(celt)] PROPVARIANT *rgeltSchema, | 
 
 
 
 
 
 | 1170 | 
         [in, out, size_is(celt)] PROPVARIANT *rgeltId, | 
 
 
 
 
 
 | 1171 | 
         [in, out, optional, size_is(celt)] PROPVARIANT *rgeltValue, | 
 
 
 
 
 
 | 1172 | 
         [out, optional] ULONG *pceltFetched); | 
 
 
 
 
 
 | 1173 | 
  | 
 
 
 
 
 
 | 1174 | 
     HRESULT Skip( | 
 
 
 
 
 
 | 1175 | 
         [in] ULONG celt); | 
 
 
 
 
 
 | 1176 | 
  | 
 
 
 
 
 
 | 1177 | 
     HRESULT Reset(); | 
 
 
 
 
 
 | 1178 | 
  | 
 
 
 
 
 
 | 1179 | 
     HRESULT Clone( | 
 
 
 
 
 
 | 1180 | 
         [out] IWICEnumMetadataItem **ppIEnumMetadataItem); | 
 
 
 
 
 
 | 1181 | 
 } | 
 
 
 
 
 
 | 1182 | 
  | 
 
 
 
 
 
 | 1183 | 
 [ | 
 
 
 
 
 
 | 1184 | 
     object, | 
 
 
 
 
 
 | 1185 | 
     uuid(409cd537-8532-40cb-9774-e2feb2df4e9c) | 
 
 
 
 
 
 | 1186 | 
 ] | 
 
 
 
 
 
 | 1187 | 
 interface IWICDdsDecoder : IUnknown | 
 
 
 
 
 
 | 1188 | 
 { | 
 
 
 
 
 
 | 1189 | 
     HRESULT GetParameters( | 
 
 
 
 
 
 | 1190 | 
         [out] WICDdsParameters *parameters); | 
 
 
 
 
 
 | 1191 | 
  | 
 
 
 
 
 
 | 1192 | 
     HRESULT GetFrame( | 
 
 
 
 
 
 | 1193 | 
         [in] UINT arrayIndex, | 
 
 
 
 
 
 | 1194 | 
         [in] UINT mipLevel, | 
 
 
 
 
 
 | 1195 | 
         [in] UINT sliceIndex, | 
 
 
 
 
 
 | 1196 | 
         [out, retval] IWICBitmapFrameDecode **bitmapFrame); | 
 
 
 
 
 
 | 1197 | 
 }; | 
 
 
 
 
 
 | 1198 | 
  | 
 
 
 
 
 
 | 1199 | 
 [ | 
 
 
 
 
 
 | 1200 | 
     object, | 
 
 
 
 
 
 | 1201 | 
     uuid(5cacdb4c-407e-41b3-b936-d0f010cd6732) | 
 
 
 
 
 
 | 1202 | 
 ] | 
 
 
 
 
 
 | 1203 | 
 interface IWICDdsEncoder : IUnknown | 
 
 
 
 
 
 | 1204 | 
 { | 
 
 
 
 
 
 | 1205 | 
     HRESULT SetParameters( | 
 
 
 
 
 
 | 1206 | 
         [in] WICDdsParameters *parameters); | 
 
 
 
 
 
 | 1207 | 
  | 
 
 
 
 
 
 | 1208 | 
     HRESULT GetParameters( | 
 
 
 
 
 
 | 1209 | 
         [out] WICDdsParameters *parameters); | 
 
 
 
 
 
 | 1210 | 
  | 
 
 
 
 
 
 | 1211 | 
     HRESULT CreateNewFrame( | 
 
 
 
 
 
 | 1212 | 
         [out] IWICBitmapFrameEncode **frameEncode, | 
 
 
 
 
 
 | 1213 | 
         [out, optional] UINT *arrayIndex, | 
 
 
 
 
 
 | 1214 | 
         [out, optional] UINT *mipLevel, | 
 
 
 
 
 
 | 1215 | 
         [out, optional] UINT *sliceIndex); | 
 
 
 
 
 
 | 1216 | 
 }; | 
 
 
 
 
 
 | 1217 | 
  | 
 
 
 
 
 
 | 1218 | 
 [ | 
 
 
 
 
 
 | 1219 | 
     object, | 
 
 
 
 
 
 | 1220 | 
     uuid(3d4c0c61-18a4-41e4-bd80-481a4fc9f464) | 
 
 
 
 
 
 | 1221 | 
 ] | 
 
 
 
 
 
 | 1222 | 
 interface IWICDdsFrameDecode : IUnknown | 
 
 
 
 
 
 | 1223 | 
 { | 
 
 
 
 
 
 | 1224 | 
     HRESULT GetSizeInBlocks( | 
 
 
 
 
 
 | 1225 | 
         [out] UINT *widthInBlocks, | 
 
 
 
 
 
 | 1226 | 
         [out] UINT *heightInBlocks); | 
 
 
 
 
 
 | 1227 | 
  | 
 
 
 
 
 
 | 1228 | 
     HRESULT GetFormatInfo( | 
 
 
 
 
 
 | 1229 | 
         [out] WICDdsFormatInfo *formatInfo); | 
 
 
 
 
 
 | 1230 | 
  | 
 
 
 
 
 
 | 1231 | 
     HRESULT CopyBlocks( | 
 
 
 
 
 
 | 1232 | 
         [in, unique] const WICRect *boundsInBlocks, | 
 
 
 
 
 
 | 1233 | 
         [in] UINT stride, | 
 
 
 
 
 
 | 1234 | 
         [in] UINT bufferSize, | 
 
 
 
 
 
 | 1235 | 
         [out, size_is(bufferSize)] BYTE *buffer); | 
 
 
 
 
 
 | 1236 | 
 }; | 
 
 
 
 
 
 | 1237 | 
  | 
 
 
 
 
 
 | 1238 | 
 [ | 
 
 
 
 
 
 | 1239 | 
     object, | 
 
 
 
 
 
 | 1240 | 
     uuid(b9bd430d-28a8-41d3-a1f5-f36ee02840bf) | 
 
 
 
 
 
 | 1241 | 
 ] | 
 
 
 
 
 
 | 1242 | 
 interface IWICWineDecoder : IUnknown | 
 
 
 
 
 
 | 1243 | 
 { | 
 
 
 
 
 
 | 1244 | 
     HRESULT Initialize( | 
 
 
 
 
 
 | 1245 | 
         [in] IStream *stream, | 
 
 
 
 
 
 | 1246 | 
         [in] WICDecodeOptions options); | 
 
 
 
 
 
 | 1247 | 
 }; | 
 
 
 
 
 
 | 1248 | 
  | 
 
 
 
 
 
 | 1249 | 
 cpp_quote("HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);") | 
 
 
 
 
 
 | 1250 | 
 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSection(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap);") | 
 
 
 
 
 
 | 1251 | 
 cpp_quote("HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap);") | 
 
 
 
 
 
 | 1252 | 
  | 
 
 
 
 
 
 | 1253 | 
 cpp_quote("HRESULT WINAPI WICMapGuidToShortName(REFGUID,UINT,WCHAR *,UINT *);") | 
 
 
 
 
 
 | 1254 | 
 cpp_quote("HRESULT WINAPI WICMapShortNameToGuid(PCWSTR,GUID *);") | 
 
 
 
 
 
 | 1255 | 
 cpp_quote("HRESULT WINAPI WICMapSchemaToName(REFGUID,LPWSTR,UINT,WCHAR *,UINT *);") | 
 
 
 
 
 
 | 1256 | 
  | 
 
 
 
 
 
 | 1257 | 
 cpp_quote("DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);") | 
 
 
 
 
 
 | 1258 | 
 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);") | 
 
 
 
 
 
 | 1259 | 
 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder1, 0x389ea17b,0x5078,0x4cde,0xb6,0xef,0x25,0xc1,0x51,0x75,0xc7,0x51);") | 
 
 
 
 
 
 | 1260 | 
 cpp_quote("DEFINE_GUID(CLSID_WICPngDecoder2, 0xe018945b,0xaa86,0x4008,0x9b,0xd4,0x67,0x77,0xa1,0xe4,0x0c,0x11);") | 
 
 
 
 
 
 | 1261 | 
 cpp_quote("DEFINE_GUID(CLSID_WICIcoDecoder, 0xc61bfcdf,0x2e0f,0x4aad,0xa8,0xd7,0xe0,0x6b,0xaf,0xeb,0xcd,0xfe);") | 
 
 
 
 
 
 | 1262 | 
 cpp_quote("DEFINE_GUID(CLSID_WICJpegDecoder, 0x9456a480,0xe88b,0x43ea,0x9e,0x73,0x0b,0x2d,0x9b,0x71,0xb1,0xca);") | 
 
 
 
 
 
 | 1263 | 
 cpp_quote("DEFINE_GUID(CLSID_WICGifDecoder, 0x381dda3c,0x9ce9,0x4834,0xa2,0x3e,0x1f,0x98,0xf8,0xfc,0x52,0xbe);") | 
 
 
 
 
 
 | 1264 | 
 cpp_quote("DEFINE_GUID(CLSID_WICTiffDecoder, 0xb54e85d9,0xfe23,0x499f,0x8b,0x88,0x6a,0xce,0xa7,0x13,0x75,0x2b);") | 
 
 
 
 
 
 | 1265 | 
 cpp_quote("DEFINE_GUID(CLSID_WICWmpDecoder, 0xa26cec36,0x234c,0x4950,0xae,0x16,0xe3,0x4a,0xac,0xe7,0x1d,0x0d);") | 
 
 
 
 
 
 | 1266 | 
 cpp_quote("DEFINE_GUID(CLSID_WICDdsDecoder, 0x9053699f,0xa341,0x429d,0x9e,0x90,0xee,0x43,0x7c,0xf8,0x0c,0x73);") | 
 
 
 
 
 
 | 1267 | 
  | 
 
 
 
 
 
 | 1268 | 
 cpp_quote("DEFINE_GUID(CLSID_WICBmpEncoder, 0x69be8bb4,0xd66d,0x47c8,0x86,0x5a,0xed,0x15,0x89,0x43,0x37,0x82);") | 
 
 
 
 
 
 | 1269 | 
 cpp_quote("DEFINE_GUID(CLSID_WICPngEncoder, 0x27949969,0x876a,0x41d7,0x94,0x47,0x56,0x8f,0x6a,0x35,0xa4,0xdc);") | 
 
 
 
 
 
 | 1270 | 
 cpp_quote("DEFINE_GUID(CLSID_WICJpegEncoder, 0x1a34f5c1,0x4a5a,0x46dc,0xb6,0x44,0x1f,0x45,0x67,0xe7,0xa6,0x76);") | 
 
 
 
 
 
 | 1271 | 
 cpp_quote("DEFINE_GUID(CLSID_WICGifEncoder, 0x114f5598,0x0b22,0x40a0,0x86,0xa1,0xc8,0x3e,0xa4,0x95,0xad,0xbd);") | 
 
 
 
 
 
 | 1272 | 
 cpp_quote("DEFINE_GUID(CLSID_WICTiffEncoder, 0x0131be10,0x2001,0x4c5f,0xa9,0xb0,0xcc,0x88,0xfa,0xb6,0x4c,0xe8);") | 
 
 
 
 
 
 | 1273 | 
 cpp_quote("DEFINE_GUID(CLSID_WICWmpEncoder, 0xac4ce3cb,0xe1c1,0x44cd,0x82,0x15,0x5a,0x16,0x65,0x50,0x9e,0xc2);") | 
 
 
 
 
 
 | 1274 | 
 cpp_quote("DEFINE_GUID(CLSID_WICDdsEncoder, 0xa61dde94,0x66ce,0x4ac1,0x88,0x1b,0x71,0x68,0x05,0x88,0x89,0x5e);") | 
 
 
 
 
 
 | 1275 | 
 cpp_quote("DEFINE_GUID(CLSID_WICAdngDecoder, 0x981d9411,0x909e,0x42a7,0x8f,0x5d,0xa7,0x47,0xff,0x05,0x2e,0xdb);") | 
 
 
 
 
 
 | 1276 | 
  | 
 
 
 
 
 
 | 1277 | 
 cpp_quote("DEFINE_GUID(CLSID_WICJpegQualcommPhoneEncoder, 0x68ed5c62,0xf534,0x4979,0xb2,0xb3,0x68,0x6a,0x12,0xb2,0xb3,0x4c);") | 
 
 
 
 
 
 | 1278 | 
  | 
 
 
 
 
 
 | 1279 | 
 cpp_quote("DEFINE_GUID(CLSID_WICHeifDecoder, 0xe9a4a80a,0x44fe,0x4de4,0x89,0x71,0x71,0x50,0xb1,0x0a,0x51,0x99);") | 
 
 
 
 
 
 | 1280 | 
 cpp_quote("DEFINE_GUID(CLSID_WICHeifEncoder, 0x0dbecec1,0x9eb3,0x4860,0x9c,0x6f,0xdd,0xbe,0x86,0x63,0x45,0x75);") | 
 
 
 
 
 
 | 1281 | 
  | 
 
 
 
 
 
 | 1282 | 
 cpp_quote("DEFINE_GUID(CLSID_WICWebpDecoder, 0x7693e886,0x51c9,0x4070,0x84,0x19,0x9f,0x70,0x73,0x8e,0xc8,0xfa);") | 
 
 
 
 
 
 | 1283 | 
 cpp_quote("DEFINE_GUID(CLSID_WICRAWDecoder, 0x41945702,0x8302,0x44a6,0x94,0x45,0xac,0x98,0xe8,0xaf,0xa0,0x86);") | 
 
 
 
 
 
 | 1284 | 
  | 
 
 
 
 
 
 | 1285 | 
 cpp_quote("DEFINE_GUID(CLSID_WICDefaultFormatConverter, 0x1a3f11dc,0xb514,0x4b17,0x8c,0x5f,0x21,0x54,0x51,0x38,0x52,0xf1);") | 
 
 
 
 
 
 | 1286 | 
 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterHighColor, 0xac75d454,0x9f37,0x48f8,0xb9,0x72,0x4e,0x19,0xbc,0x85,0x60,0x11);") | 
 
 
 
 
 
 | 1287 | 
 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterNChannel, 0xc17cabb2,0xd4a3,0x47d7,0xa5,0x57,0x33,0x9b,0x2e,0xfb,0xd4,0xf1);") | 
 
 
 
 
 
 | 1288 | 
 cpp_quote("DEFINE_GUID(CLSID_WICFormatConverterWMPhoto, 0x9cb5172b,0xd600,0x46ba,0xab,0x77,0x77,0xbb,0x7e,0x3a,0x00,0xd9);") | 
 
 
 
 
 
 | 1289 | 
 cpp_quote("DEFINE_GUID(CLSID_WICPlanarFormatConverter, 0x184132b8,0x32f8,0x4784,0x91,0x31,0xdd,0x72,0x24,0xb2,0x34,0x38);") | 
 
 
 
 
 
 | 1290 | 
  | 
 
 
 
 
 
 | 1291 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatBmp, 0x0af1d87e,0xfcfe,0x4188,0xbd,0xeb,0xa7,0x90,0x64,0x71,0xcb,0xe3);") | 
 
 
 
 
 
 | 1292 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4,0x713f,0x473c,0xbb,0xcd,0x61,0x37,0x42,0x5f,0xae,0xaf);") | 
 
 
 
 
 
 | 1293 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatIco, 0xa3a860c4,0x338f,0x4c17,0x91,0x9a,0xfb,0xa4,0xb5,0x62,0x8f,0x21);") | 
 
 
 
 
 
 | 1294 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatJpeg, 0x19e4a5aa,0x5662,0x4fc5,0xa0,0xc0,0x17,0x58,0x02,0x8e,0x10,0x57);") | 
 
 
 
 
 
 | 1295 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatTiff, 0x163bcc30,0xe2e9,0x4f0b,0x96,0x1d,0xa3,0xe9,0xfd,0xb7,0x88,0xa3);") | 
 
 
 
 
 
 | 1296 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatGif, 0x1f8a5601,0x7d4d,0x4cbd,0x9c,0x82,0x1b,0xc8,0xd4,0xee,0xb9,0xa5);") | 
 
 
 
 
 
 | 1297 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWmp, 0x57a37caa,0x367a,0x4540,0x91,0x6b,0xf1,0x83,0xc5,0x09,0x3a,0x4b);") | 
 
 
 
 
 
 | 1298 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatDds, 0x9967cb95,0x2e85,0x4ac8,0x8c,0xa2,0x83,0xd7,0xcc,0xd4,0x25,0xc9);") | 
 
 
 
 
 
 | 1299 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatAdng, 0xf3ff6d0d,0x38c0,0x41c4,0xb1,0xfe,0x1f,0x38,0x24,0xf1,0x7b,0x84);") | 
 
 
 
 
 
 | 1300 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatHeif, 0xe1e62521,0x6787,0x405b,0xa3,0x39,0x50,0x07,0x15,0xb5,0x76,0x3f);") | 
 
 
 
 
 
 | 1301 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatWebp, 0xe094b0e2,0x67f2,0x45b3,0xb0,0xea,0x11,0x53,0x37,0xca,0x7c,0xf3);") | 
 
 
 
 
 
 | 1302 | 
 cpp_quote("DEFINE_GUID(GUID_ContainerFormatRaw,  0xfe99ce60,0xf19c,0x433c,0xa3,0xae,0x00,0xac,0xef,0xa9,0xca,0x21);") | 
 
 
 
 
 
 | 1303 | 
  | 
 
 
 
 
 
 | 1304 | 
 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoft, 0xf0e749ca,0xedef,0x4589,0xa7,0x3a,0xee,0x0e,0x62,0x6a,0x2a,0x2b);") | 
 
 
 
 
 
 | 1305 | 
 cpp_quote("DEFINE_GUID(GUID_VendorMicrosoftBuiltIn, 0x257a30fd,0x6b6,0x462b,0xae,0xa4,0x63,0xf7,0xb,0x86,0xe5,0x33);") | 
 
 
 
 
 
 | 1306 | 
  | 
 
 
 
 
 
 | 1307 | 
 cpp_quote("DEFINE_GUID(CLSID_WICImagingCategories, 0xfae3d380,0xfea4,0x4623,0x8c,0x75,0xc6,0xb6,0x11,0x10,0xb6,0x81);") | 
 
 
 
 
 
 | 1308 | 
 cpp_quote("DEFINE_GUID(CATID_WICBitmapDecoders, 0x7ed96837,0x96f0,0x4812,0xb2,0x11,0xf1,0x3c,0x24,0x11,0x7e,0xd3);") | 
 
 
 
 
 
 | 1309 | 
 cpp_quote("DEFINE_GUID(CATID_WICBitmapEncoders, 0xac757296,0x3522,0x4e11,0x98,0x62,0xc1,0x7b,0xe5,0xa1,0x76,0x7e);") | 
 
 
 
 
 
 | 1310 | 
 cpp_quote("DEFINE_GUID(CATID_WICFormatConverters, 0x7835eae8,0xbf14,0x49d1,0x93,0xce,0x53,0x3a,0x40,0x7b,0x22,0x48);") | 
 
 
 
 
 
 | 1311 | 
 cpp_quote("DEFINE_GUID(CATID_WICMetadataReader, 0x05af94d8,0x7174,0x4cd2,0xbe,0x4a,0x41,0x24,0xb8,0x0e,0xe4,0xb8);") | 
 
 
 
 
 
 | 1312 | 
 cpp_quote("DEFINE_GUID(CATID_WICMetadataWriter, 0xabe3b9a4,0x257d,0x4b97,0xbd,0x1a,0x29,0x4a,0xf4,0x96,0x22,0x2e);") | 
 
 
 
 
 
 | 1313 | 
 cpp_quote("DEFINE_GUID(CATID_WICPixelFormats, 0x2b46e70f,0xcda7,0x473e,0x89,0xf6,0xdc,0x96,0x30,0xa2,0x39,0x0b);") |