public static void SetServiceStatus(IntPtr handle, ref ServiceStatus serviceStatus)
 {
     if(!_SetServiceStatus(handle, ref serviceStatus))
     {
         throw new Win32Exception();
     }
 }
 private static extern bool _SetServiceStatus(IntPtr handle, ref ServiceStatus serviceStatus);
 private static extern bool _QueryServiceStatus(IntPtr handle, out ServiceStatus serviceStatus);