Feb. 2, 2023
10:08 a.m.
Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/unixlib.h:
#include "wine/unixlib.h"
+typedef UINT64 vosk_instance; + +struct vosk_create_params +{ + vosk_instance *instance;
You probably don't want to use a pointer if you can avoid it here, and the `vosk_create` unixlib entry point should write the `param.instance` value, which you would read back on the PE side. Using pointers in unixlib parameters requires to implement WOW64 entry points to convert 32-bit sized pointers to 64-bit. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2091#note_22795