OpenSCManagerA(3w)

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.

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

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