| 2922 | } |
| 2923 | |
| 2924 | void AppWindow::ExitFullScreen() |
| 2925 | { |
| 2926 | DWORD style = GetWindowLong(m_mainWindow, GWL_STYLE); |
| 2927 | ::SetMenu(m_mainWindow, m_hMenu); |
| 2928 | SetWindowLong(m_mainWindow, GWL_STYLE, style | WS_OVERLAPPEDWINDOW); |
| 2929 | SetWindowPos( |
| 2930 | m_mainWindow, NULL, m_previousWindowRect.left, m_previousWindowRect.top, |
| 2931 | m_previousWindowRect.right - m_previousWindowRect.left, |
| 2932 | m_previousWindowRect.bottom - m_previousWindowRect.top, |
| 2933 | SWP_NOOWNERZORDER | SWP_FRAMECHANGED); |
| 2934 | } |
| 2935 | |
| 2936 | // We have our own implementation of DCompositionCreateDevice2 that dynamically |
| 2937 | // loads dcomp.dll to create the device. Not having a static dependency on dcomp.dll |
nothing calls this directly
no outgoing calls
no test coverage detected