OpenServiceA(3w)

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.

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

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