QueryServiceStatusEx(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.