[Bug 25086] Multiple games and applications need kernel32.GetLogicalProcessorInformationEx implementation (CPU-Z 1.72, Splinter Cell: Blacklist, Adobe CC 2015, Kontakt 5)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 16 08:48:35 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=25086

Sergey Isakov <isakov-sl at bk.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |isakov-sl at bk.ru

--- Comment #10 from Sergey Isakov <isakov-sl at bk.ru> ---
Created attachment 53137
  --> https://bugs.winehq.org/attachment.cgi?id=53137
Semistub implementation for GetLogicalProcessorInformationEx

The explanation is follow:
1. Application call the procedure with zero buffer to know size needed.
2. The procedure return FALSE, size and ERROR_INSUFFICIENT_BUFFER.
3. The application allocate buffer of needed size.
4. Then the application call the procedure again with the buffer and correct
size.
5. The procedure must return at least one structure of type
SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX in the buffer and return TRUE.
I filled the structure with some fake data and think they are enough for wine.
Tested on CPU-Z and I want someone test on another applications.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list