Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

270 lines
14 KiB

  1. // property definitions that aren't some place more global
  2. #define PIDISI_FILETYPE 0x00000002L // VT_LPWSTR
  3. #define PIDISI_CX 0x00000003L // VT_UI4
  4. #define PIDISI_CY 0x00000004L // VT_UI4
  5. #define PIDISI_RESOLUTIONX 0x00000005L // VT_UI4
  6. #define PIDISI_RESOLUTIONY 0x00000006L // VT_UI4
  7. #define PIDISI_BITDEPTH 0x00000007L // VT_UI4
  8. #define PIDISI_COLORSPACE 0x00000008L // VT_LPWSTR
  9. #define PIDISI_COMPRESSION 0x00000009L // VT_LPWSTR
  10. #define PIDISI_TRANSPARENCY 0x0000000AL // VT_UI4
  11. #define PIDISI_GAMMAVALUE 0x0000000BL // VT_UI4
  12. #define PIDISI_FRAMECOUNT 0x0000000CL // VT_UI4
  13. #define PIDISI_DIMENSIONS 0x0000000DL // VT_LPWS
  14. #define PropertyTagNewSubfileType 0x00FE
  15. #define PropertyTagSubfileType 0x00FF
  16. #define PropertyTagImageWidth 0x0100
  17. #define PropertyTagImageHeight 0x0101
  18. #define PropertyTagBitsPerSample 0x0102
  19. #define PropertyTagCompression 0x0103
  20. #define PropertyTagPhotometricInterp 0x0106
  21. #define PropertyTagThreshHolding 0x0107
  22. #define PropertyTagCellWidth 0x0108
  23. #define PropertyTagCellHeight 0x0109
  24. #define PropertyTagFillOrder 0x010A
  25. #define PropertyTagDocumentName 0x010D
  26. #define PropertyTagImageDescription 0x010E
  27. #define PropertyTagEquipMake 0x010F
  28. #define PropertyTagEquipModel 0x0110
  29. #define PropertyTagStripOffsets 0x0111
  30. #define PropertyTagOrientation 0x0112
  31. #define PropertyTagSamplesPerPixel 0x0115
  32. #define PropertyTagRowsPerStrip 0x0116
  33. #define PropertyTagStripBytesCount 0x0117
  34. #define PropertyTagMinSampleValue 0x0118
  35. #define PropertyTagMaxSampleValue 0x0119
  36. #define PropertyTagXResolution 0x011A // Image resolution in width direction
  37. #define PropertyTagYResolution 0x011B // Image resolution in height direction
  38. #define PropertyTagPlanarConfig 0x011C // Image data arrangement
  39. #define PropertyTagPageName 0x011D
  40. #define PropertyTagXPosition 0x011E
  41. #define PropertyTagYPosition 0x011F
  42. #define PropertyTagFreeOffset 0x0120
  43. #define PropertyTagFreeByteCounts 0x0121
  44. #define PropertyTagGrayResponseUnit 0x0122
  45. #define PropertyTagGrayResponseCurve 0x0123
  46. #define PropertyTagT4Option 0x0124
  47. #define PropertyTagT6Option 0x0125
  48. #define PropertyTagResolutionUnit 0x0128 // Unit of X and Y resolution
  49. #define PropertyTagPageNumber 0x0129
  50. #define PropertyTagTransferFuncition 0x012D
  51. #define PropertyTagSoftwareUsed 0x0131
  52. #define PropertyTagDateTime 0x0132
  53. #define PropertyTagArtist 0x013B
  54. #define PropertyTagHostComputer 0x013C
  55. #define PropertyTagPredictor 0x013D
  56. #define PropertyTagWhitePoint 0x013E
  57. #define PropertyTagPrimaryChromaticities 0x013F
  58. #define PropertyTagColorMap 0x0140
  59. #define PropertyTagHalftoneHints 0x0141
  60. #define PropertyTagTileWidth 0x0142
  61. #define PropertyTagTileLength 0x0143
  62. #define PropertyTagTileOffset 0x0144
  63. #define PropertyTagTileByteCounts 0x0145
  64. #define PropertyTagInkSet 0x014C
  65. #define PropertyTagInkNames 0x014D
  66. #define PropertyTagNumberOfInks 0x014E
  67. #define PropertyTagDotRange 0x0150
  68. #define PropertyTagTargetPrinter 0x0151
  69. #define PropertyTagExtraSamples 0x0152
  70. #define PropertyTagSampleFormat 0x0153
  71. #define PropertyTagSMinSampleValue 0x0154
  72. #define PropertyTagSMaxSampleValue 0x0155
  73. #define PropertyTagTransferRange 0x0156
  74. #define PropertyTagJPEGProc 0x0200
  75. #define PropertyTagJPEGInterFormat 0x0201
  76. #define PropertyTagJPEGInterLength 0x0202
  77. #define PropertyTagJPEGRestartInterval 0x0203
  78. #define PropertyTagJPEGLosslessPredictors 0x0205
  79. #define PropertyTagJPEGPointTransforms 0x0206
  80. #define PropertyTagJPEGQTables 0x0207
  81. #define PropertyTagJPEGDCTables 0x0208
  82. #define PropertyTagJPEGACTables 0x0209
  83. #define PropertyTagYCbCrCoefficients 0x0211
  84. #define PropertyTagYCbCrSubsampling 0x0212
  85. #define PropertyTagYCbCrPositioning 0x0213
  86. #define PropertyTagREFBlackWhite 0x0214
  87. #define PropertyTagICCProfile 0x8773 // This TAG is defined by ICC
  88. // for embedded ICC in TIFF
  89. #define PropertyTagGamma 0x0301
  90. #define PropertyTagICCProfileDescriptor 0x0302
  91. #define PropertyTagSRGBRenderingIntent 0x0303
  92. #define PropertyTagImageTitle 0x0320
  93. #define PropertyTagCopyright 0x8298
  94. // Extra TAGs (Like Adobe Image Information tags etc.)
  95. #define PropertyTagResolutionXUnit 0x5001
  96. #define PropertyTagResolutionYUnit 0x5002
  97. #define PropertyTagResolutionXLengthUnit 0x5003
  98. #define PropertyTagResolutionYLengthUnit 0x5004
  99. #define PropertyTagPrintFlags 0x5005
  100. #define PropertyTagPrintFlagsVersion 0x5006
  101. #define PropertyTagPrintFlagsCrop 0x5007
  102. #define PropertyTagPrintFlagsBleedWidth 0x5008
  103. #define PropertyTagPrintFlagsBleedWidthScale 0x5009
  104. #define PropertyTagHalftoneLPI 0x500A
  105. #define PropertyTagHalftoneLPIUnit 0x500B
  106. #define PropertyTagHalftoneDegree 0x500C
  107. #define PropertyTagHalftoneShape 0x500D
  108. #define PropertyTagHalftoneMisc 0x500E
  109. #define PropertyTagHalftoneScreen 0x500F
  110. #define PropertyTagJPEGQuality 0x5010
  111. #define PropertyTagGridSize 0x5011
  112. #define PropertyTagThumbnailFormat 0x5012 // 1 = JPEG, 0 = RAW RGB
  113. #define PropertyTagThumbnailWidth 0x5013
  114. #define PropertyTagThumbnailHeight 0x5014
  115. #define PropertyTagThumbnailColorDepth 0x5015
  116. #define PropertyTagThumbnailPlanes 0x5016
  117. #define PropertyTagThumbnailRawBytes 0x5017
  118. #define PropertyTagThumbnailSize 0x5018
  119. #define PropertyTagThumbnailCompressedSize 0x5019
  120. #define PropertyTagColorTransferFunction 0x501A
  121. #define PropertyTagThumbnailData 0x501B// RAW thumbnail bits in
  122. // JPEG format or RGB format
  123. // depends on
  124. // PropertyTagThumbnailFormat
  125. // Thumbnail related TAGs
  126. #define PropertyTagThumbnailImageWidth 0x5020 // Thumbnail width
  127. #define PropertyTagThumbnailImageHeight 0x5021 // Thumbnail height
  128. #define PropertyTagThumbnailBitsPerSample 0x5022 // Number of bits per
  129. // component
  130. #define PropertyTagThumbnailCompression 0x5023 // Compression Scheme
  131. #define PropertyTagThumbnailPhotometricInterp 0x5024 // Pixel composition
  132. #define PropertyTagThumbnailImageDescription 0x5025 // Image Tile
  133. #define PropertyTagThumbnailEquipMake 0x5026 // Manufacturer of Image
  134. // Input equipment
  135. #define PropertyTagThumbnailEquipModel 0x5027 // Model of Image input
  136. // equipment
  137. #define PropertyTagThumbnailStripOffsets 0x5028 // Image data location
  138. #define PropertyTagThumbnailOrientation 0x5029 // Orientation of image
  139. #define PropertyTagThumbnailSamplesPerPixel 0x502A // Number of components
  140. #define PropertyTagThumbnailRowsPerStrip 0x502B // Number of rows per strip
  141. #define PropertyTagThumbnailStripBytesCount 0x502C // Bytes per compressed
  142. // strip
  143. #define PropertyTagThumbnailResolutionX 0x502D // Resolution in width
  144. // direction
  145. #define PropertyTagThumbnailResolutionY 0x502E // Resolution in height
  146. // direction
  147. #define PropertyTagThumbnailPlanarConfig 0x502F // Image data arrangement
  148. #define PropertyTagThumbnailResolutionUnit 0x5030 // Unit of X and Y
  149. // Resolution
  150. #define PropertyTagThumbnailTransferFunction 0x5031 // Transfer function
  151. #define PropertyTagThumbnailSoftwareUsed 0x5032 // Software used
  152. #define PropertyTagThumbnailDateTime 0x5033 // File change date and
  153. // time
  154. #define PropertyTagThumbnailArtist 0x5034 // Person who created the
  155. // image
  156. #define PropertyTagThumbnailWhitePoint 0x5035 // White point chromaticity
  157. #define PropertyTagThumbnailPrimaryChromaticities 0x5036
  158. // Chromaticities of
  159. // primaries
  160. #define PropertyTagThumbnailYCbCrCoefficients 0x5037 // Color space transforma-
  161. // tion coefficients
  162. #define PropertyTagThumbnailYCbCrSubsampling 0x5038 // Subsampling ratio of Y
  163. // to C
  164. #define PropertyTagThumbnailYCbCrPositioning 0x5039 // Y and C position
  165. #define PropertyTagThumbnailRefBlackWhite 0x503A // Pair of black and white
  166. // reference values
  167. #define PropertyTagThumbnailCopyRight 0x503B // CopyRight holder
  168. #define PropertyTagLuminanceTable 0x5090
  169. #define PropertyTagChrominanceTable 0x5091
  170. #define PropertyTagFrameDelay 0x5100
  171. #define PropertyTagLoopCount 0x5101
  172. #define PropertyTagPixelUnit 0x5110 // Unit specifier for pixel/unit
  173. #define PropertyTagPixelPerUnitX 0x5111 // Pixels per unit in X
  174. #define PropertyTagPixelPerUnitY 0x5112 // Pixels per unit in Y
  175. #define PropertyTagPaletteHistogram 0x5113 // Palette histogram
  176. // EXIF specific tag
  177. #define PropertyTagExifExposureTime 0x829A
  178. #define PropertyTagExifFNumber 0x829D
  179. #define PropertyTagExifExposureProg 0x8822
  180. #define PropertyTagExifSpectralSense 0x8824
  181. #define PropertyTagExifISOSpeed 0x8827
  182. #define PropertyTagExifOECF 0x8828
  183. #define PropertyTagExifVer 0x9000
  184. #define PropertyTagExifDTOrig 0x9003 // Date & time of original
  185. #define PropertyTagExifDTDigitized 0x9004 // Date & time of digital data generation
  186. #define PropertyTagExifCompConfig 0x9101
  187. #define PropertyTagExifCompBPP 0x9102
  188. #define PropertyTagExifShutterSpeed 0x9201
  189. #define PropertyTagExifAperture 0x9202
  190. #define PropertyTagExifBrightness 0x9203
  191. #define PropertyTagExifExposureBias 0x9204
  192. #define PropertyTagExifMaxAperture 0x9205
  193. #define PropertyTagExifSubjectDist 0x9206
  194. #define PropertyTagExifMeteringMode 0x9207
  195. #define PropertyTagExifLightSource 0x9208
  196. #define PropertyTagExifFlash 0x9209
  197. #define PropertyTagExifFocalLength 0x920A
  198. #define PropertyTagExifMakerNote 0x927C
  199. #define PropertyTagExifUserComment 0x9286
  200. #define PropertyTagExifDTSubsec 0x9290 // Date & Time subseconds
  201. #define PropertyTagExifDTOrigSS 0x9291 // Date & Time original subseconds
  202. #define PropertyTagExifDTDigSS 0x9292 // Date & TIme digitized subseconds
  203. #define PropertyTagExifFPXVer 0xA000
  204. #define PropertyTagExifColorSpace 0xA001
  205. #define PropertyTagExifPixXDim 0xA002
  206. #define PropertyTagExifPixYDim 0xA003
  207. #define PropertyTagExifRelatedWav 0xA004 // related sound file
  208. #define PropertyTagExifInterop 0xA005
  209. #define PropertyTagExifFlashEnergy 0xA20B
  210. #define PropertyTagExifSpatialFR 0xA20C // Spatial Frequency Response
  211. #define PropertyTagExifFocalXRes 0xA20E // Focal Plane X Resolution
  212. #define PropertyTagExifFocalYRes 0xA20F // Focal Plane Y Resolution
  213. #define PropertyTagExifFocalResUnit 0xA210 // Focal Plane Resolution Unit
  214. #define PropertyTagExifSubjectLoc 0xA214
  215. #define PropertyTagExifExposureIndex 0xA215
  216. #define PropertyTagExifSensingMethod 0xA217
  217. #define PropertyTagExifFileSource 0xA300
  218. #define PropertyTagExifSceneType 0xA301
  219. #define PropertyTagExifCfaPattern 0xA302
  220. #define PropertyTagGpsVer 0x0000
  221. #define PropertyTagGpsLatitudeRef 0x0001
  222. #define PropertyTagGpsLatitude 0x0002
  223. #define PropertyTagGpsLongitudeRef 0x0003
  224. #define PropertyTagGpsLongitude 0x0004
  225. #define PropertyTagGpsAltitudeRef 0x0005
  226. #define PropertyTagGpsAltitude 0x0006
  227. #define PropertyTagGpsGpsTime 0x0007
  228. #define PropertyTagGpsGpsSatellites 0x0008
  229. #define PropertyTagGpsGpsStatus 0x0009
  230. #define PropertyTagGpsGpsMeasureMode 0x00A
  231. #define PropertyTagGpsGpsDop 0x000B // Measurement precision
  232. #define PropertyTagGpsSpeedRef 0x000C
  233. #define PropertyTagGpsSpeed 0x000D
  234. #define PropertyTagGpsTrackRef 0x000E
  235. #define PropertyTagGpsTrack 0x000F
  236. #define PropertyTagGpsImgDirRef 0x0010
  237. #define PropertyTagGpsImgDir 0x0011
  238. #define PropertyTagGpsMapDatum 0x0012
  239. #define PropertyTagGpsDestLatRef 0x0013
  240. #define PropertyTagGpsDestLat 0x0014
  241. #define PropertyTagGpsDestLongRef 0x0015
  242. #define PropertyTagGpsDestLong 0x0016
  243. #define PropertyTagGpsDestBearRef 0x0017
  244. #define PropertyTagGpsDestBear 0x0018
  245. #define PropertyTagGpsDestDistRef 0x0019
  246. #define PropertyTagGpsDestDist 0x001A