I am calling UpdateDriverForPlugAndPlayDevices( ) to install driver for my
(virtual) device, whose HW id is: *MyDevice - this just copies .sys into
system32\drivers folder but the API fails with error code 2 (The system
cannot find the file specified.).
INF path is correct (of course, sys file is copied to target folder reading
INF file). Same INF file installs driver correctly if I go through 'Add
Hardware' wizard. What could be issue? Is it becaz I don't have physical
device? But I specified *MyDevice...I am confused..
--
++Sathya