Berrick Werkman f130fc6c49
Main window handle (#1941)
Condition is comparing $proc.Id with [System.IntPtr]::Zero. The Id property is an integer, representing the process ID, and it's not directly related to window handles.
Instead, you should compare the MainWindowHandle property against [System.IntPtr]::Zero
2024-05-11 15:52:52 -05:00
..
2024-05-11 15:52:52 -05:00