Follow-up to !600.
--
v2: wineoss: Switch to mmdevapi's unixlib.h.
wineoss: Adapt "get_position_params" struct to mmdevapi's.
wineoss: Adapt "get_frequency_params" struct to mmdevapi's.
wineoss: Adapt "create_stream_params" struct to mmdevapi's.
wineoss: Adapt "test_connect_params" struct to mmdevapi's.
wineoss: Drop "oss_" prefix in unixlib enum, apply it to the functions instead.
mmdevapi: Integrate wineoss's additions in unixlib.h.
https://gitlab.winehq.org/wine/wine/-/merge_requests/799
Follow-up to !600.
---
The version check logic is removed because redundant.
`SNDCTL_SYSINFO` was introduced in OSS 4.0: [oss4white.pdf](/uploads/e85c3196b611560db849cfac9e158bd2/oss4white.pdf)
The `ioctl()` call fails with OSS 3.x.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/799
This avoids an eventual stack overflow in exception-heavy applications.
Important note: when using the experimental Wow64 support on Linux, this change causes a crash during exception handling when unix_funcs->unwind_builtin_dll is called.
The call in dll/ntdll/signal_x86_64.c virtual_unwind() to unix_funcs->unwind_builtin_dll() should be commented out and replaced with 'status = STATUS_UNSUCCESSFUL;'.
This is along the same lines as needing to comment out the unix_funcs->init_builtin_dll() call for Wow64.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/802