[python-win32] RegCreateKeyEx

Brian Storoe storoe at google.com
Fri Feb 15 23:59:26 CET 2008


All,

I'm looking for a way to access the RegCreateKeyEx() using the pywin32 
libraries.

The circumstances are as follows: I'm running Python 2.4 on a Windows 
Vista 64-bit system and need a way to access 64-bit keys in the 
registry. Per 
http://msdn2.microsoft.com/en-us/library/aa384129(VS.85).aspx  it looks 
like the way to do this is using RegCreateKeyEx() and passing in the 
correct flag inthe samDesired parameter to that function.

In the win32api module we have a RegOpenKeyEx() function but no 
RegCreateKeyEx() (only RegCreateKey().

Any help or advice would be appreciate.

Thanks,
-Brian Storoe


More information about the python-win32 mailing list