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 to redefine some functions related to window DC #18

Closed
dodaeche opened this issue Feb 10, 2017 · 1 comment
Closed

need to redefine some functions related to window DC #18

dodaeche opened this issue Feb 10, 2017 · 1 comment

Comments

@dodaeche
Copy link

dodaeche commented Feb 10, 2017

The winappdbg win32 api wrapper defines GetDC, GetWindowDC and ReleaseDC functions as ctypes.windll.gdi32.GetDC. The functions are not exported in gdi32 but in user32. Seems to be need change to ctypes.windll.user32.GetDC. Tested on Windows 10 x64. Thanks MarioVilas.

@MarioVilas
Copy link
Owner

You're right. I guess they were working accidentally in older versions of Windows (import redirections? who knows).

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