mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-08 12:30:42 +08:00
13 lines
364 B
C#
13 lines
364 B
C#
using System.Runtime.InteropServices;
|
|
using System.Security;
|
|
|
|
namespace MicaSetup.Natives;
|
|
|
|
public static class NTdll
|
|
{
|
|
[SecurityCritical]
|
|
[DllImport(Lib.NTdll, SetLastError = true, CharSet = CharSet.Unicode)]
|
|
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
|
|
public static extern int RtlGetVersion(out OSVERSIONINFOEX versionInfo);
|
|
}
|