Re: kernel32/process: Implement GetLogicalProcessorInformation (rewrite - try 3)

2010-10-05 Thread Rudolf Mayerhofer
Have you checked that it doesn't just return a SYSTEM_LOGICAL_PROCESSOR_INFORMATION ? It seems to be the right format for the name anyway. I'd play with the size argument or try using NtQuerySystemInformationEx (some new thing in win7). You could just find a case that passes and implement it

Re: kernel32/process: Implement GetLogicalProcessorInformation (rewrite - try 3)

2010-10-04 Thread Rudolf Mayerhofer
I don't know much about kernel32/ntdll, but I'm pretty sure that you could get this to work through ntdll. NtQuerySystemInformation with SystemProcessorInformation/SystemLogicalProcessorInformation (see

Re: kernel32/process: Implement GetLogicalProcessorInformation (rewrite - try 3)

2010-10-04 Thread Mike Kaplinskiy
On Mon, Oct 4, 2010 at 2:18 PM, Rudolf Mayerhofer r...@eightyfive.net wrote: I don't know much about kernel32/ntdll, but I'm pretty sure that you could get this to work through ntdll. NtQuerySystemInformation with SystemProcessorInformation/SystemLogicalProcessorInformation (see

Re: kernel32/process: Implement GetLogicalProcessorInformation (rewrite - try 3)

2010-10-03 Thread Mike Kaplinskiy
On Sun, Oct 3, 2010 at 10:25 AM, Rudolf Mayerhofer r...@eightyfive.net wrote: A rewrite of my previously sent patches in order to avoid changing SYSTEM_CPU_INFORMATION. This patch supersedes my previously sent patches: [PATCH1/3] include/winternl: Add Logical Processor Information to