ups
This commit is contained in:
parent
cf9e3e65a0
commit
09b75bf875
|
@ -57,7 +57,7 @@ bool ExistsValorantService(SC_HANDLE service_manager) {
|
|||
ENUM_SERVICE_STATUSA service = buffer[i];
|
||||
if (strstr(service.lpServiceName,"vgk")) {
|
||||
if ((service.ServiceStatus.dwCurrentState == SERVICE_RUNNING || service.ServiceStatus.dwCurrentState == SERVICE_START_PENDING)) {
|
||||
printf("[-] Valorant service running, kdmapper stoped to prevent BSOD!!\n");
|
||||
printf("[-] Valorant service running, kdmapper stopped to prevent BSOD!!\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -134,4 +134,4 @@ bool service::StopAndRemove(const std::string& driver_name)
|
|||
CloseServiceHandle(sc_manager_handle);
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue