📄 jnativemethods.cs
字号:
namespace Imps.Utils
{
using System;
using System.Runtime.InteropServices;
public sealed class JNativeMethods
{
private JNativeMethods()
{
}
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("kernel32.dll", CharSet=CharSet.Unicode, SetLastError=true)]
internal static extern bool GetVersionEx(ref NativeStructs.OSVERSIONINFOEX lpVersionInfo);
[DllImport("wtsapi32.dll", CharSet=CharSet.Auto)]
public static extern bool WTSRegisterSessionNotification(HandleRef hWnd, int dwFlags);
[DllImport("wtsapi32.dll", CharSet=CharSet.Auto)]
public static extern bool WTSUnRegisterSessionNotification(HandleRef hWnd);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -