On Tue Mar 26 07:42:13 2024 +0000, Zhiyi Zhang wrote:
Let's move these codes here
restorer_window = NtUserFindWindowEx( NULL, NULL, &restoter_str, NULL, 0 ); restorer_thread_id = NtUserGetWindowThread( restorer_window, NULL );
Also check if restorer_window is found before sending a message because explorer.exe might not be running.
Done.