| 125 | } |
| 126 | |
| 127 | VOID __cdecl |
| 128 | ManagerStartMain(VOID * arg) |
| 129 | { |
| 130 | BOOL isService = arg != 0; |
| 131 | CExt2MgrDlg* dlg = (CExt2MgrDlg*)theApp.m_pMainWnd; |
| 132 | |
| 133 | if (dlg) { |
| 134 | |
| 135 | /* always be quiet ! */ |
| 136 | if (0 && !dlg->m_bQuiet) { |
| 137 | CSplash* splash = new CSplash(IDB_ABOUT_SCREEN, RGB(128, 128, 128)); |
| 138 | splash->ShowSplash(); |
| 139 | dlg->m_splash = splash; |
| 140 | } |
| 141 | |
| 142 | if (isService) { |
| 143 | ManagerReportStatus( |
| 144 | ServiceHandle, |
| 145 | &ServiceStatus, |
| 146 | SERVICE_RUNNING, |
| 147 | NO_ERROR, 0 ); |
| 148 | } |
| 149 | |
| 150 | dlg->DoModal(); |
| 151 | |
| 152 | Ext2StopPipeSrv(); |
| 153 | } |
| 154 | |
| 155 | if (isService) { |
| 156 | ManagerReportStatus( |
| 157 | ServiceHandle, |
| 158 | &ServiceStatus, |
| 159 | SERVICE_STOPPED, |
| 160 | NO_ERROR, 0 ); |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | void NTAPI |
| 165 | ManagerServiceEntry(DWORD argc, char**argv) |
no test coverage detected