175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
25 lines
634 B
C
25 lines
634 B
C
#ifndef GW_WINE_PREOPEN_HOOK_PRIVATE_H
|
|
#define GW_WINE_PREOPEN_HOOK_PRIVATE_H
|
|
|
|
#include <stdint.h>
|
|
#include <windows.h>
|
|
|
|
typedef int (WINAPI *GwWirePreOpenCallback)(void *owner);
|
|
|
|
struct GwWirePreOpenHook {
|
|
uint32_t abi, size;
|
|
volatile LONG ready, error;
|
|
void *owner;
|
|
DWORD primary_thread, reserved;
|
|
HMODULE bridge_module;
|
|
GwWirePreOpenCallback callback;
|
|
};
|
|
|
|
_Static_assert(sizeof(struct GwWirePreOpenHook) == 48,
|
|
"Pre-OpenRealm hook ABI changed");
|
|
|
|
int gw_wire_preopen_admit(struct GwWirePreOpenHook *hook, void *owner,
|
|
DWORD thread, HMODULE callback_module);
|
|
|
|
#endif
|