Arnon Gilboa wrote:
>   
> Do we still need to prepare the driver (patch the inf for the specific 
> vid-pid and sign a cat file) or just replace "USBSTOR" to "WinUSB"?
> How does it know where to find the new driver ("service")?

If you're are dinking with driver installation, you really should know
this.  You wouldn't need an INF in this case.  The "Service" name is a
key in the CurrentControlSet\Services registry tree.  You would want to
use Service Control Manager to create the service.  That service entry
includes the path to the binary.


> Don't we need to call any "refresh" API?

Yes, I said that -- you'd need to restart the device.  The service key
is only checked when the driver stack is built.  I use "devcon restart",
but you can do that in your own app, since the source for devcon is in
the WDK.


> Seems also like a reasonable way to uninstall WinUSB and get back to 
> USBSTOR, right?

If you were able to install it that way, yes.  You might also need to
dink with the UpperFilters and LowerFilters values in the registry, too.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to