Mouser in the IRC channel was kind enough to help me out to get this far, but our collective knowledge wasnt qutie enough to finish the function. Heres where Im at:
p := ClearCache()
ClearCache()
{
VarSetCapacity(Var, 36)
NumPut(-1, Var, 12, "ULong")
NumPut(-1, Var, 16, "ULong")
DllCall("ntdll.dll\NtSetSystemInformation", "UInt", 0x15, "UInt", &Var, "UInt", 36)
Return
}
Anyone able to point me in the right direction?
Edit - BTW, mouser found and shared
THIS with me showing the structure for what were working with here