QueryServiceStatusEx3w
Usage
BOOL QueryServiceStatusEx
(
SC_HANDLE hService,
SC_STATUS_TYPE InfoLevel,
LPBYTE lpBuffer,
DWORD cbBufSize,
LPDWORD pcbBytesNeeded
)
Overview
Get information about a service.
Params
hService [In] Handle to service to get information about.
InfoLevel [In] Level of information to get.
lpBuffer [Out] Destination for requested information.
cbBufSize [In] Size of lpBuffer in bytes.
pcbBytesNeeded [Out] Destination for number of bytes needed, if cbBufSize is too small.
Returns
Success: TRUE
FAILURE: FALSE
Implementation
Declared in "winsvc.h".
Implemented in "dlls/advapi32/service.c".
Debug channel "service".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.