src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/Window.cs
/// <summary>
/// Gets the process ID for the Window handle
/// </summary>
/// <param name="hwnd">The handle to the window</param>
/// <returns>The process ID</returns>
Gets the process ID for the Window handle
Gets the process ID for the Window handle
private uint GetProcessIDFromWindowHandle(IntPtr hwnd)
        {
            InteropAndHelpers.GetWindowThreadProcessId(hwnd, out uint processId);
            return processId;
        }
private uint GetProcessIDFromWindowHandle ( IntPtr hwnd ) { InteropAndHelpers . GetWindowThreadProcessId ( hwnd , out uint processId ) ; return processId ; }
Gets the process ID for the Window handle
Gets the process ID for the Window handle
The process ID
The process ID
hwnd
IntPtr
The handle to the window
The handle to the window