This function is the starting point for new threads. It will open a new app window.
| 185 | |
| 186 | // This function is the starting point for new threads. It will open a new app window. |
| 187 | static DWORD WINAPI ThreadProc(void* pvParam) |
| 188 | { |
| 189 | AppWindow* app = static_cast<AppWindow*>(pvParam); |
| 190 | new AppWindow(app->GetCreationModeId(), app->GetWebViewOption()); |
| 191 | app->Release(); |
| 192 | return RunMessagePump(); |
| 193 | } |
| 194 | |
| 195 | // Called on the main thread. Wait for all other threads to complete before exiting. |
| 196 | static void WaitForOtherThreads() |
no test coverage detected