Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need RegOpenKeyEx() #128

Closed
rodrigc opened this issue Oct 28, 2017 · 3 comments
Closed

Need RegOpenKeyEx() #128

rodrigc opened this issue Oct 28, 2017 · 3 comments

Comments

@rodrigc
Copy link
Contributor

rodrigc commented Oct 28, 2017

In Twisted, I tried to replace pywin32 with pywincffi: twisted/twisted#920

I found that the following are not in pywincffi:

win32api.RegOpenKeyEx()
win32api.RegQueryValueEx()
win32api.RegQueryValueEx()

@opalmer can you add them?

@opalmer
Copy link
Owner

opalmer commented Oct 28, 2017

@rodrigc could you use the winreg module instead?

https://docs.python.org/3/library/winreg.html#module-winreg
https://docs.python.org/2/library/_winreg.html#module-_winreg

I didn't include these functions in #69 originally because the code calling those functions had been deprecated and the standard library appeared to have the necessary support already. It also avoids a few layers of abstraction by not calling into pywincffi for these particular functions.

@rodrigc
Copy link
Contributor Author

rodrigc commented Oct 28, 2017

OK, please review this: twisted/twisted#921

@opalmer
Copy link
Owner

opalmer commented Oct 28, 2017

Thanks, reviewed. I'm going to go head and close this.

@opalmer opalmer closed this as completed Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants