字体预览工具 v1.0.0 初始版本

This commit is contained in:
2026-09-19 23:50:45 +08:00
commit 1883e9ba77
50 changed files with 5959 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace FontPreview;
internal static class NetApi
{
[DllImport("mpr.dll", CharSet = CharSet.Unicode)]
internal static extern int WNetAddConnection2(ref NETRESOURCE netResource, string password, string username, int flags);
[DllImport("mpr.dll", CharSet = CharSet.Unicode)]
internal static extern int WNetCancelConnection2(string name, int flags, bool force);
}