Rémi Bernon (@rbernon) commented about dlls/winevulkan/vulkan_loader.h:
};
#define UNIX_CALL(code, params) WINE_UNIX_CALL(unix_ ## code, params) +#define UNIX_CALL_CHECKED(code, params) \ + { \ + NTSTATUS status = UNIX_CALL(code, params); \ + if (status) \ + { \ + ERR("Exception %#lx in Unix call.\n", status); \ + ExitProcess(3); \ + } \ + }
do { \
NTSTATUS status = UNIX_CALL(code, params); \
if (status) \
{ \
ERR("Exception %#lx in %s call.\n", status, #code); \
ExitProcess(3); \
} \
} while (0)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11164#note_143318