Get SystemVersionInfo with Interop

This commit is contained in:
Mahdi Hosseini committed 2020-07-28 22:06:45 +04:30
1 parent c46f8a754c
commit 0fe47b2925
6 files changed
+27 -8

No files matched your search

@@ -703,6 +703,10 @@ namespace HandyControl.Tools.Interop
[DllImport(InteropValues.ExternDll.GdiPlus, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Unicode)]
[ResourceExposure(ResourceScope.None)]
internal static extern int GdipSaveImageToStream(HandleRef image, InteropValues.IStream stream, ref Guid classId, HandleRef encoderParams);
[DllImport(InteropValues.ExternDll.NTdll)]
internal static extern int RtlGetVersion(out InteropValues.RTL_OSVERSIONINFOEX lpVersionInformation);
}
}
}