QueryServiceStatus function advapi32
Retrieves the current status of the specified service.
BOOL QueryServiceStatus(
[in] SC_HANDLE hService,
[out] LPSERVICE_STATUS lpServiceStatus
);
Implementation
int QueryServiceStatus(int hService, Pointer<SERVICE_STATUS> lpServiceStatus) =>
_QueryServiceStatus(hService, lpServiceStatus);