Finally, apparently Paul has had to duplicate a fair amount of Wine code inside his libfst (library for loading Cubase VST plugins) because the relevant functions are declared static in Wine. Paul, could you post a list of exactly what you use?
actually, a "fair amount" is an overstatement. its not much, but what there is rather critical:
* definition of SIGNAL_STACK_SIZE * definition of MEM_SYSTEM (in winnt.h, but hard to make visible) * alloc_teb() * free_teb() * server.h * thread.h
--p