Window handle (hwnd) from process or thread info

Constant rtconstant at sbcglobal.net
Mon Mar 17 18:44:33 EST 2003


The Win32 CreateProcess(), including the win32process.CreateProcess(),
function return the following info about the process that it just created:

    HANDLE hProcess
    HANDLE hThread
    DWORD dwProcessId
    DWORD dwThreadId

Is it possible to get the window handle (HWND) of the window, that was
created by this process, from these pieces of information?







More information about the Python-list mailing list