public static extern void GlobalMemoryStatus(ref Memorystatus1 lpBuffer);
[DllImport("kernel32.dll ")] //调用系统DLL public static extern void GlobalMemoryStatus(ref Memorystatus1 lpBuffer); //获得系统DLL里的函数