Пример #1
0
 public static extern int SetServiceStatus(IntPtr hServiceStatus, ref SERVICE_STATUS lpServiceStatus);
Пример #2
0
 public static extern int ControlService(IntPtr hService, int dwControl, ref SERVICE_STATUS lpServiceStatus);