883 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
18 lines
597 B
C
18 lines
597 B
C
/* Backend-boundary fixture only: no networking, game process or credentials. */
|
|
#include <windows.h>
|
|
#include "wine_wire_abi.h"
|
|
__declspec(dllexport) NTSTATUS WINAPI gw_native_wire_dispatch(void* pointer){
|
|
struct gw_wire_call* c=pointer;
|
|
if(!c || c->abi!=GW_WINE_WIRE_ABI || c->size!=sizeof(*c))return (NTSTATUS)0xc000000d;
|
|
c->result=0;
|
|
if(c->operation==GW_WIRE_PING){
|
|
#ifdef BAD_BACKEND_ABI
|
|
c->value=GW_NATIVE_ABI+1;
|
|
#else
|
|
c->value=GW_NATIVE_ABI;
|
|
#endif
|
|
}else if(c->operation==GW_WIRE_COUNTS){c->value=0;c->consumed=0;}
|
|
else c->result=-1;
|
|
return 0;
|
|
}
|