https://bugs.winehq.org/show_bug.cgi?id=46272
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- Obviously we can't do server calls in programs. Maybe it would be acceptable to use an unused field from SYSTEM_PROCESS_INFORMATION for this purpose, e.g. dwUnknown4. Then we could retrieve the Unix pid with a call to NtQuerySystemInformation(SystemProcessInformation).