Help to invoke request to parallel port (IOCTL_PAR_QUERY_DEVICE_ID)
Posted on 2005-04-21
I have a problem making an I/O request to the parallel port (LPT1).
I write a small tool, where I want to get information about device connected to the parallel port (model name).
Currently I open the device using
and pass obtained handle to the DeviceIoControl()
This call fails with "Incorrect function" error.
I have tried to make first IOCTL_PAR_QUERY_DEVIEC_ID_SIZE request, but the result is the same :((((
Did anybody do such thing with parallel port?
Your help is greatly apreciated!