int GetWndProcId(int hWnd)

Returns the process id that a window belogs to. Trust Level Required: High

Parameters

Name Description
hWnd The handle of the window.

Return

The process id, or 0.