On Mon, Nov 12, 2012 at 7:37 PM, Corinna Vinschen <[email protected]> wrote:

About the correction made in SYSTEM_BASIC_INFORMATION:

[...]
> Index: winternl.h
> ===================================================================
> --- winternl.h  (revision 5451)
> +++ winternl.h  (working copy)
> @@ -688,9 +688,9 @@
>      ULONG LowestPhysicalPage;
>      ULONG HighestPhysicalPage;
>      ULONG AllocationGranularity;
> -    ULONG LowestUserAddress;
> -    ULONG HighestUserAddress;
> -    ULONG ActiveProcessors;
> +    ULONG_PTR LowestUserAddress;
> +    ULONG_PTR HighestUserAddress;
> +    ULONG_PTR ActiveProcessors;
>      CCHAR NumberOfProcessors;
>    } SYSTEM_BASIC_INFORMATION,*PSYSTEM_BASIC_INFORMATION;

If we compare original structure, we have:

      BYTE Reserved1[24];
      PVOID Reserved2[4];
      CCHAR NumberOfProcessors;

So, PVOID Reserved2[4] should correspond to 4 ULONG_PTR members
in the detailed version: do we not need the following, too?

-      ULONG AllocationGranularity;
+      ULONG_PTR AllocationGranularity;

--
O.S.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to