[Bug 50405] Missing ability to read Evironment Block and Environment Block Size from any Process ID kernel32

WineHQ Bugzilla wine-bugs at winehq.org
Sat Dec 26 20:24:54 CST 2020


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

--- Comment #9 from Samuel Venable <samuelvenable at hotmail.com> ---
So i was correct. It appears it works for them because they used their own
method to get the environment size manually, rather than using a real and exist
Microsoft API to do it. My code on the other hand uses a real ms api, probably
one that wasn't added by you guys, just as I thought. But it will take testing
the value of EnvironmentSize to know that for sure.

environmentLength = (ULONG)(mbi.RegionSize -
        ((ULONG_PTR)environmentRemote - (ULONG_PTR)mbi.BaseAddress));

-- 
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