Files
loader/ServiceManager.h
T
2026-11-03 20:45:39 -08:00

22 lines
464 B
C

#pragma once
#include <windows.h>
bool EnsureWin32Service(
const wchar_t* serviceName,
const wchar_t* binaryPath,
bool startNow);
bool EnsureLocalSystemService(
const wchar_t* serviceName,
const wchar_t* binaryPath,
bool startNow,
bool restartOnFailure,
const wchar_t* displayName);
bool IsServiceRunning(const wchar_t* serviceName);
bool SetServiceDescription(
const wchar_t* serviceName,
const wchar_t* description);