QueryServiceStatusEx.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

QueryServiceStatusEx (ADVAPI32.@)

SYNOPSIS

BOOL QueryServiceStatusEx
 (
  SC_HANDLE      hService,
  SC_STATUS_TYPE InfoLevel,
  LPBYTE         lpBuffer,
  DWORD          cbBufSize,
  LPDWORD        pcbBytesNeeded
 )

DESCRIPTION

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

Defined in "winsvc.h".

Implemented in "dlls/advapi32/service.c".

Debug channel "service".