x64dbg / GleeBug

Debugging Framework for Windows.
MIT License
1.2k stars 39 forks source link

Win10 Improvement: Use WaitForDebugEventEx instead of WaitForDebugEvent #41

Closed Nukem9 closed 8 years ago

Nukem9 commented 8 years ago

Taken from https://github.com/x64dbg/x64dbg/issues/388


WaitForDebugEventEx

https://msdn.microsoft.com/en-us/library/windows/desktop/mt171594(v=vs.85).aspx

mrexodia commented 8 years ago

could anybody with windows 10 test if these are actually different functions and not that WaitForDebugEvent forwards to WaitForDebugEventEx? I don't see any difference in their prototype or data structures.

Nukem9 commented 8 years ago

image

Top: WaitForDebugEvent Bottom: WaitForDebugEventEx

mrexodia commented 8 years ago

Okay they do some ugly internal function with a bool for unicode. Pushing a fix On Mon, 11 Jan 2016 at 23:16, Nukem notifications@github.com wrote:

[image: image] https://cloud.githubusercontent.com/assets/4228359/12248361/e313d210-b886-11e5-93bc-325e5e65e1aa.png

Top: WaitForDebugEvent Bottom: WaitForDebugEventEx

— Reply to this email directly or view it on GitHub https://github.com/x64dbg/GleeBug/issues/41#issuecomment-170708744.