2018-01-18 19:24:05 +03:00
|
|
|
/* Linux-to-Windows conversions (i.e. callbacks) here. */
|
2023-09-30 15:02:30 +03:00
|
|
|
#include "unix_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
#include "cxx.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
|
|
|
#ifdef __i386__
|
|
|
|
|
|
|
|
#define DEFINE_VTBL_WRAPPER(off) \
|
|
|
|
__ASM_GLOBAL_FUNC(vtbl_wrapper_ ## off, \
|
|
|
|
"popl %eax\n\t" \
|
|
|
|
"popl %ecx\n\t" \
|
|
|
|
"pushl %eax\n\t" \
|
|
|
|
"movl 0(%ecx), %eax\n\t" \
|
|
|
|
"jmp *" #off "(%eax)\n\t")
|
|
|
|
|
|
|
|
DEFINE_VTBL_WRAPPER(0);
|
|
|
|
DEFINE_VTBL_WRAPPER(4);
|
|
|
|
DEFINE_VTBL_WRAPPER(8);
|
|
|
|
DEFINE_VTBL_WRAPPER(12);
|
|
|
|
DEFINE_VTBL_WRAPPER(16);
|
|
|
|
DEFINE_VTBL_WRAPPER(20);
|
|
|
|
DEFINE_VTBL_WRAPPER(24);
|
|
|
|
DEFINE_VTBL_WRAPPER(28);
|
|
|
|
DEFINE_VTBL_WRAPPER(32);
|
|
|
|
DEFINE_VTBL_WRAPPER(36);
|
|
|
|
DEFINE_VTBL_WRAPPER(40);
|
|
|
|
DEFINE_VTBL_WRAPPER(44);
|
|
|
|
DEFINE_VTBL_WRAPPER(48);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2018-10-29 21:23:17 +03:00
|
|
|
/***** ISteamMatchmakingServerListResponse *****/
|
2018-01-18 19:24:05 +03:00
|
|
|
typedef struct winServerListResponse {
|
|
|
|
const vtable_ptr *vtable;
|
|
|
|
} winServerListResponse;
|
|
|
|
|
|
|
|
struct gccServerListResponse {
|
|
|
|
void *vtable;
|
|
|
|
struct winServerListResponse *win_side;
|
|
|
|
};
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
void gccServerListResponse_ServerResponded( struct gccServerListResponse *_this, void *hRequest, int iServer )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
2023-09-19 20:59:23 +03:00
|
|
|
CALL_VTBL_FUNC( _this->win_side, 0, void, (winServerListResponse *, void *, int),
|
|
|
|
(_this->win_side, hRequest, iServer) );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
void gccServerListResponse_ServerFailedToRespond( struct gccServerListResponse *_this, void *hRequest, int iServer )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
2023-09-19 20:59:23 +03:00
|
|
|
CALL_VTBL_FUNC( _this->win_side, 4, void, (winServerListResponse *, void *, int),
|
|
|
|
(_this->win_side, hRequest, iServer) );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
void gccServerListResponse_RefreshComplete( struct gccServerListResponse *_this, void *hRequest, uint32_t response )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
2023-09-19 20:59:23 +03:00
|
|
|
CALL_VTBL_FUNC( _this->win_side, 8, void, (winServerListResponse *, void *, uint32_t),
|
2023-09-14 17:22:47 +03:00
|
|
|
(_this->win_side, hRequest, response) );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
struct gccServerListResponseVtbl {
|
2023-09-19 20:59:23 +03:00
|
|
|
void (*ServerResponded)( struct gccServerListResponse *, void *, int );
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
void (*ServerFailedToRespond)( struct gccServerListResponse *, void *, int );
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
void (*RefreshComplete)( struct gccServerListResponse *, void *, uint32_t );
|
2018-01-18 19:24:05 +03:00
|
|
|
} gccServerListResponse_vtbl = {
|
|
|
|
gccServerListResponse_ServerResponded,
|
|
|
|
gccServerListResponse_ServerFailedToRespond,
|
|
|
|
gccServerListResponse_RefreshComplete
|
|
|
|
};
|
|
|
|
|
2019-02-07 23:50:38 +03:00
|
|
|
void gccServerListResponse001_ServerResponded(struct gccServerListResponse *_this, int iServer)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 0, void, (winServerListResponse *, int), (_this->win_side, iServer));
|
|
|
|
}
|
|
|
|
|
|
|
|
void gccServerListResponse001_ServerFailedToRespond(struct gccServerListResponse *_this, int iServer)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 4, void, (winServerListResponse *, int), (_this->win_side, iServer));
|
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void gccServerListResponse001_RefreshComplete( struct gccServerListResponse *_this, uint32_t response )
|
2019-02-07 23:50:38 +03:00
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
2023-09-14 17:22:47 +03:00
|
|
|
CALL_VTBL_FUNC( _this->win_side, 8, void, (winServerListResponse *, uint32_t), (_this->win_side, response) );
|
2019-02-07 23:50:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
struct gccServerListResponse001Vtbl {
|
2019-02-25 20:26:32 +03:00
|
|
|
void (*ServerResponded)(struct gccServerListResponse *, int);
|
2019-02-07 23:50:38 +03:00
|
|
|
|
2019-02-25 20:26:32 +03:00
|
|
|
void (*ServerFailedToRespond)(struct gccServerListResponse *, int);
|
2019-02-07 23:50:38 +03:00
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void (*RefreshComplete)( struct gccServerListResponse *, uint32_t );
|
2019-02-07 23:50:38 +03:00
|
|
|
} gccServerListResponse001_vtbl = {
|
|
|
|
gccServerListResponse001_ServerResponded,
|
|
|
|
gccServerListResponse001_ServerFailedToRespond,
|
|
|
|
gccServerListResponse001_RefreshComplete
|
|
|
|
};
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamMatchmakingServerListResponse *create_LinuxISteamMatchmakingServerListResponse( void *win, const char *version )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
struct gccServerListResponse *ret;
|
|
|
|
|
2020-11-06 19:42:21 +03:00
|
|
|
if (!win)
|
|
|
|
return NULL;
|
|
|
|
|
2018-10-29 21:23:17 +03:00
|
|
|
/* FIXME: When is it save to free this? CancelServerQuery? */
|
2018-01-18 19:24:05 +03:00
|
|
|
ret = (struct gccServerListResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret));
|
|
|
|
if(!ret)
|
|
|
|
return NULL;
|
|
|
|
|
2023-09-29 12:03:44 +03:00
|
|
|
if (strcmp( version, "ISteamMatchmakingServers_SteamMatchMakingServers001" ) == 0)
|
|
|
|
{
|
2019-02-07 23:50:38 +03:00
|
|
|
ret->vtable = &gccServerListResponse001_vtbl;
|
2023-09-29 12:03:44 +03:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2019-02-07 23:50:38 +03:00
|
|
|
ret->vtable = &gccServerListResponse_vtbl;
|
|
|
|
}
|
2018-01-18 19:24:05 +03:00
|
|
|
ret->win_side = (struct winServerListResponse*)win;
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
return (struct u_ISteamMatchmakingServerListResponse *)ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
2018-10-29 21:23:17 +03:00
|
|
|
|
|
|
|
/***** ISteamMatchmakingPingResponse *****/
|
|
|
|
typedef struct winPingResponse {
|
|
|
|
const vtable_ptr *vtable;
|
|
|
|
} winPingResponse;
|
|
|
|
|
|
|
|
struct gccPingResponse {
|
|
|
|
void *vtable;
|
|
|
|
struct winPingResponse *win_side;
|
|
|
|
};
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct gameserveritem_t;
|
|
|
|
|
|
|
|
void gccPingResponse_ServerResponded( struct gccPingResponse *_this, struct gameserveritem_t *server )
|
2018-10-29 21:23:17 +03:00
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
2023-09-30 15:02:30 +03:00
|
|
|
CALL_VTBL_FUNC( _this->win_side, 0, void, (winPingResponse *, struct gameserveritem_t *),
|
|
|
|
(_this->win_side, server) );
|
2018-10-29 21:23:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void gccPingResponse_ServerFailedToRespond(struct gccPingResponse *_this)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 4, void, (winPingResponse *), (_this->win_side));
|
|
|
|
}
|
|
|
|
|
|
|
|
struct gccPingResponseVtbl {
|
2023-09-30 15:02:30 +03:00
|
|
|
void (*ServerResponded)( struct gccPingResponse *, struct gameserveritem_t * );
|
2018-10-29 21:23:17 +03:00
|
|
|
|
|
|
|
void (*ServerFailedToRespond)(struct gccPingResponse *);
|
|
|
|
} gccPingResponse_vtbl = {
|
|
|
|
gccPingResponse_ServerResponded,
|
|
|
|
gccPingResponse_ServerFailedToRespond
|
|
|
|
};
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamMatchmakingPingResponse *create_LinuxISteamMatchmakingPingResponse( void *win, const char *version )
|
2018-10-29 21:23:17 +03:00
|
|
|
{
|
|
|
|
struct gccPingResponse *ret;
|
|
|
|
|
2020-11-06 19:42:21 +03:00
|
|
|
if (!win)
|
|
|
|
return NULL;
|
|
|
|
|
2018-10-29 21:23:17 +03:00
|
|
|
ret = (struct gccPingResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret));
|
|
|
|
if(!ret)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
ret->vtable = &gccPingResponse_vtbl;
|
|
|
|
ret->win_side = (struct winPingResponse*)win;
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
return (struct u_ISteamMatchmakingPingResponse *)ret;
|
2018-10-29 21:23:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/***** ISteamMatchmakingPlayersResponse *****/
|
|
|
|
typedef struct winPlayersResponse {
|
|
|
|
const vtable_ptr *vtable;
|
|
|
|
} winPlayersResponse;
|
|
|
|
|
|
|
|
struct gccPlayersResponse {
|
|
|
|
void *vtable;
|
|
|
|
struct winPlayersResponse *win_side;
|
|
|
|
};
|
|
|
|
|
|
|
|
void gccPlayersResponse_AddPlayerToList(struct gccPlayersResponse *_this, const char *pchName, int nScore, float flTimePlayed)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 0, void, (winPlayersResponse *, const char *, int, float), (_this->win_side, pchName, nScore, flTimePlayed));
|
|
|
|
}
|
|
|
|
|
|
|
|
void gccPlayersResponse_PlayersFailedToRespond(struct gccPlayersResponse *_this)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 4, void, (winPlayersResponse *), (_this->win_side));
|
|
|
|
}
|
|
|
|
|
|
|
|
void gccPlayersResponse_PlayersRefreshComplete(struct gccPlayersResponse *_this)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 8, void, (winPlayersResponse *), (_this->win_side));
|
|
|
|
}
|
|
|
|
|
|
|
|
struct gccPlayersResponseVtbl {
|
|
|
|
void (*AddPlayerToList)(struct gccPlayersResponse *, const char *, int, float);
|
|
|
|
|
|
|
|
void (*PlayersFailedToRespond)(struct gccPlayersResponse *);
|
|
|
|
|
|
|
|
void (*PlayersRefreshComplete)(struct gccPlayersResponse *);
|
|
|
|
} gccPlayersResponse_vtbl = {
|
|
|
|
gccPlayersResponse_AddPlayerToList,
|
|
|
|
gccPlayersResponse_PlayersFailedToRespond,
|
|
|
|
gccPlayersResponse_PlayersRefreshComplete
|
|
|
|
};
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamMatchmakingPlayersResponse *create_LinuxISteamMatchmakingPlayersResponse( void *win, const char *version )
|
2018-10-29 21:23:17 +03:00
|
|
|
{
|
|
|
|
struct gccPlayersResponse *ret;
|
|
|
|
|
2020-11-06 19:42:21 +03:00
|
|
|
if (!win)
|
|
|
|
return NULL;
|
|
|
|
|
2018-10-29 21:23:17 +03:00
|
|
|
ret = (struct gccPlayersResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret));
|
|
|
|
if(!ret)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
ret->vtable = &gccPlayersResponse_vtbl;
|
|
|
|
ret->win_side = (struct winPlayersResponse*)win;
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
return (struct u_ISteamMatchmakingPlayersResponse *)ret;
|
2018-10-29 21:23:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/***** ISteamMatchmakingRulesResponse *****/
|
|
|
|
typedef struct winRulesResponse {
|
|
|
|
const vtable_ptr *vtable;
|
|
|
|
} winRulesResponse;
|
|
|
|
|
|
|
|
struct gccRulesResponse {
|
|
|
|
void *vtable;
|
|
|
|
struct winRulesResponse *win_side;
|
|
|
|
};
|
|
|
|
|
|
|
|
void gccRulesResponse_RulesResponded(struct gccRulesResponse *_this, const char *pchRule, const char *pchValue)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 0, void, (winRulesResponse *, const char *, const char *), (_this->win_side, pchRule, pchValue));
|
|
|
|
}
|
|
|
|
|
|
|
|
void gccRulesResponse_RulesFailedToRespond(struct gccRulesResponse *_this)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 4, void, (winRulesResponse *), (_this->win_side));
|
|
|
|
}
|
|
|
|
|
|
|
|
void gccRulesResponse_RulesRefreshComplete(struct gccRulesResponse *_this)
|
|
|
|
{
|
|
|
|
TRACE("%p/%p\n", _this, _this->win_side);
|
|
|
|
CALL_VTBL_FUNC(_this->win_side, 8, void, (winRulesResponse *), (_this->win_side));
|
|
|
|
}
|
|
|
|
|
|
|
|
struct gccRulesResponseVtbl {
|
|
|
|
void (*RulesResponded)(struct gccRulesResponse *, const char *, const char*);
|
|
|
|
|
|
|
|
void (*RulesFailedToRespond)(struct gccRulesResponse *);
|
|
|
|
|
|
|
|
void (*RulesRefreshComplete)(struct gccRulesResponse *);
|
|
|
|
} gccRulesResponse_vtbl = {
|
|
|
|
gccRulesResponse_RulesResponded,
|
|
|
|
gccRulesResponse_RulesFailedToRespond,
|
|
|
|
gccRulesResponse_RulesRefreshComplete
|
|
|
|
};
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamMatchmakingRulesResponse *create_LinuxISteamMatchmakingRulesResponse( void *win, const char *version )
|
2018-10-29 21:23:17 +03:00
|
|
|
{
|
|
|
|
struct gccRulesResponse *ret;
|
|
|
|
|
2020-11-06 19:42:21 +03:00
|
|
|
if (!win)
|
|
|
|
return NULL;
|
|
|
|
|
2018-10-29 21:23:17 +03:00
|
|
|
ret = (struct gccRulesResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret));
|
|
|
|
if(!ret)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
ret->vtable = &gccRulesResponse_vtbl;
|
|
|
|
ret->win_side = (struct winRulesResponse*)win;
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
return (struct u_ISteamMatchmakingRulesResponse *)ret;
|
2018-10-29 21:23:17 +03:00
|
|
|
}
|
2019-05-17 22:48:34 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworkingConnectionCustomSignaling *create_LinuxISteamNetworkingConnectionCustomSignaling( void *win, const char *version )
|
2023-09-20 18:27:42 +03:00
|
|
|
{
|
|
|
|
FIXME( "not implemented!\n" );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworkingCustomSignalingRecvContext *create_LinuxISteamNetworkingCustomSignalingRecvContext( void *win, const char *version )
|
2023-09-20 18:27:42 +03:00
|
|
|
{
|
|
|
|
FIXME( "not implemented!\n" );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2019-05-17 22:48:34 +03:00
|
|
|
/***** FSteamNetworkingSocketsDebugOutput *****/
|
2023-09-19 22:30:14 +03:00
|
|
|
static w_FSteamNetworkingSocketsDebugOutput stored_FSteamNetworkingSocketsDebugOutput;
|
2019-05-17 22:48:34 +03:00
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
static void lin_FSteamNetworkingSocketsDebugOutput( uint32_t nType, const char *pszMsg )
|
2019-05-17 22:48:34 +03:00
|
|
|
{
|
2023-10-02 16:27:37 +03:00
|
|
|
queue_sockets_debug_output( stored_FSteamNetworkingSocketsDebugOutput, nType, pszMsg );
|
2019-05-17 22:48:34 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
u_FSteamNetworkingSocketsDebugOutput manual_convert_SetDebugOutputFunction_pfnFunc( w_FSteamNetworkingSocketsDebugOutput win_func )
|
2019-05-17 22:48:34 +03:00
|
|
|
{
|
2023-09-19 22:30:14 +03:00
|
|
|
stored_FSteamNetworkingSocketsDebugOutput = win_func;
|
2019-05-17 22:48:34 +03:00
|
|
|
return &lin_FSteamNetworkingSocketsDebugOutput;
|
|
|
|
}
|
2019-08-15 22:50:30 +03:00
|
|
|
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
static w_SteamAPIWarningMessageHook_t stored_SteamAPIWarningMessageHook_t;
|
2022-06-15 01:54:51 +03:00
|
|
|
|
|
|
|
static void lin_SteamAPIWarningMessageHook_t(int severity, const char *msg)
|
|
|
|
{
|
2023-10-02 16:27:37 +03:00
|
|
|
queue_warning_message_hook( stored_SteamAPIWarningMessageHook_t, severity, msg );
|
2022-06-15 01:54:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
u_SteamAPIWarningMessageHook_t manual_convert_SetWarningMessageHook_pFunction( w_SteamAPIWarningMessageHook_t win_func )
|
2022-06-15 01:54:51 +03:00
|
|
|
{
|
|
|
|
TRACE("win_func %p, returning %p.\n", win_func, lin_SteamAPIWarningMessageHook_t);
|
|
|
|
|
|
|
|
stored_SteamAPIWarningMessageHook_t = win_func;
|
|
|
|
|
|
|
|
return &lin_SteamAPIWarningMessageHook_t;
|
|
|
|
}
|
|
|
|
|
2019-08-15 22:50:30 +03:00
|
|
|
/***** SteamAPI_CheckCallbackRegistered_t *****/
|
2023-09-19 22:30:14 +03:00
|
|
|
static w_SteamAPI_CheckCallbackRegistered_t stored_SteamAPI_CheckCallbackRegistered_t;
|
2019-08-15 22:50:30 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
static uint32_t lin_SteamAPI_CheckCallbackRegistered_t( int32_t cb )
|
2019-08-15 22:50:30 +03:00
|
|
|
{
|
|
|
|
return stored_SteamAPI_CheckCallbackRegistered_t(cb);
|
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
u_SteamAPI_CheckCallbackRegistered_t manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( w_SteamAPI_CheckCallbackRegistered_t win_func )
|
2019-08-15 22:50:30 +03:00
|
|
|
{
|
2023-09-19 22:30:14 +03:00
|
|
|
FIXME( "\n" );
|
|
|
|
if (!(stored_SteamAPI_CheckCallbackRegistered_t = win_func)) return NULL;
|
2019-08-15 22:50:30 +03:00
|
|
|
return &lin_SteamAPI_CheckCallbackRegistered_t;
|
|
|
|
}
|
2023-09-19 22:30:14 +03:00
|
|
|
|
|
|
|
static w_SteamAPI_CheckCallbackRegistered_t_156 stored_SteamAPI_CheckCallbackRegistered_t_156;
|
|
|
|
|
|
|
|
static uint32_t lin_SteamAPI_CheckCallbackRegistered_t_156( int cb )
|
|
|
|
{
|
|
|
|
return stored_SteamAPI_CheckCallbackRegistered_t_156( cb );
|
|
|
|
}
|
|
|
|
|
|
|
|
u_SteamAPI_CheckCallbackRegistered_t_156 manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( w_SteamAPI_CheckCallbackRegistered_t_156 win_func )
|
|
|
|
{
|
|
|
|
if (!(stored_SteamAPI_CheckCallbackRegistered_t_156 = win_func)) return NULL;
|
|
|
|
return &lin_SteamAPI_CheckCallbackRegistered_t_156;
|
|
|
|
}
|
|
|
|
|
|
|
|
static w_SteamAPI_PostAPIResultInProcess_t stored_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
|
|
|
|
static void lin_SteamAPI_PostAPIResultInProcess_t( uint64_t a, void *b, uint32_t c, int32_t d )
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
}
|
|
|
|
|
|
|
|
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t win_func )
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
if (!(stored_SteamAPI_PostAPIResultInProcess_t = win_func)) return NULL;
|
|
|
|
return &lin_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
}
|
|
|
|
|
|
|
|
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t win_func )
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
stored_SteamAPI_PostAPIResultInProcess_t = NULL;
|
|
|
|
return &lin_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
}
|
|
|
|
|
|
|
|
static w_void_SteamAPI_PostAPIResultInProcess_t stored_void_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
|
|
|
|
static void lin_void_SteamAPI_PostAPIResultInProcess_t(void)
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
}
|
|
|
|
|
|
|
|
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t win_func )
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
if (!(stored_void_SteamAPI_PostAPIResultInProcess_t = win_func)) return NULL;
|
|
|
|
return &lin_void_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
}
|
|
|
|
|
|
|
|
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t win_func )
|
|
|
|
{
|
|
|
|
FIXME( "\n" );
|
|
|
|
stored_void_SteamAPI_PostAPIResultInProcess_t = NULL;
|
|
|
|
return &lin_void_SteamAPI_PostAPIResultInProcess_t;
|
|
|
|
}
|