Prev: signed catalog when using WinUSB.dll
Next: crash handling FSCTL_INVALIDATE_VOLUMES after surprise USB disk un
From: eBoy on 23 Apr 2010 03:13 Hi, Thank again. I have a question on registry access on Windows 7. I try to add a filter on USB Stack, and it needs to establish services key on windows registry. but Windows 7 refuses my MACHINE\SYSTEM\CurrentControlSet\Enum creating request. I can add a service key under Enum\Services for my filter, but I can not add this "Upperfilters" key on my hw device tree. In fact, I can use SetNameSecurityInfo(..) to update SAM registrykey in DACL while the OS is WinXP. Windows 7 do not work any more, is there any solution to add registry key under (/ Enum / usb ) registry key if programming ?? Thank you very much.
From: Maxim S. Shatskih on 23 Apr 2010 04:55 > but Windows 7 refuses my MACHINE\SYSTEM\CurrentControlSet\Enum > creating request. Do not use such pathnames, use IoOpenDeviceRegistryKey instead. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Doron Holan [MSFT] on 23 Apr 2010 18:39
you should not be touching the key directly, you need to use the appropriate APIs to make the changes for you d -- This posting is provided "AS IS" with no warranties, and confers no rights. "eBoy" <minkids(a)ms46.url.com.tw> wrote in message news:d0de5a4f-8178-4418-b28b-3536c5d9ffd7(a)w20g2000prm.googlegroups.com... > Hi, > Thank again. > I have a question on registry access on Windows 7. > > I try to add a filter on USB Stack, and it needs to establish services > key on windows registry. > but Windows 7 refuses my MACHINE\SYSTEM\CurrentControlSet\Enum > creating request. > > I can add a service key under Enum\Services for my filter, but I can > not add this "Upperfilters" key on my hw device tree. > In fact, I can use SetNameSecurityInfo(..) to update SAM registrykey > in DACL while the OS is WinXP. > Windows 7 do not work any more, is there any solution to add registry > key under (/ Enum / usb ) registry key if programming ?? > > Thank you very much. |