Disable LPT

Hi all,

the Win2k Device Manager allows me to disable a single LPT port without affecting other LPT’s. So some other driver can work with the port addresses normally reserved for i.e. LPT1.

  1. Is there a command line tool that will do the same (free the resources held by a specific LPT)?

  2. If not so, what would be the way to go to write such a command line tool? That is, which API does the Device Manager use to tell the parallel driver (or the enumerator?) to disable one LPT?

Thanks in advance for any ideas.

Manfred

free eMail at http://www.freenet.de/

You can use the enable sample in the DDK (src\general\setup\enable) to do
that.

-Eliyas

-----Original Message-----
From: xxxxx@goldmail.de [mailto:xxxxx@goldmail.de]
Sent: Thursday, August 10, 2000 3:02 AM
To: NT Developers Interest List
Subject: [ntdev] Disable LPT

Hi all,

the Win2k Device Manager allows me to disable a single LPT port without
affecting other LPT’s. So some other driver can work with the port addresses
normally reserved for i.e. LPT1.

  1. Is there a command line tool that will do the same (free the resources
    held by a specific LPT)?

  2. If not so, what would be the way to go to write such a command line tool?
    That is, which API does the Device Manager use to tell the parallel driver
    (or the enumerator?) to disable one LPT?

Thanks in advance for any ideas.

Manfred

free eMail at http://www.freenet.de/


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)