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.

546 lines
20 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html xmlns:o="urn:schemas-microsoft-com:office:office"
  3. xmlns:w="urn:schemas-microsoft-com:office:word"
  4. xmlns="http://www.w3.org/TR/REC-html40">
  5. <head>
  6. <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
  7. <meta name=ProgId content=Word.Document>
  8. <meta name=Generator content="Microsoft Word 10">
  9. <meta name=Originator content="Microsoft Word 10">
  10. <link rel=File-List href="demoups_files/filelist.xml">
  11. <title>Demo UPS minidriver</title>
  12. <!--[if gte mso 9]><xml>
  13. <o:DocumentProperties>
  14. <o:Author>Stephen R. Berard</o:Author>
  15. <o:LastAuthor>Allen Marshall</o:LastAuthor>
  16. <o:Revision>10</o:Revision>
  17. <o:TotalTime>29</o:TotalTime>
  18. <o:Created>2001-12-07T00:00:00Z</o:Created>
  19. <o:LastSaved>2002-01-21T20:48:00Z</o:LastSaved>
  20. <o:Pages>1</o:Pages>
  21. <o:Words>490</o:Words>
  22. <o:Characters>2796</o:Characters>
  23. <o:Company>American Power Conversion</o:Company>
  24. <o:Lines>23</o:Lines>
  25. <o:Paragraphs>6</o:Paragraphs>
  26. <o:CharactersWithSpaces>3280</o:CharactersWithSpaces>
  27. <o:Version>10.3501</o:Version>
  28. </o:DocumentProperties>
  29. </xml><![endif]--><!--[if gte mso 9]><xml>
  30. <w:WordDocument>
  31. <w:View>Print</w:View>
  32. <w:Zoom>BestFit</w:Zoom>
  33. <w:SpellingState>Clean</w:SpellingState>
  34. <w:GrammarState>Clean</w:GrammarState>
  35. <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  36. </w:WordDocument>
  37. </xml><![endif]-->
  38. <style>
  39. <!--
  40. /* Font Definitions */
  41. @font-face
  42. {font-family:Wingdings;
  43. panose-1:5 0 0 0 0 0 0 0 0 0;
  44. mso-font-charset:2;
  45. mso-generic-font-family:auto;
  46. mso-font-pitch:variable;
  47. mso-font-signature:0 268435456 0 0 -2147483648 0;}
  48. @font-face
  49. {font-family:Verdana;
  50. panose-1:2 11 6 4 3 5 4 4 2 4;
  51. mso-font-charset:0;
  52. mso-generic-font-family:swiss;
  53. mso-font-pitch:variable;
  54. mso-font-signature:536871559 0 0 0 415 0;}
  55. @font-face
  56. {font-family:"MS Sans Serif";
  57. panose-1:0 0 0 0 0 0 0 0 0 0;
  58. mso-font-alt:"Times New Roman";
  59. mso-font-charset:0;
  60. mso-generic-font-family:roman;
  61. mso-font-format:other;
  62. mso-font-pitch:auto;
  63. mso-font-signature:0 0 0 0 0 0;}
  64. /* Style Definitions */
  65. p.MsoNormal, li.MsoNormal, div.MsoNormal
  66. {mso-style-parent:"";
  67. margin:0in;
  68. margin-bottom:.0001pt;
  69. mso-pagination:widow-orphan;
  70. font-size:12.0pt;
  71. font-family:"Times New Roman";
  72. mso-fareast-font-family:"Times New Roman";}
  73. h2
  74. {mso-margin-top-alt:auto;
  75. margin-right:0in;
  76. mso-margin-bottom-alt:auto;
  77. margin-left:0in;
  78. mso-pagination:widow-orphan;
  79. mso-outline-level:2;
  80. font-size:18.0pt;
  81. font-family:"Times New Roman";
  82. font-weight:bold;}
  83. h3
  84. {mso-margin-top-alt:auto;
  85. margin-right:0in;
  86. mso-margin-bottom-alt:auto;
  87. margin-left:0in;
  88. mso-pagination:widow-orphan;
  89. mso-outline-level:3;
  90. font-size:13.5pt;
  91. font-family:"Times New Roman";
  92. font-weight:bold;}
  93. a:link, span.MsoHyperlink
  94. {color:blue;
  95. text-decoration:underline;
  96. text-underline:single;}
  97. a:visited, span.MsoHyperlinkFollowed
  98. {color:blue;
  99. text-decoration:underline;
  100. text-underline:single;}
  101. p
  102. {mso-margin-top-alt:auto;
  103. margin-right:0in;
  104. mso-margin-bottom-alt:auto;
  105. margin-left:0in;
  106. mso-pagination:widow-orphan;
  107. font-size:12.0pt;
  108. font-family:"Times New Roman";
  109. mso-fareast-font-family:"Times New Roman";}
  110. span.SpellE
  111. {mso-style-name:"";
  112. mso-spl-e:yes;}
  113. span.GramE
  114. {mso-style-name:"";
  115. mso-gram-e:yes;}
  116. @page Section1
  117. {size:8.5in 11.0in;
  118. margin:1.0in 1.25in 1.0in 1.25in;
  119. mso-header-margin:.5in;
  120. mso-footer-margin:.5in;
  121. mso-paper-source:0;}
  122. div.Section1
  123. {page:Section1;}
  124. /* List Definitions */
  125. @list l0
  126. {mso-list-id:856621998;
  127. mso-list-template-ids:-1887928766;}
  128. @list l0:level1
  129. {mso-level-tab-stop:.5in;
  130. mso-level-number-position:left;
  131. text-indent:-.25in;}
  132. @list l0:level2
  133. {mso-level-tab-stop:1.0in;
  134. mso-level-number-position:left;
  135. text-indent:-.25in;}
  136. @list l0:level3
  137. {mso-level-tab-stop:1.5in;
  138. mso-level-number-position:left;
  139. text-indent:-.25in;}
  140. @list l0:level4
  141. {mso-level-tab-stop:2.0in;
  142. mso-level-number-position:left;
  143. text-indent:-.25in;}
  144. @list l0:level5
  145. {mso-level-tab-stop:2.5in;
  146. mso-level-number-position:left;
  147. text-indent:-.25in;}
  148. @list l0:level6
  149. {mso-level-tab-stop:3.0in;
  150. mso-level-number-position:left;
  151. text-indent:-.25in;}
  152. @list l0:level7
  153. {mso-level-tab-stop:3.5in;
  154. mso-level-number-position:left;
  155. text-indent:-.25in;}
  156. @list l0:level8
  157. {mso-level-tab-stop:4.0in;
  158. mso-level-number-position:left;
  159. text-indent:-.25in;}
  160. @list l0:level9
  161. {mso-level-tab-stop:4.5in;
  162. mso-level-number-position:left;
  163. text-indent:-.25in;}
  164. @list l1
  165. {mso-list-id:917902133;
  166. mso-list-template-ids:-204947600;}
  167. @list l1:level1
  168. {mso-level-number-format:bullet;
  169. mso-level-text:\F0B7;
  170. mso-level-tab-stop:.5in;
  171. mso-level-number-position:left;
  172. text-indent:-.25in;
  173. mso-ansi-font-size:10.0pt;
  174. font-family:Symbol;}
  175. @list l1:level2
  176. {mso-level-tab-stop:1.0in;
  177. mso-level-number-position:left;
  178. text-indent:-.25in;}
  179. @list l1:level3
  180. {mso-level-tab-stop:1.5in;
  181. mso-level-number-position:left;
  182. text-indent:-.25in;}
  183. @list l1:level4
  184. {mso-level-tab-stop:2.0in;
  185. mso-level-number-position:left;
  186. text-indent:-.25in;}
  187. @list l1:level5
  188. {mso-level-tab-stop:2.5in;
  189. mso-level-number-position:left;
  190. text-indent:-.25in;}
  191. @list l1:level6
  192. {mso-level-tab-stop:3.0in;
  193. mso-level-number-position:left;
  194. text-indent:-.25in;}
  195. @list l1:level7
  196. {mso-level-tab-stop:3.5in;
  197. mso-level-number-position:left;
  198. text-indent:-.25in;}
  199. @list l1:level8
  200. {mso-level-tab-stop:4.0in;
  201. mso-level-number-position:left;
  202. text-indent:-.25in;}
  203. @list l1:level9
  204. {mso-level-tab-stop:4.5in;
  205. mso-level-number-position:left;
  206. text-indent:-.25in;}
  207. @list l2
  208. {mso-list-id:967275839;
  209. mso-list-template-ids:-1783480048;}
  210. @list l2:level1
  211. {mso-level-number-format:bullet;
  212. mso-level-text:\F0B7;
  213. mso-level-tab-stop:.5in;
  214. mso-level-number-position:left;
  215. text-indent:-.25in;
  216. mso-ansi-font-size:10.0pt;
  217. font-family:Symbol;}
  218. @list l2:level2
  219. {mso-level-tab-stop:1.0in;
  220. mso-level-number-position:left;
  221. text-indent:-.25in;}
  222. @list l2:level3
  223. {mso-level-tab-stop:1.5in;
  224. mso-level-number-position:left;
  225. text-indent:-.25in;}
  226. @list l2:level4
  227. {mso-level-tab-stop:2.0in;
  228. mso-level-number-position:left;
  229. text-indent:-.25in;}
  230. @list l2:level5
  231. {mso-level-tab-stop:2.5in;
  232. mso-level-number-position:left;
  233. text-indent:-.25in;}
  234. @list l2:level6
  235. {mso-level-tab-stop:3.0in;
  236. mso-level-number-position:left;
  237. text-indent:-.25in;}
  238. @list l2:level7
  239. {mso-level-tab-stop:3.5in;
  240. mso-level-number-position:left;
  241. text-indent:-.25in;}
  242. @list l2:level8
  243. {mso-level-tab-stop:4.0in;
  244. mso-level-number-position:left;
  245. text-indent:-.25in;}
  246. @list l2:level9
  247. {mso-level-tab-stop:4.5in;
  248. mso-level-number-position:left;
  249. text-indent:-.25in;}
  250. @list l3
  251. {mso-list-id:1010261280;
  252. mso-list-template-ids:-1637157964;}
  253. @list l3:level1
  254. {mso-level-tab-stop:.5in;
  255. mso-level-number-position:left;
  256. text-indent:-.25in;}
  257. @list l4
  258. {mso-list-id:1246648340;
  259. mso-list-template-ids:-2046270162;}
  260. @list l4:level1
  261. {mso-level-tab-stop:.5in;
  262. mso-level-number-position:left;
  263. text-indent:-.25in;}
  264. @list l5
  265. {mso-list-id:1731687321;
  266. mso-list-template-ids:133613986;}
  267. @list l5:level1
  268. {mso-level-tab-stop:.5in;
  269. mso-level-number-position:left;
  270. text-indent:-.25in;}
  271. @list l6
  272. {mso-list-id:1732456476;
  273. mso-list-template-ids:-860734320;}
  274. @list l6:level1
  275. {mso-level-number-format:bullet;
  276. mso-level-text:\F0B7;
  277. mso-level-tab-stop:.5in;
  278. mso-level-number-position:left;
  279. text-indent:-.25in;
  280. mso-ansi-font-size:10.0pt;
  281. font-family:Symbol;}
  282. @list l7
  283. {mso-list-id:1816294252;
  284. mso-list-template-ids:1956828798;}
  285. @list l7:level1
  286. {mso-level-number-format:bullet;
  287. mso-level-text:\F0B7;
  288. mso-level-tab-stop:.5in;
  289. mso-level-number-position:left;
  290. text-indent:-.25in;
  291. mso-ansi-font-size:10.0pt;
  292. font-family:Symbol;}
  293. @list l8
  294. {mso-list-id:1819154669;
  295. mso-list-template-ids:-311934658;}
  296. @list l8:level1
  297. {mso-level-tab-stop:.5in;
  298. mso-level-number-position:left;
  299. text-indent:-.25in;}
  300. @list l8:level2
  301. {mso-level-tab-stop:1.0in;
  302. mso-level-number-position:left;
  303. text-indent:-.25in;}
  304. @list l8:level3
  305. {mso-level-tab-stop:1.5in;
  306. mso-level-number-position:left;
  307. text-indent:-.25in;}
  308. @list l8:level4
  309. {mso-level-tab-stop:2.0in;
  310. mso-level-number-position:left;
  311. text-indent:-.25in;}
  312. @list l8:level5
  313. {mso-level-tab-stop:2.5in;
  314. mso-level-number-position:left;
  315. text-indent:-.25in;}
  316. @list l8:level6
  317. {mso-level-tab-stop:3.0in;
  318. mso-level-number-position:left;
  319. text-indent:-.25in;}
  320. @list l8:level7
  321. {mso-level-tab-stop:3.5in;
  322. mso-level-number-position:left;
  323. text-indent:-.25in;}
  324. @list l8:level8
  325. {mso-level-tab-stop:4.0in;
  326. mso-level-number-position:left;
  327. text-indent:-.25in;}
  328. @list l8:level9
  329. {mso-level-tab-stop:4.5in;
  330. mso-level-number-position:left;
  331. text-indent:-.25in;}
  332. ol
  333. {margin-bottom:0in;}
  334. ul
  335. {margin-bottom:0in;}
  336. -->
  337. </style>
  338. <!--[if gte mso 10]>
  339. <style>
  340. /* Style Definitions */
  341. table.MsoNormalTable
  342. {mso-style-name:"Table Normal";
  343. mso-tstyle-rowband-size:0;
  344. mso-tstyle-colband-size:0;
  345. mso-style-noshow:yes;
  346. mso-style-parent:"";
  347. mso-padding-alt:0in 5.4pt 0in 5.4pt;
  348. mso-para-margin:0in;
  349. mso-para-margin-bottom:.0001pt;
  350. mso-pagination:widow-orphan;
  351. font-size:10.0pt;
  352. font-family:"Times New Roman";}
  353. </style>
  354. <![endif]-->
  355. <meta name=Author content="Stephen R. Berard">
  356. </head>
  357. <body lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
  358. <div class=Section1>
  359. <h2><span style='font-family:Verdana'>UPS <span class=SpellE>Minidriver</span> Demo<o:p></o:p></span></h2>
  360. <h3><span style='font-family:Verdana'>SUMMARY<o:p></o:p></span></h3>
  361. <p><span style='font-size:10.0pt;font-family:Verdana'>The&nbsp;Demo UPS&nbsp;sample
  362. provides an example of a UPS minidriver for use by the UPS service.&nbsp; It
  363. contains annotated code to assist in developing a UPS minidriver DLL.&nbsp;
  364. Detailed documentation may be found in the Windows 2000/XP DDK under Battery
  365. Devices.<o:p></o:p></span></p>
  366. <h3><span style='font-family:Verdana'>Introduction to UPS <span class=SpellE>Minidrivers</span><o:p></o:p></span></h3>
  367. <p><span style='font-size:10.0pt;font-family:Verdana'>A UPS minidriver provides
  368. a means for the standard UPS service to communicate with various UPS
  369. devices.&nbsp; Third parties may provide a minidriver to enable the UPS service
  370. to manage their proprietary hardware.&nbsp; A UPS minidriver&nbsp;is a
  371. user-mode DLL called by the UPS service.&nbsp; A UPS <span class=SpellE>minidriver</span>
  372. has the following responsibilities:<o:p></o:p></span></p>
  373. <ul type=disc>
  374. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  375. mso-list:l2 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
  376. font-family:Verdana'>Initialize the communication path to the UPS. <o:p></o:p></span></li>
  377. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  378. mso-list:l2 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
  379. font-family:Verdana'>Update registry entries that are used to display
  380. information to the user via <strong><span style='font-family:Verdana'>Power
  381. Options</span></strong>. <o:p></o:p></span></li>
  382. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  383. mso-list:l2 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
  384. font-family:Verdana'>Monitor the UPS for state changes. <o:p></o:p></span></li>
  385. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  386. mso-list:l2 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
  387. font-family:Verdana'>Power off the UPS outlets upon shutdown (if supported
  388. by the hardware). <o:p></o:p></span></li>
  389. </ul>
  390. <p><span style='font-size:10.0pt;font-family:Verdana'>Typically, a UPS
  391. minidriver communicates with a UPS device through a COM (serial) port by
  392. calling <span class=SpellE><strong><span style='font-family:Verdana'>CreateFile</span></strong></span>,
  393. <span class=SpellE><strong><span style='font-family:Verdana'>ReadFile</span></strong></span>,
  394. and <span class=SpellE><strong><span style='font-family:Verdana'>WriteFile</span></strong></span>.&nbsp;
  395. These functions are described in the Platform SDK documentation.&nbsp; The
  396. minidriver is responsible for implementing whatever communication protocol the
  397. UPS unit supports.</span></p>
  398. <p><b><span style='font-size:10.0pt;font-family:Verdana'>Note: </span></b><span
  399. style='font-size:10.0pt;font-family:Verdana'>This package is intended to
  400. demonstrate UPS minidriver concepts for educational purposes. It is not to be
  401. used in a production environment in its entirety.&nbsp;<o:p></o:p></span></p>
  402. <h3><span style='font-family:Verdana'>Introduction to the Demo UPS Sample<o:p></o:p></span></h3>
  403. <p><span style='font-size:10.0pt;font-family:Verdana'>This sample package
  404. consists of source code and an installation INF file. The sample contains
  405. following files: <o:p></o:p></span></p>
  406. <ul type=disc>
  407. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  408. mso-list:l1 level1 lfo6;tab-stops:list .5in'><span class=SpellE><span
  409. class=GramE><i style='mso-bidi-font-style:normal'><span style='font-size:
  410. 10.0pt;font-family:Verdana'>demoups.cpp</span></i></span></span><span
  411. class=GramE><span style='font-size:10.0pt;font-family:Verdana'> :</span></span><span
  412. style='font-size:10.0pt;font-family:Verdana'>&nbsp; C/C++ source file.<o:p></o:p></span></li>
  413. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  414. mso-list:l1 level1 lfo6;tab-stops:list .5in'><span class=SpellE><span
  415. class=GramE><i><span style='font-size:10.0pt;font-family:Verdana'>demoups.h</span></i></span></span><span
  416. class=GramE><span style='font-size:10.0pt;font-family:Verdana'> :</span></span><span
  417. style='font-size:10.0pt;font-family:Verdana'> C/C++ header file.<o:p></o:p></span></li>
  418. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  419. mso-list:l1 level1 lfo6;tab-stops:list .5in'><span class=SpellE><span
  420. class=GramE><em><span style='font-size:10.0pt;font-family:Verdana'>demoups.def</span></em></span></span><span
  421. class=GramE><span style='font-size:10.0pt;font-family:Verdana'> :</span></span><span
  422. style='font-size:10.0pt;font-family:Verdana'> Module definitions file for
  423. the project.<o:p></o:p></span></li>
  424. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  425. mso-list:l1 level1 lfo6;tab-stops:list .5in'><span class=SpellE><span
  426. class=GramE><em><span style='font-size:10.0pt;font-family:Verdana'>demoups.inf</span></em></span></span><span
  427. class=GramE><span style='font-size:10.0pt;font-family:Verdana'> :</span></span><span
  428. style='font-size:10.0pt;font-family:Verdana'> Information&nbsp;file used
  429. for installation.<o:p></o:p></span></li>
  430. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  431. mso-list:l1 level1 lfo6;tab-stops:list .5in'><span class=GramE><em><span
  432. style='font-size:10.0pt;font-family:Verdana'>demoups.htm</span></em><span
  433. style='font-size:10.0pt;font-family:Verdana'> :</span></span><span
  434. style='font-size:10.0pt;font-family:Verdana'> This file.<o:p></o:p></span></li>
  435. </ul>
  436. <h3><span style='font-family:Verdana'>BUILDING THE SAMPLE<o:p></o:p></span></h3>
  437. <p><span style='font-size:10.0pt;font-family:Verdana'>To build the sample
  438. drivers, you must first set up the DDK environment on your host machine.&nbsp;The
  439. �Installation and Release Notes� in the Windows 2000/XP DDK has a complete
  440. description on how to do this.&nbsp; <o:p></o:p></span></p>
  441. <ol start=1 type=1>
  442. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  443. mso-list:l8 level1 lfo9;tab-stops:list .5in'><span style='font-size:10.0pt;
  444. font-family:Verdana'>Run the build �<span class=SpellE>ceZ</span> command
  445. in the <span class=SpellE>DemoUPS</span> directory to build <i
  446. style='mso-bidi-font-style:normal'>demoups.dll</i>.&nbsp;<o:p></o:p></span></li>
  447. </ol>
  448. <p><span style='font-size:10.0pt;font-family:Verdana'>This will build the
  449. sample. Any errors will be displayed in the Output window. <o:p></o:p></span></p>
  450. <h3><span style='font-family:Verdana'>INSTALLING THE SAMPLE<o:p></o:p></span></h3>
  451. <p><span style='font-size:10.0pt;font-family:Verdana'>To install the UPS demo
  452. minidriver: <o:p></o:p></span></p>
  453. <ol start=1 type=1>
  454. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  455. mso-list:l0 level1 lfo12;tab-stops:list .5in'><span style='font-size:10.0pt;
  456. font-family:Verdana'>Using Windows Explorer, navigate to the directory
  457. containing the Demo UPS files. <o:p></o:p></span></li>
  458. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  459. mso-list:l0 level1 lfo12;tab-stops:list .5in'><span style='font-size:10.0pt;
  460. font-family:Verdana'>Right click on&nbsp;<span class=SpellE><em><span
  461. style='font-family:Verdana'>demoups.inf</span></em></span><em><span
  462. style='font-family:Verdana'> </span></em>and select&nbsp;�Install�.</span></li>
  463. </ol>
  464. <p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>This&nbsp;will
  465. copy the&nbsp;<em><span style='font-family:Verdana'>demoups.dll </span></em>file
  466. to the&nbsp;<em><span style='font-family:Verdana'>%SystemRoom$\system32</span></em>
  467. directory and make the appropriate registry entries. <o:p></o:p></span></p>
  468. <h3><span style='font-family:Verdana'>RUNNING THE SAMPLE<o:p></o:p></span></h3>
  469. <p><span style='font-size:10.0pt;font-family:Verdana'>Once the Demo UPS
  470. minidriver is installed, it needs to be&nbsp;configured and started from the <strong><span
  471. style='font-family:Verdana'>Power Options </span></strong>Control&nbsp;Panel
  472. applet.</span></p>
  473. <ol start=1 type=1>
  474. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  475. mso-list:l3 level1 lfo13;tab-stops:list .5in'><span style='font-size:10.0pt;
  476. font-family:Verdana'>Open the Control Panel and select <strong><span
  477. style='font-family:Verdana'>Power Options</span></strong>.</span></li>
  478. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  479. mso-list:l3 level1 lfo13;tab-stops:list .5in'><span style='font-size:10.0pt;
  480. font-family:Verdana'>Select the �UPS�&nbsp;tab and click �Select...� to
  481. open the UPS Selection dialog.&nbsp; This dialog allows the user to select
  482. their UPS manufacturer, model, and COM port.&nbsp;</span></li>
  483. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  484. mso-list:l3 level1 lfo13;tab-stops:list .5in'><span style='font-size:10.0pt;
  485. font-family:Verdana'>Select �DDK Sample� for the manufacturer and �DDK
  486. Demo UPS�&nbsp;for the model and click �Finish�.&nbsp; The COM port value
  487. is ignored by the Demo UPS minidriver.&nbsp;&nbsp;</span></li>
  488. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  489. mso-list:l3 level1 lfo13;tab-stops:list .5in'><span style='font-size:10.0pt;
  490. font-family:Verdana'>Click �Apply� to start the UPS service.&nbsp; This
  491. will take a few seconds and then the display will show the UPS details.<o:p></o:p></span></li>
  492. </ol>
  493. <p><span style='font-size:10.0pt;font-family:Verdana'>You can uninstall the
  494. Demo UPS minidriver by selecting �None� for the manufacturer and clicking
  495. �Finish� and �<span class=GramE>Apply</span>�.&nbsp; This will remove the Demo
  496. UPS minidriver configuration and stop the UPS service.<o:p></o:p></span></p>
  497. <p align=center style='text-align:center'><a href="#top"><span
  498. style='font-size:10.0pt;font-family:Verdana'>Top of page</span></a> <span
  499. style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></p>
  500. <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=624
  501. style='width:6.5in;mso-cellspacing:0in;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
  502. <tr style='mso-yfti-irow:0;mso-yfti-lastrow:yes;height:1.5pt'>
  503. <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:1.5pt;
  504. -x-background-x-position: 0%;-x-background-y-position: 0%;background-attachment:
  505. scroll'>
  506. <p class=MsoNormal><span style='font-size:2.0pt'><o:p>&nbsp;</o:p></span></p>
  507. </td>
  508. </tr>
  509. </table>
  510. <p><span style='font-size:7.5pt;font-family:"MS Sans Serif"'>� Microsoft
  511. Corporation 2001</span><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></p>
  512. </div>
  513. </body>
  514. </html>