# HG changeset patch # User Oleksandr Gavenko # Date 1288215904 -10800 # Node ID a360ae19b5a3cc54b88eca58631a7a464b948d4d # Parent 26f0d8c50fb942ad13402f5ca4d98a9f96a7ec27# Parent fc4f97c313ef8e58d457c5a384e2f2878114bb6d merged diff -r fc4f97c313ef -r a360ae19b5a3 doxygen.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doxygen.rst Thu Oct 28 00:45:04 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 fc4f97c313ef -r a360ae19b5a3 driver-win.rst --- a/driver-win.rst Tue Oct 26 21:52:02 2010 +0300 +++ b/driver-win.rst Thu Oct 28 00:45:04 2010 +0300 @@ -177,7 +177,36 @@ * Driver signing. + http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx + Code-Signing Best Practices + +** Tools for Signing Drivers. + +'certmgr.msc' present in Windows 2000 and upper. + +From Windows SDK/WDK: + + CertMgr Inf2Cat MakeCat MakeCert Pvk2Pfx SignTool + http://msdn.microsoft.com/en-us/library/ff552958.aspx 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