relationship between the first argument to CreateFile() and actual device driver file

  • Thread starter Thread starter Anurag_S_Sharma
  • Start date Start date
A

Anurag_S_Sharma

Guest
When we need a device driver handle to be used in subsequent calls to DeviceIoControl(), we specify a path of the form "\\.\".

What exactly does this name signify? Given this name, can one find out the actual device driver file residing on the system where the driver is installed?

I've referred to MSDN documentation of both CreateFile() as well as DeviceIoControl(). Both could not state the relationship between the two.

I also referred to this question and tried using device tree to find the driver file given it's name specified as the first argument to CreateFile() but could not find any entry in the device tree.

Continue reading...
 
Back
Top