.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH OpenServiceA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBOpenServiceA\fR (ADVAPI32.@) .SH SYNOPSIS SC_HANDLE OpenServiceA ( SC_HANDLE \fIhSCManager\fR, LPCSTR \fIlpServiceName\fR, DWORD \fIdwDesiredAccess\fR ) .SH DESCRIPTION .PP Open a handle to a service. .SH PARAMS \fIhSCManager\fR \fB[In]\fR Handle of the service control manager database. .PP \fIlpServiceName\fR \fB[In]\fR Name of the service to open. .PP \fIdwDesiredAccess\fR \fB[In]\fR Access required to the service. .PP .SH RETURNS .PP \fBSuccess:\fR Handle to the service .PP \fBFailure:\fR \fBNULL\fR .SH IMPLEMENTATION .PP Declared in \fB"winsvc.h"\fR. .PP Implemented in \fB"dlls/advapi32/service.c"\fR. .PP Debug channel \fB"service"\fR.