예제 #1
0
        private static IntPtr GetSteamPromptWindow()
        {
            var windows = WindowTools.GetWindowsWithTitleMatching(LaunchGamePromptRegex);

            return(Array.Find(windows, w => WindowTools.GetProcessForWindow(w).ProcessName == ProcessName));
        }