ControlService function advapi32
Sends a control code to a service.
BOOL ControlService(
[in] SC_HANDLE hService,
[in] DWORD dwControl,
[out] LPSERVICE_STATUS lpServiceStatus
);
Implementation
int ControlService(
int hService,
int dwControl,
Pointer<SERVICE_STATUS> lpServiceStatus,
) => _ControlService(hService, dwControl, lpServiceStatus);