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.

195 lines
3.0 KiB

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;
  3. ;; Copyright (c) Microsoft Corporation. All rights reserved.
  4. ;;
  5. ;; Module Name:
  6. ;;
  7. ;; thunklog.tpl
  8. ;;
  9. ;; Abstract:
  10. ;;
  11. ;; This template builds the WOW64 logging data
  12. ;;
  13. ;; Author:
  14. ;;
  15. ;; 1-Oct-99 SamerA
  16. ;;
  17. ;; Revision History:
  18. ;;
  19. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  20. [Macros]
  21. TemplateName=WhLogApi
  22. NumArgs=1
  23. Begin=
  24. @NoFormat(
  25. /*
  26. * Genthunk generated code: Do Not Modify
  27. * Logging information generated by parsing the thunked APIs
  28. *
  29. */
  30. #include <nt.h>
  31. #include <nt32.h>
  32. #include <wow64thk.h>
  33. typedef PULONG_PTR U;
  34. )
  35. CONST PULONG_PTR @MArg(1)[] = { @NL
  36. @Template(Wow64ThunkDebugInfo)
  37. NULL, NULL @NL
  38. }; @NL
  39. End=
  40. [Code]
  41. TemplateName=whwin32log
  42. CGenBegin=
  43. @WhLogApi(Win32ThunkDebugInfo)
  44. CGenEnd=
  45. TemplateName=whconlog
  46. CGenBegin=
  47. @WhLogApi(ConsoleThunkDebugInfo)
  48. CGenEnd=
  49. TemplateName=whbaselog
  50. CGenBegin=
  51. @WhLogApi(BaseThunkDebugInfo)
  52. CGenEnd=
  53. TemplateName=whnt32log
  54. CGenBegin=
  55. @WhLogApi(NtThunkDebugInfo)
  56. CGenEnd=
  57. [Types]
  58. TemplateName=default
  59. Locals=
  60. (U)"@ArgName", (U)TypeHex, @NL
  61. End=
  62. TemplateName=PIO_STATUS_BLOCK
  63. IndLevel=0
  64. Direction=OUT
  65. Locals=
  66. (U)"@ArgName", (U)TypeIoStatusBlockOut, @NL
  67. End=
  68. TemplateName=PHANDLE
  69. IndLevel=0
  70. Direction=OUT
  71. Locals=
  72. (U)"@ArgName", (U)TypePHandleOut, @NL
  73. End=
  74. TemplateName=PUNICODE_STRING
  75. IndLevel=0
  76. Direction=IN
  77. Locals=
  78. (U)"@ArgName", (U)TypeUnicodeStringIn, @NL
  79. End=
  80. TemplateName=PULONG
  81. IndLevel=0
  82. Direction=IN OUT
  83. Locals=
  84. (U)"@ArgName", (U)TypePULongPtrInOut, @NL
  85. End=
  86. TemplateName=PSIZE_T
  87. IndLevel=0
  88. Direction=IN OUT
  89. Locals=
  90. (U)"@ArgName", (U)TypePULongPtrInOut, @NL
  91. End=
  92. TemplateName=PVOID
  93. IndLevel=1
  94. Direction=IN OUT
  95. Locals=
  96. (U)"@ArgName", (U)TypePULongPtrInOut, @NL
  97. End=
  98. TemplateName=PULONG
  99. Also=PLCID
  100. Also=PNTSTATUS
  101. Also=PBOOLEAN
  102. IndLevel=0
  103. Direction=OUT
  104. Locals=
  105. (U)"@ArgName", (U)TypePULongOut, @NL
  106. End=
  107. TemplateName=POBJECT_ATTRIBUTES
  108. IndLevel=0
  109. Direction=IN
  110. Locals=
  111. (U)"@ArgName", (U)TypeObjectAttributesIn, @NL
  112. End=
  113. TemplateName=POINT
  114. IndLevel=0
  115. Direction=IN
  116. Locals=
  117. (U)"@ArgName.x", (U)TypeHex, @NL
  118. (U)"@ArgName.y", (U)TypeHex, @NL
  119. End=
  120. TemplateName=SIZEL
  121. Also=SIZE
  122. Also=POINTL
  123. Alsp=POINT
  124. IndLevel=0
  125. Direction=IN
  126. Locals=
  127. (U)"@ArgName.cx", (U)TypeHex, @NL
  128. (U)"@ArgName.cy", (U)TypeHex, @NL
  129. End=
  130. TemplateName=CLIENT_ID
  131. IndLevel=0
  132. Direction=IN
  133. Locals=
  134. (U)"@ArgName.UniqueProcess", (U)TypeHex, @NL
  135. (U)"@ArgName.UniqueThread", (U)TypeHex, @NL
  136. End=
  137. TemplateName=LPWSTR
  138. Also=PWSTR
  139. IndLevel=0
  140. Direction=IN
  141. Locals=
  142. (U)"@ArgName", (U)TypePwstrIn, @NL
  143. End=
  144. TemplateName=LPRECT
  145. Also=PRECT
  146. IndLevel=0
  147. Direction=IN
  148. Locals=
  149. (U)"@ArgName", (U)TypePRectIn, @NL
  150. End=
  151. TemplateName=PLARGE_INTEGER
  152. Also=PULARGE_INTEGER
  153. IndLevel=0
  154. Direction=IN
  155. Locals=
  156. (U)"@ArgName", (U)TypePLargeIntegerIn, @NL
  157. End=
  158. [IFunc]
  159. TemplateName=Wow64ThunkDebugInfo
  160. Begin=
  161. @NL
  162. (U)"@ApiName", (U)@ApiNum, (U)(@ArgSize/4), @NL
  163. @Types(Locals) @NL
  164. End=