| 240 | } |
| 241 | |
| 242 | LRESULT CMainFrame::OnQueryEndSession(WPARAM, LPARAM) |
| 243 | { |
| 244 | // MSDN: |
| 245 | // The WM_QUERYENDSESSION message is sent when the user chooses to end the session or when an application calls one of the system shutdown functions |
| 246 | // When an application returns TRUE for this message, it receives the WM_ENDSESSION message. |
| 247 | // Each application should return TRUE or FALSE immediately upon receiving this message, and defer any cleanup operations until it receives the WM_ENDSESSION message. |
| 248 | return TRUE; |
| 249 | } |
| 250 | |
| 251 | LRESULT CMainFrame::OnEndSession(WPARAM, LPARAM) |
| 252 | { |
nothing calls this directly
no outgoing calls
no test coverage detected