How to find I/O range for given LPT Port programatically

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I want my VC++ application detect the I/O memory address for a given LPT port.

for example I can see the resource I/O address in following way:
<span style="font-size: x-small; color: #0f243f;
Control Panel > System > Hardware > Device Manager > Ports (COM & LPT) > Printer Port(LPT1) > Properties under Resources Tab I can see 0378-037F.

Can I do this with the help of some API. I have heard of WMI for this.

Can this help me ?

Best Regards,
Gurjeet Singh



View the full article
 
Back
Top