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.

161 lines
3.5 KiB

  1. /******************************Module*Header*******************************\
  2. *
  3. * *******************
  4. * * GDI SAMPLE CODE *
  5. * *******************
  6. *
  7. * Module Name: log.h
  8. *
  9. *
  10. * Copyright (c) 1992-1999 Microsoft Corporation. All rights reserved.
  11. **************************************************************************/
  12. #ifndef __LOG__
  13. #define __LOG__
  14. //extern char * gLog; // pointer to mapped log file
  15. //extern char * gLogPos; // current position in log file
  16. //extern char * gLogSentinel; // end of log file
  17. ULONG ulLogOpen(LPWSTR pwsz, ULONG ulSize);
  18. ULONG ulLogClose(void);
  19. void
  20. vLogPunt(void);
  21. void
  22. vLogBitBlt(
  23. SURFOBJ* psoDst,
  24. SURFOBJ* psoSrc,
  25. SURFOBJ* psoMsk,
  26. CLIPOBJ* pco,
  27. XLATEOBJ* pxlo,
  28. RECTL* prclDst,
  29. POINTL* pptlSrc,
  30. POINTL* pptlMsk,
  31. BRUSHOBJ* pbo,
  32. POINTL* pptlBrush,
  33. ROP4 rop4,
  34. LONGLONG llElapsedTicks,
  35. ULONG ulCallDepth);
  36. void
  37. vLogCopyBits(
  38. SURFOBJ* psoDst,
  39. SURFOBJ* psoSrc,
  40. CLIPOBJ* pco,
  41. XLATEOBJ* pxlo,
  42. RECTL* prclDst,
  43. POINTL* pptlSrc,
  44. LONGLONG llElapsedTicks,
  45. ULONG ulCallDepth);
  46. void
  47. vLogTransparentBlt(
  48. SURFOBJ * psoDst,
  49. SURFOBJ * psoSrc,
  50. CLIPOBJ * pco,
  51. XLATEOBJ * pxlo,
  52. RECTL * prclDst,
  53. RECTL * prclSrc,
  54. ULONG iTransColor,
  55. LONGLONG llElapsedTicks,
  56. ULONG ulCallDepth);
  57. void
  58. vLogAlphaBlend(
  59. SURFOBJ *psoDst,
  60. SURFOBJ *psoSrc,
  61. CLIPOBJ *pco,
  62. XLATEOBJ *pxlo,
  63. RECTL *prclDst,
  64. RECTL *prclSrc,
  65. BLENDOBJ *pBlendObj,
  66. LONGLONG llElapsedTicks,
  67. ULONG ulCallDepth);
  68. void
  69. vLogGradientFill(
  70. SURFOBJ *psoDst,
  71. CLIPOBJ *pco,
  72. XLATEOBJ *pxlo,
  73. TRIVERTEX *pVertex,
  74. ULONG nVertex,
  75. PVOID pMesh,
  76. ULONG nMesh,
  77. RECTL *prclExtents,
  78. POINTL *pptlDitherOrg,
  79. ULONG ulMode,
  80. LONGLONG llElapsedTicks,
  81. ULONG ulCallDepth);
  82. void
  83. vLogTextOut(
  84. SURFOBJ* pso,
  85. STROBJ* pstro,
  86. FONTOBJ* pfo,
  87. CLIPOBJ* pco,
  88. RECTL* prclExtra,
  89. RECTL* prclOpaque,
  90. BRUSHOBJ* pboFore,
  91. BRUSHOBJ* pboOpaque,
  92. POINTL* pptlBrush,
  93. MIX mix,
  94. LONGLONG llElapsedTicks,
  95. ULONG ulCallDepth);
  96. void
  97. vLogLineTo(
  98. SURFOBJ* pso,
  99. CLIPOBJ* pco,
  100. BRUSHOBJ* pbo,
  101. LONG x1,
  102. LONG y1,
  103. LONG x2,
  104. LONG y2,
  105. RECTL* prclBounds,
  106. MIX mix,
  107. LONGLONG llElapsedTicks,
  108. ULONG ulCallDepth);
  109. void
  110. vLogFillPath(
  111. SURFOBJ* pso,
  112. PATHOBJ* ppo,
  113. CLIPOBJ* pco,
  114. BRUSHOBJ* pbo,
  115. POINTL* pptlBrush,
  116. MIX mix,
  117. FLONG flOptions,
  118. LONGLONG llElapsedTicks,
  119. ULONG ulCallDepth);
  120. void
  121. vLogStrokePath(
  122. SURFOBJ* pso,
  123. PATHOBJ* ppo,
  124. CLIPOBJ* pco,
  125. XFORMOBJ* pxo,
  126. BRUSHOBJ* pbo,
  127. POINTL* pptlBrush,
  128. LINEATTRS* pla,
  129. MIX mix,
  130. LONGLONG llElapsedTicks,
  131. ULONG ulCallDepth);
  132. void
  133. vLogSurfMovedToVM(
  134. Surf* psurf);
  135. void
  136. vLogSurfMovedToSM(
  137. Surf* psurf);
  138. void
  139. vLogSurfCreated(
  140. Surf* psurf);
  141. void
  142. vLogSurfDeleted(
  143. Surf* psurf);
  144. #endif // __LOG__