mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 05:20:44 +00:00
fix typo
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: Build app
|
||||
run: |
|
||||
cd app
|
||||
msbuild ParsecVDisplay.csproj /t:Build /p:Configuration=Debug /p:Platform=AnyCPU
|
||||
msbuild ParsecVDisplay.csproj /t:Build /p:Configuration=Release /p:Platform=AnyCPU
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
+4
-4
@@ -10,8 +10,8 @@ namespace ParsecVDisplay
|
||||
{
|
||||
OK,
|
||||
INACCESSIBLE,
|
||||
UNKNOW,
|
||||
UNKNOW_PROBLEM,
|
||||
UNKNOWN,
|
||||
UNKNOWN_PROBLEM,
|
||||
DISABLED,
|
||||
DRIVER_ERROR,
|
||||
RESTART_REQUIRED,
|
||||
@@ -102,13 +102,13 @@ namespace ParsecVDisplay
|
||||
if (devProblemNum == Native.CM_PROB_FAILED_POST_START)
|
||||
status = Status.DRIVER_ERROR;
|
||||
else
|
||||
status = Status.UNKNOW_PROBLEM;
|
||||
status = Status.UNKNOWN_PROBLEM;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
status = Status.UNKNOW;
|
||||
status = Status.UNKNOWN;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Interop;
|
||||
using System.Windows.Navigation;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace ParsecVDisplay
|
||||
{
|
||||
@@ -81,7 +79,6 @@ namespace ParsecVDisplay
|
||||
SystemEvents.DisplaySettingsChanged -= DisplayChanged;
|
||||
}
|
||||
|
||||
int count = 0;
|
||||
private void UpdateDriverLabel()
|
||||
{
|
||||
ParsecVDD.QueryVersion(out var dver);
|
||||
|
||||
@@ -4,7 +4,6 @@ using System.Drawing;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Win32;
|
||||
using System.Linq;
|
||||
|
||||
namespace ParsecVDisplay
|
||||
{
|
||||
|
||||
+4
-4
@@ -48,8 +48,8 @@ namespace parsec_vdd
|
||||
typedef enum {
|
||||
DEVICE_OK = 0, // Ready to use
|
||||
DEVICE_INACCESSIBLE, // Inaccessible
|
||||
DEVICE_UNKNOW, // Unknow status
|
||||
DEVICE_UNKNOW_PROBLEM, // Unknow problem
|
||||
DEVICE_UNKNOWN, // Unknown status
|
||||
DEVICE_UNKNOWN_PROBLEM, // Unknown problem
|
||||
DEVICE_DISABLED, // Device is disabled
|
||||
DEVICE_DRIVER_ERROR, // Device encountered error
|
||||
DEVICE_RESTART_REQUIRED, // Must restart PC to use (could ignore but would have issue)
|
||||
@@ -147,13 +147,13 @@ static DeviceStatus QueryDeviceStatus(const GUID *classGuid, const char *deviceI
|
||||
if (devProblemNum == CM_PROB_FAILED_POST_START)
|
||||
status = DEVICE_DRIVER_ERROR;
|
||||
else
|
||||
status = DEVICE_UNKNOW_PROBLEM;
|
||||
status = DEVICE_UNKNOWN_PROBLEM;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
status = DEVICE_UNKNOW;
|
||||
status = DEVICE_UNKNOWN;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user