Paul Gofman (@gofman) commented about include/winbase.h:
WINBASEAPI DWORD WINAPI GetCurrentProcessId(void); WINBASEAPI HANDLE WINAPI GetCurrentThread(void); WINBASEAPI DWORD WINAPI GetCurrentThreadId(void); +WINBASEAPI HANDLE WINAPI GetCurrentProcessToken(void);
I still think these changes are not needed, at least until token functions are extensively used on the Wine Unix side.