Appearance
GetWindowProcessId获取指定窗口所在的进程PID
GetWindowProcessId
LONG GetWindowProcessId(hWnd)
hWnd: 窗口句柄
hWnd
成功则返回PID
0: 失败