Esempio n. 1
0
        public static Dictionary <string, GClass31.GClass32> smethod_0(int int_7)
        {
            GClass31.GStruct1 gstruct1;
            GClass31.GStruct2 gstruct2;

            Dictionary <string, GClass31.GClass32> dictionary = new Dictionary <string, GClass31.GClass32>();

            gstruct1 = new GClass31.GStruct1();
            gstruct2 = new GClass31.GStruct2();
            int i = Marshal.SizeOf(gstruct2);

            GClass31.GetSystemInfo(ref gstruct1);
            uint ui1 = gstruct1.uint_3;

            for (uint ui2 = 16777216; ui2 < ui1; ui2 = checked ((uint)checked (gstruct2.int_0 + gstruct2.int_3)))
            {
                gstruct2.int_3 = 0;
                GClass31.VirtualQueryEx(int_7, checked ((int)ui2), ref gstruct2, i);
                if ((gstruct2.int_3 > 0) & (gstruct2.int_0 >= 39813120))
                {
                    GClass31.GClass32 gclass32 = new GClass31.GClass32();
                    gclass32.int_0 = gstruct2.int_0;
                    gclass32.int_1 = gstruct2.int_3;
                    dictionary.Add(Conversions.ToString(gclass32.int_0), gclass32);
                }
                if (!((gstruct2.int_3 <= 17780736) & (gstruct2.int_3 > 16777216)))
                {
                    Thread.Sleep(1);
                }
            }
            return(dictionary);
        }
Esempio n. 2
0
 public static extern void GetSystemInfo([MarshalAs(UnmanagedType.Struct)] ref GClass31.GStruct1 gstruct1_0);