2022-11-15 23:40:54 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CommonHelpers
|
|
|
|
|
|
{
|
|
|
|
|
|
public enum FanMode : uint
|
|
|
|
|
|
{
|
|
|
|
|
|
Default = 17374,
|
|
|
|
|
|
SteamOS,
|
|
|
|
|
|
Max
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum OverlayMode : uint
|
|
|
|
|
|
{
|
|
|
|
|
|
FPS = 10032,
|
2022-11-16 20:39:21 +01:00
|
|
|
|
FPSWithBattery,
|
2022-11-15 23:40:54 +01:00
|
|
|
|
Minimal,
|
|
|
|
|
|
Detail,
|
|
|
|
|
|
Full
|
|
|
|
|
|
}
|
2022-11-16 00:33:23 +01:00
|
|
|
|
|
|
|
|
|
|
public enum OverlayEnabled : uint
|
|
|
|
|
|
{
|
|
|
|
|
|
Yes = 378313,
|
|
|
|
|
|
No
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
|
public struct FanModeSetting
|
|
|
|
|
|
{
|
|
|
|
|
|
public FanMode Current, Desired;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
|
public struct OverlayModeSetting
|
|
|
|
|
|
{
|
|
|
|
|
|
public OverlayMode Current, Desired;
|
|
|
|
|
|
public OverlayEnabled CurrentEnabled, DesiredEnabled;
|
|
|
|
|
|
}
|
2022-11-15 23:40:54 +01:00
|
|
|
|
}
|