Installing Device Drivers

Posted on 2004-11-24
Last Modified: 2010-04-24
I have written a devide driver from a sample and was able to build it.

I need to know how to:
-build a inf file for my device driver
-install the device driver
-view the output from dbgPrint
Question by:danielj040300
    1 Comment
    LVL 48

    Accepted Solution

    1. DDK contains INF file reference. See "Creating an INF File".

    DDK sample has inf file for each sample, and inf file templates in the src\setup\infs directory.
    Read about inf files in the books:
    The Windows 2000 Device Driver Book, A Guide for Programmers, Art Baker and Jerry Lozano
    Programming the Microsoft Windows Driver Model, Walter Oney.

    Instead of inf file you can write your own installation program. See this example:

    2. If you have inf file, use Windows Hardware Wizard (Add New Hardware) to install it. If you have custom installation program, run it.


    This utility shows debug output both from user and kernel mode. To enable kernel mode capture, open Capture menu.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now