Property wnd.IsOfThisProcess
Overload
Returns true if this window belongs to the current process, false if to another process.
Also returns false when fails (probably window closed or 0 handle). Supports lastError.
Calls API GetWindowThreadProcessId.
public bool IsOfThisProcess { get; }