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.

261 lines
5.8 KiB

  1. [extension]
  2. .ext=w,c
  3. [topic]
  4. ;
  5. ; ***********************************************************
  6. ; C Language topics
  7. ; ***********************************************************
  8. ; Functions
  9. ;$DI$ - add returns before comm
  10. .tag=func, doc, 3, 20, $2
  11. .order=syntax rdesc parm parmvar returns comm ex
  12. .parsesource=function
  13. .pre=$(reset)$(rule)\par
  14. $(reset)$(heading_1)$2\par
  15. $[function]
  16. $(reset)$(normal)$3\par
  17. $(reset)$(normal)Defined in: $!p\par
  18. ;$DI$ - add returns before comm
  19. .tag=func, help, 3, 20, $2
  20. .order=syntax rdesc parm parmvar returns comm ex
  21. .parsesource=function
  22. .pre=\page
  23. $(reset)$(heading_1)
  24. ##{\footnote ## #2}
  25. $${\footnote $$ $2}
  26. K{\footnote K functions; $2}
  27. +{\footnote + functions:0000}
  28. $2\par
  29. $[function]
  30. $(reset)$(normal)$3\par
  31. $(reset)$(normal)Defined in: $!p\par
  32. ; Functions
  33. ;$DI$ - add returns before comm
  34. .tag=cb, doc, 3, 20, $2
  35. .order=syntax rdesc parm parmvar returns comm ex
  36. .parsesource=function
  37. .pre=$(reset)$(rule)\par
  38. $(reset)$(heading_1)$2\par
  39. $[function]
  40. $(reset)$(normal)$3\par
  41. $(reset)$(normal)Defined in: $!p\par
  42. ;$DI$ - add returns before comm
  43. .tag=cb, help, 3, 20, $2
  44. .order=syntax rdesc parm parmvar returns comm ex
  45. .parsesource=function
  46. .pre=\page
  47. $(reset)$(heading_1)
  48. ##{\footnote ## #2}
  49. $${\footnote $$ $2}
  50. K{\footnote K callback functions; functions; $2 callback function}
  51. +{\footnote + functions:0000}
  52. $2\par
  53. $[function]
  54. $(reset)$(normal)$3\par
  55. $(reset)$(normal)Defined in: $!p\par
  56. ;$DI$ - add [cmethod] to diagram
  57. ; Object methods
  58. .tag=method, doc, 4, 20, $2::$3
  59. .context=$2::$3_meth
  60. .pre=$(reset)$(rule)\par
  61. $(reset)$(heading_1)$2::$3 Method\par
  62. $[method]
  63. $[cmethod]
  64. $(reset)$(normal)$4\par
  65. $(reset)$(normal)Defined in: $!p\par
  66. .tag=method, help, 4, 20, $2::$3
  67. .context=$2::$3_meth
  68. .order=parm rvalue comm ex
  69. .pre=\page
  70. ##{\footnote ## #2__#3_meth}
  71. $${\footnote $$ $2::$3 Method}
  72. K{\footnote K OLE interfaces; interface methods; methods; $3 method; $2 interface}
  73. +{\footnote + OLE:0000}
  74. $(reset)$(heading_1)$2::$3 Method\par
  75. $[method]
  76. $[cmethod]
  77. $(reset)$(normal)$4\par
  78. $(reset)$(normal)Defined in: $!p\par
  79. ; #define's
  80. .tag=define, doc, 3, 30, $1
  81. .pre=$(reset)$(rule)\par
  82. $(reset)$(heading_1)$1 constant\par
  83. $(reset)$(normal){\b ##define} $1 $2\par
  84. $(reset)$(normal)Defined in: $!p\par
  85. $(reset)$(normal)$3\par
  86. .tag=define, help, 3, 30, $1
  87. .pre=\page $(reset)$(heading_1)
  88. ##{\footnote ## #1}
  89. $${\footnote $$ $1}
  90. K{\footnote K ##define's; $1}
  91. +{\footnote + ##define's:0000}
  92. $1 constant\par
  93. $(reset)$(normal){\b ##define} $1 $2\par
  94. $(reset)$(normal)Defined in: $!p\par
  95. $(reset)$(normal)$3\par
  96. ; Globals
  97. .tag=global, doc, 3, 30, $2
  98. .parsesource=constant
  99. .pre=$(reset)$(rule)\par
  100. $(reset)$(heading_1)$2 global variable\par
  101. $(reset)$(normal){\b $1 $2;}\par
  102. $(reset)$(normal)Defined in: $!p\par
  103. $(reset)$(normal)$3\par
  104. .tag=global, help, 3, 30, $2
  105. .parsesource=constant
  106. .pre=\page $(reset)$(heading_1)
  107. ##{\footnote ## #2}
  108. $${\footnote $$ $2}
  109. K{\footnote K global variables; $2 global variable}
  110. +{\footnote + global variables:0000}
  111. $2 global variable\par
  112. $(reset)$(normal){\b $1 $2;}\par
  113. $(reset)$(normal)Defined in: $!p\par
  114. $(reset)$(normal)$3\par
  115. ; Flags
  116. .tag=flags, doc, 2, 50, $1
  117. .pre=$(reset)$(rule)\par
  118. $(reset)$(heading_1)$1\par
  119. $(reset)$(normal)$2\par
  120. $(reset)$(normal)Defined in: $!p\par
  121. .tag=flags, help, 2, 50, $1
  122. .pre=\page $(reset)$(heading_1)
  123. ##{\footnote ## #1}
  124. $${\footnote $$ $1}
  125. K{\footnote K flags; $1}
  126. +{\footnote + flags:0000}
  127. $(reset)$(heading_1)$1\par
  128. $(reset)$(normal)$2\par
  129. $(reset)$(normal)Defined in: $!p\par
  130. [paragraph]
  131. ; ***********************************************************
  132. ; C wrappers
  133. ; ***********************************************************
  134. ;$DI$ - @cwrap to indicate that there is a C wrapper
  135. ; $1 is the type
  136. ; $2 is the variable name to use for the type
  137. .tag=cwrap, both, 2, 1
  138. .pre=
  139. .format=
  140. ;
  141. ; ***********************************************************
  142. ; Misc Tags
  143. ; ***********************************************************
  144. ;$DI$ - @returns to describe function return values
  145. .tag=returns, both, 1, 1
  146. .pre=$(reset)$(rmh)Return Values\par
  147. .format=$(reset)$(normal)$1\par
  148. [diagram]
  149. ; **** OLE2 Method ********
  150. ;$DI$ - Stick "C++" in front to mark this as C++ notation.
  151. .tag=method, both, parm
  152. .pre=\pard \plain $(normal)\tx0\li0\fi-600[C++]\tab{\b $1 $2::$3(}
  153. .post={\b )}\par
  154. .formatfirst={\b $1} {\i $2}
  155. .format={\b , $1} {\i $2}
  156. ;$DI$ - C prototype for ole2 method
  157. .tag=cmethod, both, parm
  158. .pre=\pard \plain $(normal)\tx0\li0\fi-600[C]
  159. \tab{\b $1 $2_$3(\b $cwrap.1} {\i $cwrap.2}{\b , }
  160. .post={\b )}\par
  161. .formatfirst={\b $1} {\i $2}
  162. .format={\b , $1} {\i $2}
  163. .if=tagexists(cwrap), tagexists(parm)
  164. ;$DI$ - C prototype for ole2 method, no parameters
  165. .tag=cmethod, both, parm
  166. .pre=\pard \plain $(normal)\tx0\li0\fi-600[C]
  167. \tab{\b $1 $2_$3(\b $cwrap.1} {\i $cwrap.2}
  168. .post={\b )}\par
  169. .formatfirst={\b $1} {\i $2}
  170. .format={\b , $1} {\i $2}
  171. .if=tagexists(cwrap)
  172. ;$DI$ - C prototype for ole2 method when no wrapper requested
  173. .tag=cmethod, both, parm
  174. .pre=
  175. .post=
  176. .formatfirst=
  177. .format=
  178. [text]
  179. ; ******************************************
  180. ; Misc weirdness
  181. ; ******************************************
  182. ;
  183. ;\cf13 = dark red
  184. ; \uld = double underline
  185. .tag=new, both, 1
  186. .format={\ul $1}
  187. .tag=bnew, both, 0
  188. ; Note! trailing space!
  189. .format={\ul
  190. .tag=enew, both, 0
  191. .format=}
  192. .tag=del, both, 1
  193. .format={\strike $1}
  194. .tag=bdel, both, 0
  195. ;.format={\uld
  196. ; Note! trailing space!
  197. .format={\strike
  198. .tag=edel, both, 0
  199. .format=}
  200. ;
  201. ; Special notes.
  202. ;
  203. .tag=bnote, both, 0
  204. ; Note! trailing space!
  205. .format={\cf6
  206. .tag=enote, both, 0
  207. .format=}
  208. ;
  209. ; Latin.
  210. ;
  211. .tag=qv, both, 0
  212. .format={\i q.v.}
  213. .tag=ie, both, 0
  214. .format={\i i.e.}
  215. ;
  216. ; Symbols.
  217. ;
  218. .tag=vbar, both, 0
  219. .format=|