I'm trying to write an c++ code to turn off power-management option on the USB devices , i found that there are winusb api's to do the same .I downloaded the wdk and got the necessary files for the same . I went and saw the system32 folder and i could see the file winusb.sys already present(in Windows 7) ,so should i follow the steps as per the link to reinstall the driver by using an inf file and creating packages ? .
I went through the api's and the API's need the GUID of the winusb.sys to to initialize the winusb functions and to get the handle for the device ,given an winusb.sys how to find its guid ?