Frequently asked questions

How do these low level api calls work ?

I have no idea. Some libffi magic is involved there. But this code snipplet shows how to make use of it.
from ctypes import windll
user32= windll.user32

hwnd= user32.GetForegroundWindow()
This will return the handle of the current foreground window, directly accessing the GetForegroundWindow api exposed by user32.dll

How can I extend the module ?

Get the windows platform SDK read into the documentation, read into ctypes and call any api present on your system and watch them doing all the hard work work for you ;-)

How can I contact the author or send feature requests, bug fixes and the like ?

Post to the wnd-users mailing list on the project page at sourceforge Logo