ControlService (ADVAPI32.@)
BOOL ControlService ( SC_HANDLE hService, DWORD dwControl, LPSERVICE_STATUS lpServiceStatus )
Send a control code to a service.
hService | [In] | Handle of the service control manager database. |
dwControl | [In] | Control code to send (SERVICE_CONTROL_* flags from "winsvc.h"). |
lpServiceStatus | [Out] | Destination for the status of the service, if available. |
Success: TRUE.
Failure: FALSE.
Unlike M$' implementation, control requests are not serialized and may be processed asynchronously.
Defined in "winsvc.h".
Implemented in "dlls/advapi32/service.c". source.winehq.org/source/dlls/advapi32/service.c
Debug channel "service".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.