merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 27 Oct 2010 14:07:12 +0300
changeset 627 4447949085e4
parent 622 94c028098e50 (current diff)
parent 626 ad96e87bf403 (diff)
child 630 26f0d8c50fb9
merged
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doxygen.rst	Wed Oct 27 14:07:12 2010 +0300
@@ -0,0 +1,32 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* Doxygen simple workflow.
+
+  $ cd $proj
+  $ doxygen -g $proj.cfg  # generate basic config file
+
+Edit $proj.cfg. Some essential settings:
+
+  PROJECT_NAME     = my-proj
+  OUTPUT_DIRECTORY = my
+  OUTPUT_LANGUAGE  = English
+  INPUT            = my.h my.hpp dir/
+  INPUT_ENCODING   = UTF-8
+  FILE_PATTERNS    =
+  RECURSIVE        = NO
+  GENERATE_HTML    = YES
+
+* Generate .chm from doxygen.
+
+Check doxygen config file for:
+
+  GENERATE_HTMLHELP  = YES
+  CHM_FILE           = my.chm
+  CHM_INDEX_ENCODING = Windows-1251
+
+Run 'doxygen' and 'hhc.exe' on generated 'index.hhp'
+
+  $ doxygen $proj.cfg
+  $ cd $proj/html     # here gone doxygen html output
+  $ hhc.exe index.hhp
+
--- a/driver-win.rst	Sun Oct 24 14:59:08 2010 +0300
+++ b/driver-win.rst	Wed Oct 27 14:07:12 2010 +0300
@@ -181,3 +181,23 @@
                 Tools for Signing Drivers
   http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx
                 Code-Signing Best Practices
+
+* Invoking a Device Properties Dialog Box from a Command-line Prompt.
+
+You need get device-instance-ID-parameter:
+
+  cmd# rundll32.exe devmgr.dll,DeviceProperties_RunDLL /DeviceID "ACPI\PNP0F03\4&1A8C8C2E&0"
+
+  http://msdn.microsoft.com/en-us/library/ff548170.aspx
+
+* Driver Selection Process.
+
+Windows uses the following criteria to select a driver for a device:
+
+ * Windows selects the driver that has the lowest rank value as the best match for the device.
+ * For drivers that have equal rank, Windows selects the driver that has the most recent date.
+ * For the drivers that have equal rank and date, Windows selects the driver that has the highest version.
+ * Windows XP SP1 and later: For drivers that have equal rank, date, and version, Windows can select any driver.
+ * Windows XP and Windows 2000: For drivers that have equal rank, date, and version, Windows can select any driver.
+
+  http://msdn.microsoft.com/en-us/library/ff549553.aspx