Source code of Windows XP (NT5)
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.

242 lines
5.3 KiB

  1. [extension]
  2. .ext=w,c
  3. [topic]
  4. ;
  5. ; ***********************************************************
  6. ; C Language topics
  7. ; ***********************************************************
  8. ; Functions
  9. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - @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. ;$STI$ - @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. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - 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. ;$STI$ - 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. .format={\ul
  189. .tag=enew, both, 0
  190. .format=}
  191. .tag=del, both, 1
  192. .format={\strike $1}
  193. .tag=bdel, both, 0
  194. ;.format={\uld
  195. .format={\strike
  196. .tag=edel, both, 0
  197. .format=}
  198. ;
  199. ; Latin.
  200. ;
  201. .tag=qv, both, 0
  202. .format={\i q.v.}
  203. .tag=ie, both, 0
  204. .format={\i i.e.}