| 133 | |
| 134 | |
| 135 | BOOL BrowserWindow::LaunchWindow(_In_ HINSTANCE hInstance, _In_ int nCmdShow) |
| 136 | { |
| 137 | // BrowserWindow keeps a reference to itself in its host window and will |
| 138 | // delete itself when the window is destroyed. |
| 139 | BrowserWindow* window = new BrowserWindow(); |
| 140 | if (!window->InitInstance(hInstance, nCmdShow)) |
| 141 | { |
| 142 | delete window; |
| 143 | return FALSE; |
| 144 | } |
| 145 | return TRUE; |
| 146 | } |
| 147 | |
| 148 | // |
| 149 | // FUNCTION: InitInstance(HINSTANCE, int) |
nothing calls this directly
no test coverage detected