19 SC_HANDLE hService =
NULL;
21 DWORD dwDesiredAccess = 0;
27 INT TmpCnt = ArgCount;
VOID PrintService(LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPSERVICE_STATUS_PROCESS pStatus, BOOL bExtended)
static WCHAR ServiceName[]
DWORD ReportLastError(void)
BOOL WINAPI ControlService(SC_HANDLE hService, DWORD dwControl, LPSERVICE_STATUS lpServiceStatus)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
_In_ WDF_WMI_PROVIDER_CONTROL Control
DWORD WINAPI GetLastError(void)
#define SERVICE_CONTROL_PARAMCHANGE
#define SERVICE_CONTROL_NETBINDREMOVE
#define SERVICE_CONTROL_NETBINDADD
#define SERVICE_USER_DEFINED_CONTROL
#define SC_MANAGER_CONNECT
#define SERVICE_CONTROL_NETBINDDISABLE
#define SERVICE_PAUSE_CONTINUE
#define SERVICE_CONTROL_NETBINDENABLE
#define SERVICE_INTERROGATE
#define SERVICE_CONTROL_CONTINUE
#define SERVICE_CONTROL_STOP
#define SERVICE_CONTROL_PAUSE
#define SERVICE_CONTROL_INTERROGATE