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

Function Ext2StopSrv

Ext2Mgr/Ext2Pipe.cpp:708–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708void Ext2StopSrv()
709{
710 PROCESS_INFORMATION pi = g_Ext2Srv;
711
712 memset(&g_Ext2Srv, 0, sizeof(pi));
713
714 /* wait until process exits or timeouts */
715
716 if (pi.hProcess != INVALID_HANDLE_VALUE) {
717 TerminateProcess(pi.hProcess, -1);
718 CloseHandle(pi.hProcess);
719 }
720 if (pi.hThread != INVALID_HANDLE_VALUE) {
721 CloseHandle(pi.hThread);
722 }
723}
724
725/* Ext2EnablePrivilege(SE_TCB_NAME) */
726

Callers 1

Ext2StopPipeSrvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected