This commit is contained in:
Aigio Liu
2021-02-28 15:47:56 +08:00
parent bfa409da28
commit 7bc297abc4
31 changed files with 495 additions and 486 deletions
@@ -0,0 +1,11 @@
using System.Runtime.InteropServices;
// ReSharper disable once CheckNamespace
namespace System
{
internal static class NativeMethods
{
[DllImport("Avrt.dll", CharSet = CharSet.Unicode)]
public static extern IntPtr AvSetMmThreadCharacteristics(string taskName, ref uint taskIndex);
}
}