driver-win.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2009 11:10:45 +0300
changeset 171 8e806cddee36
parent 169 0f84c4f84770
child 173 939f50e22bda
permissions -rw-r--r--
Debugging emacs (about edebug).

-*- outline -*-

* Which version exist?

 - VxD
                Windows 3.x and Windows 9x
 - Windows Driver Model (WDM)
                Windows 98, Windows 98 Second Edition, Windows Me, Windows
                2000, Windows XP, Windows Server 2003 and Windows Vista (for
                backwards compatibility)
 - Windows Driver Foundation (WDF)
                Windows 2000 and later

* VxD.

See

  http://en.wikipedia.org/wiki/VxD

* WDM.

See

  http://en.wikipedia.org/wiki/Windows_Driver_Model

* WDF.

See

  http://en.wikipedia.org/wiki/Windows_Driver_Foundation

* Filename extension.

 * VxD
    .386 under Windows 3.x
    .vxd under Windows 95

* Tools.

** Microsoft DDK.

*** DevCon.

Supported device classes:

  cmd> devcon.exe classes

Which files used by specific driver (with "*" prints list of files for all drivers):

  cmd> devcon.exe driverfiles *

Device ID (names included):

  cmd> devcon.exe hwids *

Device status (running/stoped):

  cmd> devcon.exe status *

** USB Command Verifier.

All USB peripherals are required to pass the Device Framework tests in order
to gain certification.

  http://www.usb.org/developers/tools/

* Files.

** Windows 98 SE/ME.

** Windows NT (2000/XP/2003).

 * .inf
   Stored in %Windir%\Inf.
 * .pnf
   Precompiled INF File. Stored in %Windir%\Inf.