app: reveal new ioctl code 0x22A014

This commit is contained in:
Nguyen Duy
2024-06-06 12:40:35 +07:00
parent 7f4e44e501
commit 74d08a4c2d
+6 -1
View File
@@ -129,7 +129,7 @@ namespace ParsecVDisplay
{
version = "0.???";
return false;
}
}
}
public static bool AddDisplay(out int index)
@@ -178,6 +178,11 @@ namespace ParsecVDisplay
public const uint IOCTL_UPDATE = 0x22A00C;
public const uint IOCTL_VERSION = 0x22E010;
// new code in driver v0.45
// relates to IOCTL_UPDATE and per display state
// but unused in Parsec app
public const uint IOCTL_UNKNOWN1 = 0x22A014;
public static bool IoControl(IntPtr handle, uint code, byte[] input, out int result, int timeout)
{
var InBuffer = new byte[32];