OpenServiceA3w
Usage
SC_HANDLE OpenServiceA
(
SC_HANDLE hSCManager,
LPCSTR lpServiceName,
DWORD dwDesiredAccess
)
Overview
Open a handle to a service.
Params
hSCManager [In] Handle of the service control manager database.
lpServiceName [In] Name of the service to open.
dwDesiredAccess [In] Access required to the service.
Returns
Success: Handle to the service
Failure: NULL
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.