I am using DeviceIOControl()
to send IOCTL system request to device drivers. My problem is of its first argument, the device path.
For example, to open one monitor handle, I can use path name, "\\\\.\\LCD"
, to create handle using CreateFile()
and put this handle into DeviceIOControl()
.
However, since I have 2 monitors connected to my laptop, I would like to know the LCD device naming conventions on Windows. How do I name the second LCD device path to open another handle, or enumerate all LCD devices path if I have more?
Furthermore, is it possible to look up all the device paths using Windows built-in application?
Thanks in advance.