Click to See Complete Forum and Search --> : how to get the process Id


firegun_lns
February 27th, 2001, 09:07 PM
I want to get a application's process id,
but I just know the HWND of the main window or
the subchild window it creates. Is there any
win32 APIs such as GetProcessIdByWindow(HWND hwnd)?

JKS
February 28th, 2001, 01:47 AM
GetWindowThreadProcessId