[PATCH1/3] include/winternl: Add Logical Processor Information to SYSTEM_CPU_INFORMATION
Rudolf Mayerhofer
rm at eightyfive.net
Sun Oct 3 04:08:57 CDT 2010
On Sunday 03 October 2010 09:34:02 Dmitry Timoshkov wrote:
> Rudolf Mayerhofer <rm at 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.
SystemCpuInformation seems not defined anywhere outside Wine.
It's not defined on MSDN, neither can it be found on any Wine-unrelated
Documentations/Source-codes or Documentations. If you have any links or
documentation for SystemCpuInformation, could you send them please ?
If i can't extend the struct, i think it would be easier to just move the
parser into kernel32/process as well and avoid modifiying this interface as
NtQuerySystemInformation is marked as deprecated on MSDN anyway.
More information about the wine-devel
mailing list