"Dimitrie O. Paun" dpaun@rogers.com writes:
But it seems that InitThreadInput is an undocumented API. Why export an (and depend on) undocumented 16-bit function. If we need the functionality, shouldn't we rather export a 32-bit API, with a name like wine_init_thread_input or what have you, and with a well defined, and understood semantics?
No, it's better to always use official functions. It doesn't matter if it's not documented, we have to understand it and implement it correctly anyway. So it's better to use it internally too than to invent a different one to do the same thing.