| 898 | } |
| 899 | |
| 900 | unsigned int WINAPI IECommandExecutor::ScriptWaitThreadProc(LPVOID lpParameter) { |
| 901 | LOG(TRACE) << "Entering IECommandExecutor::ScriptWaitThreadProc"; |
| 902 | HWND window_handle = reinterpret_cast<HWND>(lpParameter); |
| 903 | ::Sleep(SCRIPT_WAIT_TIME_IN_MILLISECONDS); |
| 904 | ::PostMessage(window_handle, WD_SCRIPT_WAIT, NULL, NULL); |
| 905 | return 0; |
| 906 | } |
| 907 | |
| 908 | unsigned int WINAPI IECommandExecutor::DelayPostMessageThreadProc(LPVOID lpParameter) { |
| 909 | LOG(TRACE) << "Entering IECommandExecutor::DelayPostMessageThreadProc"; |