Automated merge with file:///cygdrive/e/srv/hg/tips
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 30 Oct 2010 18:01:28 +0300
changeset 656 ad4a19fe23ed
parent 644 2a0bed0e3bba (diff)
parent 655 d895effcb0e1 (current diff)
child 657 0ab022337a73
Automated merge with file:///cygdrive/e/srv/hg/tips
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doxygen.rst	Sat Oct 30 18:01:28 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	Sat Oct 30 18:01:17 2010 +0300
+++ b/driver-win.rst	Sat Oct 30 18:01:28 2010 +0300
@@ -177,7 +177,62 @@
 
 * Driver signing.
 
+Type of signature:
+
+ * Signed by a Windows signing authority.
+ * Signed by a trusted publisher.
+ * Signed by an untrusted publisher.
+ * Signed by a publisher of unknown trust.
+ * Altered.
+ * Unsigned.
+
+  http://msdn.microsoft.com/en-us/library/ff544703.aspx
+                Type of signature and performed action.
+  http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx
+                Code-Signing Best Practices.
+  http://msdn.microsoft.com/en-us/library/ff550764.aspx
+                Device Installation Signing Requirements.
+
+** 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
+
+* Distributing a Driver Package.
+
+** Windows Update.
+
+You can distribute a driver package through the Windows Update program if the driver package:
+
+ * Passes the WHQL test program and receives a WHQL release signature.
+ * Qualifies for the Windows Logo program.
+ * Meets additional requirements that ensure that Windows Update can determine the correct driver
+   package for the user's device, can legally distribute it, and can automatically download it.
+
+  http://msdn.microsoft.com/en-us/library/ff554874.aspx
--- a/laser-disk.rst	Sat Oct 30 18:01:17 2010 +0300
+++ b/laser-disk.rst	Sat Oct 30 18:01:28 2010 +0300
@@ -59,15 +59,13 @@
 
 Approximately 100 years under proper storage conditions (from TDK support).
 
-  http://faq.imation.com/tdk/index.php?action=article&cat_id=011001&id=104
+  http://www.cd-info.com/archiving/
 
 *** How many times can I rewrite to a CD-RW?
 
 A CD-RW disc can be erased and rewritten up to a 1,000 times. Reliability and
 performance will not decrease, even as the number of rewrites increase.
 
-  http://faq.imation.com/tdk/index.php?action=article&cat_id=011001&id=111
-
 ** DVD.
 
 * Burning tools.
--- a/windows.rst	Sat Oct 30 18:01:17 2010 +0300
+++ b/windows.rst	Sat Oct 30 18:01:28 2010 +0300
@@ -292,3 +292,18 @@
 
   http://blogs.technet.com/b/srd/archive/2010/07/28/announcing-the-upcoming-release-of-emet-v2.aspx
 
+* Disabling UAC.
+
+To disable UAC on the test computer, you must be able to log on with or provide the credentials of a
+member of the local Administrators group.
+
+Starting with Windows 7, UAC is disabled by following these steps:
+
+  1. On the Start menu, type "UAC" and then click Change User Account settings.
+  2. Move the slide bar to the bottom (Never Notify) and then click OK.
+
+On Windows Vista and Windows Server 2008, UAC is disabled by following these steps:
+
+  1. Start Control Panel and double-click User Accounts.
+  2. In the User Accounts tasks window, click Turn User Account Control on or off.
+  3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.