MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / ManagerStartMain

Function ManagerStartMain

Ext2Mgr/Ext2Mgr.cpp:127–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127VOID __cdecl
128ManagerStartMain(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
164void NTAPI
165ManagerServiceEntry(DWORD argc, char**argv)

Callers 1

InitInstanceMethod · 0.85

Calls 3

ManagerReportStatusFunction · 0.85
ShowSplashMethod · 0.80
Ext2StopPipeSrvFunction · 0.70

Tested by

no test coverage detected