Re: disabling the 'auto-turn off devices' option for the usb root hub
From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 12/23/04
- Next message: James Antognini [MSFT]: "Re: Implementing WMI support for scsi miniport driver"
- Previous message: Frank: "Re: How to get filename from an I/O request?"
- In reply to: Amol: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Dec 2004 14:43:22 -0800
GUID_POWER_DEVICE_ENABLE
(beware of wrap)
this will control any device which can be turned off/on while the machine is
running
d
-- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "Amol" <amol_dabholkar@yahoo.com> wrote in message news:uPN1XC05EHA.1524@TK2MSFTNGP09.phx.gbl... > Hi > Can you be a little more specific and point me in the right direction? > thnx > Amol > > "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message > news:uCLH43t5EHA.3472@TK2MSFTNGP09.phx.gbl... >> It is well-accessible via WMI. >> >> -- >> Maxim Shatskih, Windows DDK MVP >> StorageCraft Corporation >> maxim@storagecraft.com >> http://www.storagecraft.com >> >> "Amol" <amol_dabholkar@yahoo.com> wrote in message >> news:%23KmWEdk5EHA.3908@TK2MSFTNGP12.phx.gbl... >> > Hi >> > I am pretty new at this and I have been struggling with this problem >> > for > a >> > while now: >> > I wish to write a program to disable the 'Allow this device to turn off > the >> > power' feature of the root hub in the device manager. I have tried > looking >> > at the setupAPI, functions like CM_Get_DevNode_Registry_Property etc. > and >> > didn't have any luck there. >> > I tried to check what Registry values were getting changed by looking >> > at > the >> > registry updates when i unchecked the option in device manager using >> > registry monitoring tools like RegMon from SysInternals, but I think > only >> > the driver name is read and i couldn't see any other reg value being >> > touched. >> > I tried to look at the USB_HUB_INFORMATION descriptor using the API > provided >> > by usbioctl.h to see if there were any changes in the descriptor when > the >> > option is changed in the device manager but there doesnt seem to be any >> > change. I have kindof run out of options now so can anyone point me in > the >> > correct direction? any help will be appreciated. >> > On a side note, is there any documentation for the USB_HUB_INFORMATION >> > parameters? I could find no documentation on the net for the parameters > of >> > this structure, although parameters like 'wHubCharacteristics' are used > as a >> > mask to get device properties in WinDDK sample tools like USBVIEW. Can >> > anyone also point me to the documentation of this structure? >> > thanx and best regards >> > Amol >> > >> > >> >> > >
- Next message: James Antognini [MSFT]: "Re: Implementing WMI support for scsi miniport driver"
- Previous message: Frank: "Re: How to get filename from an I/O request?"
- In reply to: Amol: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|