BOOL WINAPI DeleteService(SC_HANDLE hService)
SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR lpMachineName, LPCWSTR lpDatabaseName, DWORD dwDesiredAccess)
BOOL WINAPI ControlService(SC_HANDLE hService, DWORD dwControl, LPSERVICE_STATUS lpServiceStatus)
SC_HANDLE WINAPI OpenServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName, DWORD dwDesiredAccess)
SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName, LPCWSTR lpDisplayName, DWORD dwDesiredAccess, DWORD dwServiceType, DWORD dwStartType, DWORD dwErrorControl, LPCWSTR lpBinaryPathName, LPCWSTR lpLoadOrderGroup, LPDWORD lpdwTagId, LPCWSTR lpDependencies, LPCWSTR lpServiceStartName, LPCWSTR lpPassword)
BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs, LPCWSTR *lpServiceArgVectors)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
SERVICE_STATUS serviceStatus
BOOL RegisterDriver(LPCWSTR lpDriverName, LPCWSTR lpPathName)
BOOL StartDriver(LPCWSTR lpDriverName)
BOOL StopDriver(LPCWSTR lpDriverName)
BOOL UnregisterDriver(LPCWSTR lpDriverName)
DWORD WINAPI GetLastError(void)
#define ERROR_SERVICE_ALREADY_RUNNING
#define ERROR_SERVICE_MARKED_FOR_DELETE
#define ERROR_SERVICE_NOT_ACTIVE
#define ERROR_SERVICE_EXISTS
#define SERVICE_ALL_ACCESS
#define SERVICE_CONTROL_STOP
#define SC_MANAGER_ALL_ACCESS
#define SERVICE_DEMAND_START
#define SERVICE_KERNEL_DRIVER
#define SERVICE_ERROR_NORMAL