Rudolf Mayerhofer rm@eightyfive.net wrote:
Are the additions to the structures your own invention?
Yes, as SystemClass 0x01 and struct SYSTEM_CPU_INFORMATION seem to be Wine- only (I could not find anything related to that on MSDN and Googling it brings just references to Wine up). So it seems this struct was added for internal use in Wine (wineboot to be exact).
NtQuerySystemInfo/SystemCpuInformation is a public ntdll interface, you can't add custom extensions to it.