NAME

OpenSCManagerA  (ADVAPI32.@)

SYNOPSIS

 SC_HANDLE OpenSCManagerA
 (
  LPCSTR lpMachineName,
  LPCSTR lpDatabaseName,
  DWORD  dwDesiredAccess
 )

DESCRIPTION

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

Defined in "winsvc.h".

Implemented in "dlls/advapi32/service.c". source.winehq.org/source/dlls/advapi32/service.c

Debug channel "advapi".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.