win32ui.GetThread

PyCWinApp = GetThread()

Retrieves the current thread object.