2014-04-06 18:31:53 +00:00
|
|
|
/* Benjamin DELPY `gentilkiwi`
|
2020-09-17 01:17:11 +00:00
|
|
|
https://blog.gentilkiwi.com
|
2014-04-06 18:31:53 +00:00
|
|
|
benjamin@gentilkiwi.com
|
2015-08-25 09:19:01 +00:00
|
|
|
Licence : https://creativecommons.org/licenses/by/4.0/
|
2014-04-06 18:31:53 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "globals.h"
|
2017-03-26 00:35:32 +00:00
|
|
|
#include <aclapi.h>
|
2014-04-06 18:31:53 +00:00
|
|
|
|
|
|
|
BOOL kull_m_service_getUniqueForName(PCWSTR serviceName, SERVICE_STATUS_PROCESS * pServiceStatusProcess);
|
|
|
|
|
|
|
|
BOOL kull_m_service_start(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_remove(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_stop(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_suspend(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_resume(PCWSTR serviceName);
|
2014-08-30 19:56:18 +00:00
|
|
|
BOOL kull_m_service_preshutdown(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_shutdown(PCWSTR serviceName);
|
2014-04-06 18:31:53 +00:00
|
|
|
|
2017-03-26 00:35:32 +00:00
|
|
|
BOOL kull_m_service_genericControl(PCWSTR serviceName, DWORD dwDesiredAccess, DWORD dwControl, LPSERVICE_STATUS ptrServiceStatus);
|
|
|
|
BOOL kull_m_service_addWorldToSD(SC_HANDLE monHandle);
|
|
|
|
BOOL kull_m_service_install(PCWSTR serviceName, PCWSTR displayName, PCWSTR binPath, DWORD serviceType, DWORD startType, BOOL startIt);
|
|
|
|
BOOL kull_m_service_uninstall(PCWSTR serviceName);
|