# HG changeset patch # User Oleksandr Gavenko # Date 1288177632 -10800 # Node ID 4447949085e42b92a9fee9c7be18739a4fd46a51 # Parent 94c028098e50227cdf945f4d23fcbb639c34860c# Parent ad96e87bf40323d8dcf058f2b53d78b68e535a30 merged diff -r 94c028098e50 -r 4447949085e4 doxygen.rst --- /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 + diff -r 94c028098e50 -r 4447949085e4 driver-win.rst --- 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