Files
FEX-Emu--FEX/Source/Windows/include/wine/unixlib.h
T
Ryan Houdek b7bfbc3fcd Windows: Setup tu_override_uncached_as_cache_coherent inside of dlls
To not have this environment variable accidently be enabled on arm64
native Wine games, we need to set it from inside of FEX.

Requires the FEX dlls to set them directly rather than launch scripts.
2026-05-08 13:39:51 -07:00

25 lines
577 B
C

// SPDX-License-Identifier: LGPL-2.1-or-later
// SPDX-FileCopyrightText: Copyright (C) 2021 Alexandre Julliard
#pragma once
#include <winternl.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef UINT64 unixlib_handle_t;
extern NTSTATUS(WINAPI* __wine_set_unix_env)(const char*, const char*);
extern NTSTATUS(WINAPI* __wine_unix_call_dispatcher)(unixlib_handle_t, unsigned int, void*);
static inline NTSTATUS __wine_unix_call(unixlib_handle_t handle, unsigned int code, void* args) {
return __wine_unix_call_dispatcher(handle, code, args);
}
#ifdef __cplusplus
}
#endif