[include/winternl.h #2] Remove PROCESS_INFO struct

Paul Vriens paul.vriens at xs4all.nl
Mon May 9 05:15:06 CDT 2005


Hi,

PROCESS_INFO is not used in the code. SYSTEM_PROCESS_INFORMATION is used
wherever needed, so stick to that one.

One of the next patches will correct the current
SYSTEM_PROCESS_INFORMATION structure, although I still have currently 3
questions about that:

1. SYSTEM_PROCESS_INFORMATION contains the same information as the
VM_COUNTERS struct. Should we have separate items in the
SYSTEM_PROCESS_INFORMATION struct or refer to VM_COUNTERS?

2. The current SYSTEM_PROCESS_INFORMATION struct contains:
    DWORD dwUnknown2[5];
    WCHAR *pszProcessName;
where the last DWORD together with *pszProcessName is UNICODE_STRING,
should we use the latter?

3. The struct differs for NT, W2K/XP and W2K3. How do we deal with that?
Have a SYSTEM_PROCESS_INFORMATION which represents W2K3 and a
SYSTEM_PROCESS_INFORMATION_XP and SYSTEM_PROCESS_INFORMATION_NT ? We need
the correct struct size at run-time and not at compile-time.

Changelog
  Remove the not used PROCESS_INFO struct.

Cheers,

Paul Vriens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winternl_2.h.diff
Type: text/x-patch
Size: 1378 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050509/75a446bf/winternl_2.h.bin


More information about the wine-patches mailing list