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.

454 lines
23 KiB

  1. <!doctype html public "-//W3C//DTD HTML 4.0 Draft//EN">
  2. <html xmlns:v="urn:schemas-microsoft-com:vml"
  3. xmlns:o="urn:schemas-microsoft-com:office:office"
  4. xmlns:w="urn:schemas-microsoft-com:office:word"
  5. xmlns="http://www.w3.org/TR/REC-html40">
  6. <head>
  7. <meta http-equiv=Content-Type content="text/html; charset=windows-1251">
  8. <meta name=ProgId content=Word.Document>
  9. <meta name=Generator content="Microsoft Word 9">
  10. <meta name=Originator content="Microsoft Word 9">
  11. <link rel=File-List href="./utillib_files/filelist.xml">
  12. <title>WMI SDK Sample - utillib</title>
  13. <!--[if gte mso 9]><xml>
  14. <o:DocumentProperties>
  15. <o:Author>Michael Maston</o:Author>
  16. <o:Template>Normal</o:Template>
  17. <o:LastAuthor>Michael Maston</o:LastAuthor>
  18. <o:Revision>9</o:Revision>
  19. <o:TotalTime>423</o:TotalTime>
  20. <o:Created>1999-01-26T02:11:00Z</o:Created>
  21. <o:LastSaved>2001-04-06T01:26:00Z</o:LastSaved>
  22. <o:Pages>1</o:Pages>
  23. <o:Words>321</o:Words>
  24. <o:Characters>1830</o:Characters>
  25. <o:Company>Microsoft</o:Company>
  26. <o:Lines>15</o:Lines>
  27. <o:Paragraphs>3</o:Paragraphs>
  28. <o:CharactersWithSpaces>2247</o:CharactersWithSpaces>
  29. <o:Version>9.4119</o:Version>
  30. </o:DocumentProperties>
  31. </xml><![endif]-->
  32. <style>
  33. <!--
  34. /* Font Definitions */
  35. @font-face
  36. {font-family:Verdana;
  37. panose-1:2 11 6 4 3 5 4 4 2 4;
  38. mso-font-charset:0;
  39. mso-generic-font-family:swiss;
  40. mso-font-pitch:variable;
  41. mso-font-signature:536871559 0 0 0 415 0;}
  42. /* Style Definitions */
  43. p.MsoNormal, li.MsoNormal, div.MsoNormal
  44. {mso-style-parent:"";
  45. margin:0in;
  46. margin-bottom:.0001pt;
  47. mso-pagination:widow-orphan;
  48. font-size:12.0pt;
  49. font-family:"Times New Roman";
  50. mso-fareast-font-family:"Times New Roman";
  51. color:black;}
  52. a:link, span.MsoHyperlink
  53. {color:blue;
  54. text-decoration:underline;
  55. text-underline:single;}
  56. a:visited, span.MsoHyperlinkFollowed
  57. {color:blue;
  58. text-decoration:underline;
  59. text-underline:single;}
  60. p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
  61. {margin:0in;
  62. margin-bottom:.0001pt;
  63. mso-pagination:widow-orphan;
  64. font-size:10.0pt;
  65. font-family:"Courier New";
  66. mso-fareast-font-family:"Times New Roman";}
  67. @page Section1
  68. {size:8.5in 11.0in;
  69. margin:1.0in 1.25in 1.0in 1.25in;
  70. mso-header-margin:.5in;
  71. mso-footer-margin:.5in;
  72. mso-paper-source:0;}
  73. div.Section1
  74. {page:Section1;}
  75. -->
  76. </style>
  77. <!--[if gte mso 9]><xml>
  78. <o:shapedefaults v:ext="edit" spidmax="1027"/>
  79. </xml><![endif]--><!--[if gte mso 9]><xml>
  80. <o:shapelayout v:ext="edit">
  81. <o:idmap v:ext="edit" data="1"/>
  82. </o:shapelayout></xml><![endif]-->
  83. <meta name=MS-HAID content=VJsamples>
  84. </head>
  85. <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
  86. <div class=Section1>
  87. <table border=0 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
  88. 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
  89. <tr>
  90. <td width=160 style='width:120.0pt;background:#330099;padding:.75pt .75pt .75pt .75pt'>
  91. <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana;
  92. color:white'>&nbsp;<nobr><b>Windows Management Instrumentation SDK Sample</b></span><span
  93. style='font-family:Verdana'> <o:p></o:p></span></p>
  94. </td>
  95. </tr>
  96. </table>
  97. <p class=MsoPlainText><span style='font-family:Verdana'><br>
  98. </span><strong><span style='font-size:13.5pt;font-family:Verdana'>Utillib</span></strong><span
  99. style='font-family:Verdana'><br style='mso-special-character:line-break'>
  100. <![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
  101. <![endif]><o:p></o:p></span></p>
  102. <p class=MsoPlainText><span style='font-family:Verdana'>The Utillib sample
  103. library is a collection of useful routines used by some of the samples
  104. applications and that can be used in general for building WMI applications.<o:p></o:p></span></p>
  105. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  106. <p class=MsoPlainText><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt;
  107. font-family:Verdana'>Building the Utillib Library<o:p></o:p></span></p>
  108. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  109. <p class=MsoPlainText><span style='font-family:Verdana'>The UtilLib sample can
  110. be built from the command line using NMAKE, or it can be built using Microsoft
  111. Visual C++.<span yes>&nbsp;&nbsp; </span><o:p></o:p></span></p>
  112. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  113. <p class=MsoPlainText><span style='font-family:Verdana'>From the command line
  114. in the sample installation directory, type the following:<o:p></o:p></span></p>
  115. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  116. <p class=MsoPlainText style='margin-left:.5in'><b><span style='font-family:
  117. Verdana'>NMAKE /f &quot;Makefile&quot;<o:p></o:p></span></b></p>
  118. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  119. <p class=MsoPlainText><span style='font-family:Verdana'>From Microsoft Visual
  120. C++: <o:p></o:p></span></p>
  121. <p class=MsoPlainText><span style='font-family:Verdana'>&nbsp;<o:p></o:p></span></p>
  122. <p class=MsoPlainText style='margin-left:.5in' list .5in l3 level1 lfo2><span
  123. style='font-family:Verdana'>1.<span Times New Roman></span></span><span
  124. style='font-size:7.0pt;font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp;</span><span
  125. style='font-family:Verdana'>Select File + Open Workspace<o:p></o:p></span></p>
  126. <p class=MsoPlainText style='margin-left:.5in' list .5in l3 level1 lfo2><span
  127. style='font-family:Verdana'>2.<span Times New Roman></span></span><span
  128. style='font-size:7.0pt;font-family:Verdana'>&nbsp;&nbsp;&nbsp; </span><span
  129. style='font-family:Verdana'>Select the UtilLib.DSP file<o:p></o:p></span></p>
  130. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  131. <p class=MsoPlainText><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  132. <p class=MsoPlainText><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt;
  133. font-family:Verdana'>General Functions Available in the Library</span><span
  134. style='font-family:Verdana'><o:p></o:p></span></p>
  135. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  136. <table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
  137. border:none;mso-border-alt:solid windowtext .5pt;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
  138. <tr>
  139. <td width=131 valign=top style='width:98.6pt;border:solid windowtext 2.25pt;
  140. padding:0in 5.4pt 0in 5.4pt'>
  141. <p class=MsoNormal style='tab-stops:list .5in'><b><span style='font-size:
  142. 10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>Function Name<o:p></o:p></span></b></p>
  143. </td>
  144. <td width=348 valign=top style='width:261.0pt;border:solid windowtext 2.25pt;
  145. border-left:none;mso-border-left-alt:solid windowtext 2.25pt;padding:0in 5.4pt 0in 5.4pt'>
  146. <p class=MsoNormal style='tab-stops:list .5in'><b><span style='font-size:
  147. 10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>Purpose<o:p></o:p></span></b></p>
  148. </td>
  149. </tr>
  150. <tr>
  151. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  152. border-top:none;mso-border-top-alt:solid windowtext 2.25pt;padding:0in 5.4pt 0in 5.4pt'>
  153. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  154. mso-bidi-font-size:12.0pt;font-family:Verdana'>WbemErrorString<o:p></o:p></span></p>
  155. </td>
  156. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  157. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  158. mso-border-top-alt:solid windowtext 2.25pt;mso-border-left-alt:solid windowtext .5pt;
  159. padding:0in 5.4pt 0in 5.4pt'>
  160. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  161. mso-bidi-font-size:12.0pt;font-family:Verdana'>Translates SCODE into an error
  162. text string<o:p></o:p></span></p>
  163. </td>
  164. </tr>
  165. <tr>
  166. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  167. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  168. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  169. mso-bidi-font-size:12.0pt;font-family:Verdana'>PrintError<o:p></o:p></span></p>
  170. </td>
  171. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  172. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  173. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  174. padding:0in 5.4pt 0in 5.4pt'>
  175. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  176. mso-bidi-font-size:12.0pt;font-family:Verdana'>Translates SCODE into an error
  177. text string, formats and prints the error message<o:p></o:p></span></p>
  178. </td>
  179. </tr>
  180. <tr>
  181. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  182. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  183. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  184. mso-bidi-font-size:12.0pt;font-family:Verdana'>PrintErrorAndExit<o:p></o:p></span></p>
  185. </td>
  186. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  187. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  188. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  189. padding:0in 5.4pt 0in 5.4pt'>
  190. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  191. mso-bidi-font-size:12.0pt;font-family:Verdana'>Translates SCODE into an error
  192. text string, formats and prints the error message.<span style="mso-spacerun:
  193. yes">� </span>After printing message, exits the program.<o:p></o:p></span></p>
  194. </td>
  195. </tr>
  196. <tr>
  197. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  198. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  199. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  200. mso-bidi-font-size:12.0pt;font-family:Verdana'>PrintErrorAndAsk<o:p></o:p></span></p>
  201. </td>
  202. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  203. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  204. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  205. padding:0in 5.4pt 0in 5.4pt'>
  206. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  207. mso-bidi-font-size:12.0pt;font-family:Verdana'>Translates SCODE into an error
  208. text string, formats and prints the error message.<span style="mso-spacerun:
  209. yes">� </span>After printing message, prompts user if they wish to continue.<o:p></o:p></span></p>
  210. </td>
  211. </tr>
  212. <tr>
  213. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  214. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  215. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  216. mso-bidi-font-size:12.0pt;font-family:Verdana'>TypeToString<o:p></o:p></span></p>
  217. </td>
  218. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  219. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  220. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  221. padding:0in 5.4pt 0in 5.4pt'>
  222. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  223. mso-bidi-font-size:12.0pt;font-family:Verdana'>Takes a variant, returns a
  224. pointer to a string that is the variant type<o:p></o:p></span></p>
  225. </td>
  226. </tr>
  227. <tr>
  228. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  229. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  230. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  231. mso-bidi-font-size:12.0pt;font-family:Verdana'>TypeToString<o:p></o:p></span></p>
  232. </td>
  233. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  234. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  235. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  236. padding:0in 5.4pt 0in 5.4pt'>
  237. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  238. mso-bidi-font-size:12.0pt;font-family:Verdana'>Takes a VARTYPE, returns a
  239. pointer to a string that is the variant type<o:p></o:p></span></p>
  240. </td>
  241. </tr>
  242. <tr>
  243. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  244. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  245. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  246. mso-bidi-font-size:12.0pt;font-family:Verdana'>TypeToString<o:p></o:p></span></p>
  247. </td>
  248. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  249. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  250. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  251. padding:0in 5.4pt 0in 5.4pt'>
  252. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  253. mso-bidi-font-size:12.0pt;font-family:Verdana'>Takes a CIMTYPE, returns a
  254. pointer to a string that is the variant type<o:p></o:p></span></p>
  255. </td>
  256. </tr>
  257. <tr>
  258. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  259. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  260. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  261. mso-bidi-font-size:12.0pt;font-family:Verdana'>ValueToString<o:p></o:p></span></p>
  262. </td>
  263. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  264. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  265. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  266. padding:0in 5.4pt 0in 5.4pt'>
  267. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  268. mso-bidi-font-size:12.0pt;font-family:Verdana'>Takes a variant, returns a
  269. string representation of that variant<o:p></o:p></span></p>
  270. </td>
  271. </tr>
  272. <tr>
  273. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  274. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  275. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  276. mso-bidi-font-size:12.0pt;font-family:Verdana'>cvt<o:p></o:p></span></p>
  277. </td>
  278. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  279. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  280. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  281. padding:0in 5.4pt 0in 5.4pt'>
  282. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  283. mso-bidi-font-size:12.0pt;font-family:Verdana'>Converts Unicode to OEM for
  284. console output<o:p></o:p></span></p>
  285. </td>
  286. </tr>
  287. <tr>
  288. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  289. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  290. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  291. mso-bidi-font-size:12.0pt;font-family:Verdana'>myWFPrintf<o:p></o:p></span></p>
  292. </td>
  293. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  294. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  295. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  296. padding:0in 5.4pt 0in 5.4pt'>
  297. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  298. mso-bidi-font-size:12.0pt;font-family:Verdana'>Checks to see if outputting to
  299. console and converts string to OEM if necessary.<o:p></o:p></span></p>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  304. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  305. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  306. mso-bidi-font-size:12.0pt;font-family:Verdana'>difftime<o:p></o:p></span></p>
  307. </td>
  308. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  309. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  310. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  311. padding:0in 5.4pt 0in 5.4pt'>
  312. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  313. mso-bidi-font-size:12.0pt;font-family:Verdana'>Returns the elapsed time
  314. between two _timeb structures<o:p></o:p></span></p>
  315. </td>
  316. </tr>
  317. <tr>
  318. <td width=131 valign=top style='width:98.6pt;border:solid windowtext .5pt;
  319. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  320. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  321. mso-bidi-font-size:12.0pt;font-family:Verdana'>bIsNT<o:p></o:p></span></p>
  322. </td>
  323. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  324. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  325. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  326. padding:0in 5.4pt 0in 5.4pt'>
  327. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  328. mso-bidi-font-size:12.0pt;font-family:Verdana'>Boolean function that determines
  329. whether this is an NT operating system.<o:p></o:p></span></p>
  330. </td>
  331. </tr>
  332. </table>
  333. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  334. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  335. <p class=MsoPlainText><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt;
  336. font-family:Verdana'>Security Functions Available in the Library</span><span
  337. style='font-family:Verdana'><o:p></o:p></span></p>
  338. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  339. <table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
  340. border:none;mso-border-alt:solid windowtext .5pt;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
  341. <tr>
  342. <td width=162 valign=top style='width:121.8pt;border:solid windowtext 2.25pt;
  343. padding:0in 5.4pt 0in 5.4pt'>
  344. <p class=MsoNormal style='tab-stops:list .5in'><b><span style='font-size:
  345. 10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>Function Name<o:p></o:p></span></b></p>
  346. </td>
  347. <td width=348 valign=top style='width:261.0pt;border:solid windowtext 2.25pt;
  348. border-left:none;mso-border-left-alt:solid windowtext 2.25pt;padding:0in 5.4pt 0in 5.4pt'>
  349. <p class=MsoNormal style='tab-stops:list .5in'><b><span style='font-size:
  350. 10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>Purpose<o:p></o:p></span></b></p>
  351. </td>
  352. </tr>
  353. <tr>
  354. <td width=162 valign=top style='width:121.8pt;border:solid windowtext .5pt;
  355. border-top:none;mso-border-top-alt:solid windowtext 2.25pt;padding:0in 5.4pt 0in 5.4pt'>
  356. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  357. mso-bidi-font-size:12.0pt;font-family:Verdana'>InitializeSecurity<o:p></o:p></span></p>
  358. </td>
  359. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  360. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  361. mso-border-top-alt:solid windowtext 2.25pt;mso-border-left-alt:solid windowtext .5pt;
  362. padding:0in 5.4pt 0in 5.4pt'>
  363. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  364. mso-bidi-font-size:12.0pt;font-family:Verdana'>Initialize DCOM security.<o:p></o:p></span></p>
  365. </td>
  366. </tr>
  367. <tr>
  368. <td width=162 valign=top style='width:121.8pt;border:solid windowtext .5pt;
  369. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  370. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  371. mso-bidi-font-size:12.0pt;font-family:Verdana'>ParseAuthorityUserArgs<o:p></o:p></span></p>
  372. </td>
  373. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  374. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  375. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  376. padding:0in 5.4pt 0in 5.4pt'>
  377. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  378. mso-bidi-font-size:12.0pt;font-family:Verdana'>Examines the Authority and User
  379. argument and determines the authentication type.<o:p></o:p></span></p>
  380. </td>
  381. </tr>
  382. <tr>
  383. <td width=162 valign=top style='width:121.8pt;border:solid windowtext .5pt;
  384. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  385. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  386. mso-bidi-font-size:12.0pt;font-family:Verdana'>GetAuthImp<o:p></o:p></span></p>
  387. </td>
  388. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  389. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  390. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  391. padding:0in 5.4pt 0in 5.4pt'>
  392. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  393. mso-bidi-font-size:12.0pt;font-family:Verdana'>Gets the authentication and
  394. impersonation levels for a current interface.<o:p></o:p></span></p>
  395. </td>
  396. </tr>
  397. <tr>
  398. <td width=162 valign=top style='width:121.8pt;border:solid windowtext .5pt;
  399. border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  400. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  401. mso-bidi-font-size:12.0pt;font-family:Verdana'>SetInterfaceSecurity<o:p></o:p></span></p>
  402. </td>
  403. <td width=348 valign=top style='width:261.0pt;border-top:none;border-left:
  404. none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  405. mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  406. padding:0in 5.4pt 0in 5.4pt'>
  407. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-size:10.0pt;
  408. mso-bidi-font-size:12.0pt;font-family:Verdana'>Set the identity to be used by
  409. a connection.<o:p></o:p></span></p>
  410. </td>
  411. </tr>
  412. </table>
  413. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
  414. <p class=MsoNormal style='tab-stops:list .5in'><span style='font-family:Verdana'><br>
  415. </span><span style='font-family:Verdana;mso-bidi-font-family:Arial'><a
  416. href="http://www.microsoft.com/misc/CPYRIGHT.HTM"><b>� 1998-2001 Microsoft
  417. Corporation. All rights reserved.</b></a></span><span style='font-family:Verdana'><o:p></o:p></span></p>
  418. </div>
  419. </body>
  420. </html>