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.

392 lines
22 KiB

  1. /**************************************************************************
  2. *
  3. * gpprefix.h -- GDI+ header file which prepends all of the GDI+ exports
  4. * with a 'Gp' prefix.
  5. *
  6. * Copyright (c) 1998-1999 Microsoft Corp. All rights reserved.
  7. *
  8. **************************************************************************/
  9. #if defined(_GDIPLUS_)
  10. #define GetTextFaceAliasW GpGetTextFaceAliasW
  11. #define AbortDoc GpAbortDoc
  12. #define AddFontResourceA GpAddFontResourceA
  13. #define AddFontResourceW GpAddFontResourceW
  14. #define AddFontResourceExA GpAddFontResourceExA
  15. #define AddFontResourceExW GpAddFontResourceExW
  16. #define AddFontMemResourceEx GpAddFontMemResourceEx
  17. #define AngleArc GpAngleArc
  18. #define Arc GpArc
  19. #define BitBlt GpBitBlt
  20. #define CancelDC GpCancelDC
  21. #define ChoosePixelFormat GpChoosePixelFormat
  22. #define Chord GpChord
  23. #define CloseMetaFile GpCloseMetaFile
  24. #define CloseEnhMetaFile GpCloseEnhMetaFile
  25. #define CombineRgn GpCombineRgn
  26. #define CombineTransform GpCombineTransform
  27. #define CopyMetaFileA GpCopyMetaFileA
  28. #define CopyMetaFileW GpCopyMetaFileW
  29. #define CopyEnhMetaFileA GpCopyEnhMetaFileA
  30. #define CopyEnhMetaFileW GpCopyEnhMetaFileW
  31. #define CreateCompatibleBitmap GpCreateCompatibleBitmap
  32. #define CreateCompatibleDC GpCreateCompatibleDC
  33. #define CreateDCA GpCreateDCA
  34. #define CreateDCW GpCreateDCW
  35. #define CreateDiscardableBitmap GpCreateDiscardableBitmap
  36. #define CreateEllipticRgn GpCreateEllipticRgn
  37. #define CreateEllipticRgnIndirect GpCreateEllipticRgnIndirect
  38. #define CreateFontA GpCreateFontA
  39. #define CreateFontW GpCreateFontW
  40. #define CreateFontIndirectA GpCreateFontIndirectA
  41. #define CreateFontIndirectW GpCreateFontIndirectW
  42. #define CreateFontIndirectExA GpCreateFontIndirectExA
  43. #define CreateFontIndirectExW GpCreateFontIndirectExW
  44. #define CreateHatchBrush GpCreateHatchBrush
  45. #define CreateICA GpCreateICA
  46. #define CreateICW GpCreateICW
  47. #define CreateMetaFileA GpCreateMetaFileA
  48. #define CreateMetaFileW GpCreateMetaFileW
  49. #define CreateEnhMetaFileA GpCreateEnhMetaFileA
  50. #define CreateEnhMetaFileW GpCreateEnhMetaFileW
  51. #define CreatePatternBrush GpCreatePatternBrush
  52. #define CreatePen GpCreatePen
  53. #define ExtCreatePen GpExtCreatePen
  54. #define CreatePenIndirect GpCreatePenIndirect
  55. #define CreateRectRgn GpCreateRectRgn
  56. #define CreateRectRgnIndirect GpCreateRectRgnIndirect
  57. #define CreateRoundRectRgn GpCreateRoundRectRgn
  58. #define CreateScalableFontResourceA GpCreateScalableFontResourceA
  59. #define CreateScalableFontResourceW GpCreateScalableFontResourceW
  60. #define CreateSolidBrush GpCreateSolidBrush
  61. #define DeleteDC GpDeleteDC
  62. #define DeleteMetaFile GpDeleteMetaFile
  63. #define DeleteEnhMetaFile GpDeleteEnhMetaFile
  64. #define DeleteObject GpDeleteObject
  65. #define DescribePixelFormat GpDescribePixelFormat
  66. #define DeviceCapabilitiesExA GpDeviceCapabilitiesExA
  67. #define DeviceCapabilitiesExW GpDeviceCapabilitiesExW
  68. #define DrawEscape GpDrawEscape
  69. #define EndDoc GpEndDoc
  70. #define EndPage GpEndPage
  71. #define EndFormPage GpEndFormPage
  72. #define EnumFontFamiliesA GpEnumFontFamiliesA
  73. #define EnumFontFamiliesW GpEnumFontFamiliesW
  74. #define EnumFontsA GpEnumFontsA
  75. #define EnumFontsW GpEnumFontsW
  76. #define EnumObjects GpEnumObjects
  77. #define Ellipse GpEllipse
  78. #define EqualRgn GpEqualRgn
  79. #define Escape GpEscape
  80. #define ExtEscape GpExtEscape
  81. #define ExcludeClipRect GpExcludeClipRect
  82. #define ExtFloodFill GpExtFloodFill
  83. #define ExtCreateRegion GpExtCreateRegion
  84. #define ExtSelectClipRgn GpExtSelectClipRgn
  85. #define FillRgn GpFillRgn
  86. #define FloodFill GpFloodFill
  87. #define FrameRgn GpFrameRgn
  88. #define GdiComment GpGdiComment
  89. #define GdiFlush GpGdiFlush
  90. #define GdiPlayScript GpGdiPlayScript
  91. #define GdiPlayDCScript GpGdiPlayDCScript
  92. #define GdiPlayJournal GpGdiPlayJournal
  93. #define GdiGetBatchLimit GpGdiGetBatchLimit
  94. #define GdiSetBatchLimit GpGdiSetBatchLimit
  95. #define GetAspectRatioFilterEx GpGetAspectRatioFilterEx
  96. #define GetBitmapDimensionEx GpGetBitmapDimensionEx
  97. #define GetBkColor GpGetBkColor
  98. #define GetBkMode GpGetBkMode
  99. #define GetBrushOrgEx GpGetBrushOrgEx
  100. #define GetCharABCWidthsA GpGetCharABCWidthsA
  101. #define GetCharABCWidthsW GpGetCharABCWidthsW
  102. #define GetCharABCWidthsFloatA GpGetCharABCWidthsFloatA
  103. #define GetCharABCWidthsFloatW GpGetCharABCWidthsFloatW
  104. #define GetCharABCWidthsI GpGetCharABCWidthsI
  105. #define GetClipBox GpGetClipBox
  106. #define GetClipRgn GpGetClipRgn
  107. #define GetColorAdjustment GpGetColorAdjustment
  108. #define GetCurrentObject GpGetCurrentObject
  109. #define GetCurrentPositionEx GpGetCurrentPositionEx
  110. #define GetDeviceCaps GpGetDeviceCaps
  111. #define GetFontResourceInfoW GpGetFontResourceInfoW
  112. #define GetFontUnicodeRanges GpGetFontUnicodeRanges
  113. #define GetGlyphIndicesA GpGetGlyphIndicesA
  114. #define GetGlyphIndicesW GpGetGlyphIndicesW
  115. #define GetGraphicsMode GpGetGraphicsMode
  116. #define GetMapMode GpGetMapMode
  117. #define GetMetaFileA GpGetMetaFileA
  118. #define GetMetaFileW GpGetMetaFileW
  119. #define GetMetaRgn GpGetMetaRgn
  120. #define GetEnhMetaFileA GpGetEnhMetaFileA
  121. #define GetEnhMetaFileW GpGetEnhMetaFileW
  122. #define GetEnhMetaFileDescriptionA GpGetEnhMetaFileDescriptionA
  123. #define GetEnhMetaFileDescriptionW GpGetEnhMetaFileDescriptionW
  124. #define GetEnhMetaFileHeader GpGetEnhMetaFileHeader
  125. #define GetEnhMetaFilePaletteEntries GpGetEnhMetaFilePaletteEntries
  126. #define GetEnhMetaFilePixelFormat GpGetEnhMetaFilePixelFormat
  127. #define GetFontData GpGetFontData
  128. #define GetGlyphOutlineA GpGetGlyphOutlineA
  129. #define GetGlyphOutlineW GpGetGlyphOutlineW
  130. #define GetKerningPairsA GpGetKerningPairsA
  131. #define GetKerningPairsW GpGetKerningPairsW
  132. #define GetNearestColor GpGetNearestColor
  133. #define GetNearestPaletteIndex GpGetNearestPaletteIndex
  134. #define GetOutlineTextMetricsA GpGetOutlineTextMetricsA
  135. #define GetOutlineTextMetricsW GpGetOutlineTextMetricsW
  136. #define GetPixel GpGetPixel
  137. #define GetPixelFormat GpGetPixelFormat
  138. #define GetPolyFillMode GpGetPolyFillMode
  139. #define GetRasterizerCaps GpGetRasterizerCaps
  140. #define GetRandomRgn GpGetRandomRgn
  141. #define GetRegionData GpGetRegionData
  142. #define GetRelAbs GpGetRelAbs
  143. #define GetRgnBox GpGetRgnBox
  144. #define GetROP2 GpGetROP2
  145. #define GetStockObject GpGetStockObject
  146. #define GetStretchBltMode GpGetStretchBltMode
  147. #define GetSystemPaletteUse GpGetSystemPaletteUse
  148. #define GetTextAlign GpGetTextAlign
  149. #define GetTextCharacterExtra GpGetTextCharacterExtra
  150. #define GetTextColor GpGetTextColor
  151. #define GetDCBrushColor GpGetDCBrushColor
  152. #define GetDCPenColor GpGetDCPenColor
  153. #define GetTextExtentPointA GpGetTextExtentPointA
  154. #define GetTextExtentPointW GpGetTextExtentPointW
  155. #define GetTextExtentPoint32A GpGetTextExtentPoint32A
  156. #define GetTextExtentPoint32W GpGetTextExtentPoint32W
  157. #define GetTextExtentExPointA GpGetTextExtentExPointA
  158. #define GetTextExtentExPointW GpGetTextExtentExPointW
  159. #define GetTextExtentPointI GpGetTextExtentPointI
  160. #define GetTextExtentExPointI GpGetTextExtentExPointI
  161. #define GetTextFaceA GpGetTextFaceA
  162. #define GetTextFaceW GpGetTextFaceW
  163. #define GetTextMetricsA GpGetTextMetricsA
  164. #define GetTextMetricsW GpGetTextMetricsW
  165. #define GetViewportExtEx GpGetViewportExtEx
  166. #define GetViewportOrgEx GpGetViewportOrgEx
  167. #define GetWindowExtEx GpGetWindowExtEx
  168. #define GetWindowOrgEx GpGetWindowOrgEx
  169. #define GetWorldTransform GpGetWorldTransform
  170. #define IntersectClipRect GpIntersectClipRect
  171. #define InvertRgn GpInvertRgn
  172. #define LineDDA GpLineDDA
  173. #define LineTo GpLineTo
  174. #define MaskBlt GpMaskBlt
  175. #define ModifyWorldTransform GpModifyWorldTransform
  176. #define MoveToEx GpMoveToEx
  177. #define OffsetClipRgn GpOffsetClipRgn
  178. #define OffsetRgn GpOffsetRgn
  179. #define OffsetViewportOrgEx GpOffsetViewportOrgEx
  180. #define OffsetWindowOrgEx GpOffsetWindowOrgEx
  181. #define PaintRgn GpPaintRgn
  182. #define PatBlt GpPatBlt
  183. #define PolyPatBlt GpPolyPatBlt
  184. #define Pie GpPie
  185. #define PlayMetaFile GpPlayMetaFile
  186. #define PlayEnhMetaFile GpPlayEnhMetaFile
  187. #define PlgBlt GpPlgBlt
  188. #define PtInRegion GpPtInRegion
  189. #define PtVisible GpPtVisible
  190. #define RealizePalette GpRealizePalette
  191. #define Rectangle GpRectangle
  192. #define RectInRegion GpRectInRegion
  193. #define RectVisible GpRectVisible
  194. #define RemoveFontResourceA GpRemoveFontResourceA
  195. #define RemoveFontResourceW GpRemoveFontResourceW
  196. #define RemoveFontResourceExA GpRemoveFontResourceExA
  197. #define RemoveFontResourceExW GpRemoveFontResourceExW
  198. #define RemoveFontMemResourceEx GpRemoveFontMemResourceEx
  199. #define ResizePalette GpResizePalette
  200. #define RestoreDC GpRestoreDC
  201. #define RoundRect GpRoundRect
  202. #define SaveDC GpSaveDC
  203. #define ScaleViewportExtEx GpScaleViewportExtEx
  204. #define ScaleWindowExtEx GpScaleWindowExtEx
  205. #define SelectClipRgn GpSelectClipRgn
  206. #define SelectObject GpSelectObject
  207. #define SelectBrushLocal GpSelectBrushLocal
  208. #define SelectFontLocal GpSelectFontLocal
  209. #define SelectPalette GpSelectPalette
  210. #define SetBitmapDimensionEx GpSetBitmapDimensionEx
  211. #define SetBkColor GpSetBkColor
  212. #define SetBkMode GpSetBkMode
  213. #define SetBrushOrgEx GpSetBrushOrgEx
  214. #define SetColorAdjustment GpSetColorAdjustment
  215. #define SetFontEnumeration GpSetFontEnumeration
  216. #define SetGraphicsMode GpSetGraphicsMode
  217. #define SetMapMode GpSetMapMode
  218. #define SetMapperFlags GpSetMapperFlags
  219. #define SetPixel GpSetPixel
  220. #define SetPixelFormat GpSetPixelFormat
  221. #define SetPixelV GpSetPixelV
  222. #define SetPolyFillMode GpSetPolyFillMode
  223. #define SetRectRgn GpSetRectRgn
  224. #define SetRelAbs GpSetRelAbs
  225. #define SetROP2 GpSetROP2
  226. #define SetStretchBltMode GpSetStretchBltMode
  227. #define SetSystemPaletteUse GpSetSystemPaletteUse
  228. #define SetTextAlign GpSetTextAlign
  229. #define SetTextCharacterExtra GpSetTextCharacterExtra
  230. #define SetTextColor GpSetTextColor
  231. #define SetDCBrushColor GpSetDCBrushColor
  232. #define SetDCPenColor GpSetDCPenColor
  233. #define SetTextJustification GpSetTextJustification
  234. #define SetLayout GpSetLayout
  235. #define GetLayout GpGetLayout
  236. #define SetLayoutWidth GpSetLayoutWidth
  237. #define MirrorRgn GpMirrorRgn
  238. #define SetViewportExtEx GpSetViewportExtEx
  239. #define SetViewportOrgEx GpSetViewportOrgEx
  240. #define SetWindowExtEx GpSetWindowExtEx
  241. #define SetWindowOrgEx GpSetWindowOrgEx
  242. #define SetWorldTransform GpSetWorldTransform
  243. #define StartDocA GpStartDocA
  244. #define StartDocW GpStartDocW
  245. #define StartPage GpStartPage
  246. #define StartFormPage GpStartFormPage
  247. #define StretchBlt GpStretchBlt
  248. #define SwapBuffers GpSwapBuffers
  249. #define TextOutA GpTextOutA
  250. #define TextOutW GpTextOutW
  251. #define UpdateColors GpUpdateColors
  252. #define UnrealizeObject GpUnrealizeObject
  253. #define FixBrushOrgEx GpFixBrushOrgEx
  254. #define GetDCOrgEx GpGetDCOrgEx
  255. #define AnimatePalette GpAnimatePalette
  256. #define ArcTo GpArcTo
  257. #define BeginPath GpBeginPath
  258. #define CloseFigure GpCloseFigure
  259. #define CreateBitmap GpCreateBitmap
  260. #define CreateBitmapIndirect GpCreateBitmapIndirect
  261. #define CreateBrushIndirect GpCreateBrushIndirect
  262. #define CreateDIBitmap GpCreateDIBitmap
  263. #define CreateDIBPatternBrush GpCreateDIBPatternBrush
  264. #define CreateDIBPatternBrushPt GpCreateDIBPatternBrushPt
  265. #define CreateDIBSection GpCreateDIBSection
  266. #define CreateHalftonePalette GpCreateHalftonePalette
  267. #define CreatePalette GpCreatePalette
  268. #define CreatePolygonRgn GpCreatePolygonRgn
  269. #define CreatePolyPolygonRgn GpCreatePolyPolygonRgn
  270. #define DPtoLP GpDPtoLP
  271. #define EndPath GpEndPath
  272. #define EnumMetaFile GpEnumMetaFile
  273. #define EnumEnhMetaFile GpEnumEnhMetaFile
  274. #define ExtTextOutA GpExtTextOutA
  275. #define ExtTextOutW GpExtTextOutW
  276. #define PolyTextOutA GpPolyTextOutA
  277. #define PolyTextOutW GpPolyTextOutW
  278. #define FillPath GpFillPath
  279. #define FlattenPath GpFlattenPath
  280. #define GetArcDirection GpGetArcDirection
  281. #define GetBitmapBits GpGetBitmapBits
  282. #define GetCharWidthA GpGetCharWidthA
  283. #define GetCharWidthW GpGetCharWidthW
  284. #define GetCharWidth32A GpGetCharWidth32A
  285. #define GetCharWidth32W GpGetCharWidth32W
  286. #define GetCharWidthFloatA GpGetCharWidthFloatA
  287. #define GetCharWidthFloatW GpGetCharWidthFloatW
  288. #define GetCharWidthI GpGetCharWidthI
  289. #define GetDIBColorTable GpGetDIBColorTable
  290. #define GetDIBits GpGetDIBits
  291. #define GetMetaFileBitsEx GpGetMetaFileBitsEx
  292. #define GetMiterLimit GpGetMiterLimit
  293. #define GetEnhMetaFileBits GpGetEnhMetaFileBits
  294. #define GetObjectA GpGetObjectA
  295. #define GetObjectW GpGetObjectW
  296. #define GetObjectType GpGetObjectType
  297. #define GetPaletteEntries GpGetPaletteEntries
  298. #define GetPath GpGetPath
  299. #define GetSystemPaletteEntries GpGetSystemPaletteEntries
  300. #define GetWinMetaFileBits GpGetWinMetaFileBits
  301. #define LPtoDP GpLPtoDP
  302. #define PathToRegion GpPathToRegion
  303. #define PlayMetaFileRecord GpPlayMetaFileRecord
  304. #define PlayEnhMetaFileRecord GpPlayEnhMetaFileRecord
  305. #define PolyBezier GpPolyBezier
  306. #define PolyBezierTo GpPolyBezierTo
  307. #define PolyDraw GpPolyDraw
  308. #define Polygon GpPolygon
  309. #define Polyline GpPolyline
  310. #define PolylineTo GpPolylineTo
  311. #define PolyPolygon GpPolyPolygon
  312. #define PolyPolyline GpPolyPolyline
  313. #define ResetDCA GpResetDCA
  314. #define ResetDCW GpResetDCW
  315. #define SelectClipPath GpSelectClipPath
  316. #define SetAbortProc GpSetAbortProc
  317. #define SetBitmapBits GpSetBitmapBits
  318. #define SetDIBColorTable GpSetDIBColorTable
  319. #define SetDIBits GpSetDIBits
  320. #define SetDIBitsToDevice GpSetDIBitsToDevice
  321. #define SetMetaFileBitsEx GpSetMetaFileBitsEx
  322. #define SetEnhMetaFileBits GpSetEnhMetaFileBits
  323. #define SetMiterLimit GpSetMiterLimit
  324. #define SetPaletteEntries GpSetPaletteEntries
  325. #define SetWinMetaFileBits GpSetWinMetaFileBits
  326. #define StretchDIBits GpStretchDIBits
  327. #define StrokeAndFillPath GpStrokeAndFillPath
  328. #define StrokePath GpStrokePath
  329. #define WidenPath GpWidenPath
  330. #define AbortPath GpAbortPath
  331. #define SetArcDirection GpSetArcDirection
  332. #define SetMetaRgn GpSetMetaRgn
  333. #define GetBoundsRect GpGetBoundsRect
  334. #define SetBoundsRect GpSetBoundsRect
  335. #define SetICMMode GpSetICMMode
  336. #define EnumICMProfilesA GpEnumICMProfilesA
  337. #define EnumICMProfilesW GpEnumICMProfilesW
  338. #define CheckColorsInGamut GpCheckColorsInGamut
  339. #define GetColorSpace GpGetColorSpace
  340. #define GetLogColorSpaceA GpGetLogColorSpaceA
  341. #define GetLogColorSpaceW GpGetLogColorSpaceW
  342. #define CreateColorSpaceA GpCreateColorSpaceA
  343. #define CreateColorSpaceW GpCreateColorSpaceW
  344. #define SetColorSpace GpSetColorSpace
  345. #define DeleteColorSpace GpDeleteColorSpace
  346. #define GetICMProfileA GpGetICMProfileA
  347. #define GetICMProfileW GpGetICMProfileW
  348. #define SetICMProfileA GpSetICMProfileA
  349. #define SetICMProfileW GpSetICMProfileW
  350. #define GetDeviceGammaRamp GpGetDeviceGammaRamp
  351. #define SetDeviceGammaRamp GpSetDeviceGammaRamp
  352. #define ColorMatchToTarget GpColorMatchToTarget
  353. #define UpdateICMRegKeyA GpUpdateICMRegKeyA
  354. #define UpdateICMRegKeyW GpUpdateICMRegKeyW
  355. #define ColorCorrectPalette GpColorCorrectPalette
  356. #define gdiPlaySpoolStream GpgdiPlaySpoolStream
  357. #define EnumFontFamiliesExA GpEnumFontFamiliesExA
  358. #define EnumFontFamiliesExW GpEnumFontFamiliesExW
  359. #define GetCharacterPlacementA GpGetCharacterPlacementA
  360. #define GetCharacterPlacementW GpGetCharacterPlacementW
  361. #define GetFontLanguageInfo GpGetFontLanguageInfo
  362. #define TranslateCharsetInfo GpTranslateCharsetInfo
  363. #define GetTextCharsetInfo GpGetTextCharsetInfo
  364. #define GetTextCharset GpGetTextCharset
  365. #define SetMagicColors GpSetMagicColors
  366. #define EnableEUDC GpEnableEUDC
  367. #define EudcLoadLinkW GpEudcLoadLinkW
  368. #define EudcUnloadLinkW GpEudcUnloadLinkW
  369. #define GetEUDCTimeStamp GpGetEUDCTimeStamp
  370. #define GetEUDCTimeStampExW GpGetEUDCTimeStampExW
  371. #define GetStringBitmapA GpGetStringBitmapA
  372. #define GetStringBitmapW GpGetStringBitmapW
  373. #define QueryFontAssocStatus GpQueryFontAssocStatus
  374. #define GetFontAssocStatus GpGetFontAssocStatus
  375. #define GdiGetPageCount GpGdiGetPageCount
  376. #define GdiGetDC GpGdiGetDC
  377. #define GdiDeleteSpoolFileHandle GpGdiDeleteSpoolFileHandle
  378. #define GdiGetPageHandle GpGdiGetPageHandle
  379. #define GdiGetSpoolFileHandle GpGdiGetSpoolFileHandle
  380. #define GdiPlayEMF GpGdiPlayEMF
  381. #define GdiStartDocEMF GpGdiStartDocEMF
  382. #define GdiStartPageEMF GpGdiStartPageEMF
  383. #define GdiPlayPageEMF GpGdiPlayPageEMF
  384. #define GdiPlayPageEMF GpGdiPlayPageEMF
  385. #define GdiEndPageEMF GpGdiEndPageEMF
  386. #define GdiEndDocEMF GpGdiEndDocEMF
  387. #define GdiGetDevmodeForPage GpGdiGetDevmodeForPage
  388. #define GdiResetDCEMF GpGdiResetDCEMF
  389. #endif