Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetTopOfMemory()

static ulong System.Runtime.MemoryFailPoint.GetTopOfMemory ( )
inlinestaticprivate

Definition at line 149 of file MemoryFailPoint.cs.

150 {
151 Interop.Kernel32.GetSystemInfo(out var lpSystemInfo);
152 return (ulong)(long)lpSystemInfo.lpMaximumApplicationAddress;
153 }
static void GetSystemInfo(out SYSTEM_INFO lpSystemInfo)

References Interop.Kernel32.GetSystemInfo().