lsteamclient: Make ISteamMatchMakingServers::CancelQuery() manual on the PE side.

CW-Bug-Id: #25532
This commit is contained in:
Paul Gofman 2025-06-09 20:30:47 -06:00
parent c3a07e59ce
commit 0f3fb72d72
3 changed files with 23 additions and 23 deletions

View File

@ -265,7 +265,7 @@ MANUAL_METHODS = {
"ISteamNetworkingSockets_ConnectP2PCustomSignaling": lambda ver, abi: abi == 'u' and ver <= 8, "ISteamNetworkingSockets_ConnectP2PCustomSignaling": lambda ver, abi: abi == 'u' and ver <= 8,
"ISteamNetworkingSockets_ReceivedP2PCustomSignal": lambda ver, abi: abi == 'u' and ver <= 8, "ISteamNetworkingSockets_ReceivedP2PCustomSignal": lambda ver, abi: abi == 'u' and ver <= 8,
"ISteamMatchmakingServers_CancelQuery": lambda ver, abi: abi == 'u' and ver >= 2, "ISteamMatchmakingServers_CancelQuery": lambda ver, abi: (abi == 'u' and ver >= 2) or (abi == 'w'),
"ISteamMatchmakingServers_GetServerCount": lambda ver, abi: abi == 'u' and ver >= 2, "ISteamMatchmakingServers_GetServerCount": lambda ver, abi: abi == 'u' and ver >= 2,
"ISteamMatchmakingServers_GetServerDetails": lambda ver, abi: ver >= 2, "ISteamMatchmakingServers_GetServerDetails": lambda ver, abi: ver >= 2,
"ISteamMatchmakingServers_IsRefreshing": lambda ver, abi: abi == 'u' and ver >= 2, "ISteamMatchmakingServers_IsRefreshing": lambda ver, abi: abi == 'u' and ver >= 2,

View File

@ -2,6 +2,17 @@
WINE_DEFAULT_DEBUG_CHANNEL(steamclient); WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(struct w_iface *_this, uint32_t eType)
{
struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params params =
{
.u_iface = _this->u_iface,
.eType = eType,
};
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, &params );
}
void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( struct w_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse ) void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( struct w_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse )
{ {
struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params params = struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params params =
@ -162,6 +173,17 @@ void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_Request
return request; return request;
} }
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(struct w_iface *_this, void *hRequest)
{
struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params params =
{
.u_iface = _this->u_iface,
.hRequest = hRequest,
};
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, &params );
}
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( struct w_iface *_this, void *hServerListRequest ) void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( struct w_iface *_this, void *hServerListRequest )
{ {
struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params params = struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params params =

View File

@ -115,17 +115,6 @@ gameserveritem_t_105 * __thiscall winISteamMatchmakingServers_SteamMatchMakingSe
return get_unix_buffer( params._ret ); return get_unix_buffer( params._ret );
} }
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(struct w_iface *_this, uint32_t eType)
{
struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params params =
{
.u_iface = _this->u_iface,
.eType = eType,
};
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, &params );
}
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(struct w_iface *_this, uint32_t eType) void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(struct w_iface *_this, uint32_t eType)
{ {
struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params params = struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params params =
@ -278,17 +267,6 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_P
DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, 16) DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, 16)
DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, 8) DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, 8)
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(struct w_iface *_this, void *hRequest)
{
struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params params =
{
.u_iface = _this->u_iface,
.hRequest = hRequest,
};
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, &params );
}
void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(struct w_iface *_this, void *hRequest) void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(struct w_iface *_this, void *hRequest)
{ {
struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params params = struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params params =