Non Pnp/Legacy drivers on win2k / winXP

Discussion in 'Windows Vista Drivers' started by Guest, Feb 1, 2004.

  1. Guest

    Guest Guest

    Hi,

    I'm installing a kernel driver using Service Control Manager API's.

    Installation, loading, unloading works perfectly fine.

    It appears that Uninstall will be completed anly after I restart the machine
    (Device Manager says so for my driver)

    How should I install a kernel driver in a way that will not set such
    limitation on the uninstall process? (I need to make sure that the scenario
    Install, Uninstall, Install will work)

    Thanks,
    Gana
     
    Guest, Feb 1, 2004
    #1
    1. Advertisements

  2. You don't with install other than some simple pieces, but most of the
    logic is in the driver itself. Look at the DDK.
     
    David J. Craig, Feb 1, 2004
    #2
    1. Advertisements

  3. Guest

    Guest Guest

    Are you saying that the it depends on the dispatch routines I register?
    My DriverEntry doesn't register IRP_MJ_PNP dipatch routine

    Gana
     
    Guest, Feb 2, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.