Modiying Registry

Is there an analogue to IoGetDeviceProperty (something like IoSetDeviceProperty, if it existed). I would like to modify the FriendlyName and DeviceDesc values without hard-coding the key. IoOpenDeviceRegistryKey does not open the key I need, or maybe I am not understanding the documentation for it.

Any suggestions would be great.
Thanks, Chris

You can’t really do this from a driver, as evidenced by the lack of APIs to get to the key. Hard coding the key name won’t do you any good b/c the key name is not the same from one install to the next. This is really something a setup app or your (co) class installer should do.

D

This posting is provided “AS IS” with no warranties, and confers no rights.

-----Original Message-----
From: Chris Dore [mailto:xxxxx@connecttech.com]
Sent: Tuesday, July 16, 2002 8:07 AM
To: NT Developers Interest List
Subject: [ntdev] Modiying Registry

Is there an analogue to IoGetDeviceProperty (something like IoSetDeviceProperty, if it existed). I would like to modify the FriendlyName and DeviceDesc values without hard-coding the key.? IoOpenDeviceRegistryKey does not open the key I need,?or maybe I am?not understanding the documentation for it.
?
Any suggestions would be great.
Thanks, Chris
?

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%