add OpenSourceLibrary

This commit is contained in:
Aigio Liu
2021-02-27 01:39:58 +08:00
parent 29118b6047
commit aacbf01635
24 changed files with 5645 additions and 107 deletions
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace System
{
internal static class NativeMethods
{
[DllImport("Avrt.dll", CharSet = CharSet.Unicode)]
public static extern IntPtr AvSetMmThreadCharacteristics(string taskName, ref uint taskIndex);
}
}