.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH ControlService 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBControlService\fR (ADVAPI32.@) .SH SYNOPSIS BOOL ControlService ( SC_HANDLE \fIhService\fR, DWORD \fIdwControl\fR, LPSERVICE_STATUS \fIlpServiceStatus\fR ) .SH DESCRIPTION .PP Send a control code to a service. .SH PARAMS \fIhService\fR \fB[In]\fR Handle of the service control manager database. .PP \fIdwControl\fR \fB[In]\fR Control code to send (\fBSERVICE_CONTROL_\fR* flags from \fB"winsvc.h"\fR). .PP \fIlpServiceStatus\fR \fB[Out]\fR Destination for the status of the service, if available. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. .PP \fBFailure:\fR \fBFALSE\fR. .SH BUGS .PP Unlike M$' implementation, control requests are not serialized and may be processed asynchronously. .SH IMPLEMENTATION .PP Declared in \fB"winsvc.h"\fR. .PP Implemented in \fB"dlls/advapi32/service.c"\fR. .PP Debug channel \fB"service"\fR.