OpenSCManagerA3w
Usage
SC_HANDLE OpenSCManagerA
(
LPCSTR lpMachineName,
LPCSTR lpDatabaseName,
DWORD dwDesiredAccess
)
Overview
Establish a connection to the service control manager and open its database.
Params
lpMachineName [In] Pointer to machine name string.
lpDatabaseName [In] Pointer to database name string.
dwDesiredAccess [In] Type of access.
Returns
Success: A Handle to the service control manager database
Failure: NULL
Implementation
Declared in "winsvc.h".
Implemented in "dlls/advapi32/service.c".
Debug channel "service".
Releases
5 releases since Debian 2.0 (Hamm); the text changed 4 times.