QueryServiceStatusEx function advapi32
Retrieves the current status of the specified service based on the specified information level.
BOOL QueryServiceStatusEx(
[in] SC_HANDLE hService,
[in] SC_STATUS_TYPE InfoLevel,
[out, optional] LPBYTE lpBuffer,
[in] DWORD cbBufSize,
[out] LPDWORD pcbBytesNeeded
);
Implementation
int QueryServiceStatusEx(int hService, int InfoLevel, Pointer<Uint8> lpBuffer,
int cbBufSize, Pointer<Uint32> pcbBytesNeeded) =>
_QueryServiceStatusEx(
hService, InfoLevel, lpBuffer, cbBufSize, pcbBytesNeeded);