[include/winternl.h #6] SYSTEM_PROCESS_INFORMATION

Paul Vriens Paul.Vriens at xs4all.nl
Thu Jun 2 14:05:24 CDT 2005


the first bigger change to SYSTEM_PROCESS_INFORMATION. The structure now
contains VM_COUNTERS (which had to move up in the file) instead of all
the single (wrong) items, and IO_COUNTERS. I also added 2 extra FILETIME
items (well actually I changed dwUnknown2[5]).

This structure now has the correct size for W2K/WinXP and W2K3. NT
doesn't have the IO_COUNTERS part, but for now I'm not to worried about
dealing with that (unless somebody tells me to).

I also had to change ntdll/nt.c because of this. I removed all the
single sets to 0 as this is done by the memset anyway.

Next patches will change the struct (and related files) to use
UNICODE_STRING for the process name, but I'm having a few issues with

Next patches will also contain tests to prove the above. Can anybody
(who's not tired of reading until now) tell me if we really need the
__WINESRC__ in that structure, the Windows structure shown is wrong
anyway and how can I check 'my' struct in a test (for now I've copied it
to the test and renamed it to something non-existent)?

  Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure



-------------- next part --------------
A non-text attachment was scrubbed...
Name: winternl_6.h.diff
Type: text/x-patch
Size: 2547 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050602/ec18eb32/winternl_6.h.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nt_4.c.diff
Type: text/x-patch
Size: 2323 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050602/ec18eb32/nt_4.c.bin

More information about the wine-patches mailing list