From b722943316555ca6ef55d393d39ce2036ea6faf0 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Thu, 9 Jan 2025 22:23:51 +0000 Subject: [PATCH] lsteamclient: Use a string cache for returned unix side strings. --- lsteamclient/gen_wrapper.py | 7 + lsteamclient/steam_input_manual.c | 36 +- lsteamclient/unix_steam_input_manual.cpp | 4 +- lsteamclient/unixlib_generated.h | 458 +++++++++++------------ lsteamclient/winISteamApps.c | 34 +- lsteamclient/winISteamClient.c | 2 +- lsteamclient/winISteamController.c | 12 +- lsteamclient/winISteamFriends.c | 196 +++++----- lsteamclient/winISteamInput.c | 24 +- lsteamclient/winISteamMatchmaking.c | 36 +- lsteamclient/winISteamNetworkingUtils.c | 2 +- lsteamclient/winISteamRemotePlay.c | 4 +- lsteamclient/winISteamRemoteStorage.c | 32 +- lsteamclient/winISteamUserStats.c | 54 +-- lsteamclient/winISteamUtils.c | 26 +- 15 files changed, 467 insertions(+), 460 deletions(-) diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 7bd75f24..38e6c73e 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -663,11 +663,16 @@ class Method: def returns_unix_iface(self): return self.result_type.spelling.startswith("ISteam") or "GetISteam" in self.name + def returns_string(self): + return self.result_type.spelling == "const char *" + def write_params(self, out): returns_record = self.result_type.get_canonical().kind == TypeKind.RECORD if self.returns_unix_iface(): ret = 'struct u_iface _ret' + elif self.returns_string(): + ret = 'struct u_buffer _ret' else: ret = "*_ret" if returns_record else "_ret" ret = f'{declspec(self.result_type, ret, "w_")}' @@ -1118,6 +1123,8 @@ def handle_method_c(klass, method, winclassname, out): out(u' return create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( params._ret );\n') elif method.returns_unix_iface(): out(u' return create_win_interface( pchVersion, params._ret );\n') + elif method.returns_string(): + out(u' return get_unix_buffer( params._ret );\n') elif not returns_void: out(u' return params._ret;\n') out(u'}\n\n') diff --git a/lsteamclient/steam_input_manual.c b/lsteamclient/steam_input_manual.c index 044ec9e9..91cd5e24 100644 --- a/lsteamclient/steam_input_manual.c +++ b/lsteamclient/steam_input_manual.c @@ -15,7 +15,7 @@ const char *__thiscall winISteamController_SteamController005_GetGlyphForActionO TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController005_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamController_SteamController006 */ @@ -31,7 +31,7 @@ const char *__thiscall winISteamController_SteamController006_GetGlyphForActionO TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController006_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamController_SteamController007 */ @@ -47,7 +47,7 @@ const char *__thiscall winISteamController_SteamController007_GetGlyphForActionO TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController007_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -61,7 +61,7 @@ const char *__thiscall winISteamController_SteamController007_GetGlyphForXboxOri TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController007_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamController_SteamController008 */ @@ -77,7 +77,7 @@ const char *__thiscall winISteamController_SteamController008_GetGlyphForActionO TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController008_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -91,7 +91,7 @@ const char *__thiscall winISteamController_SteamController008_GetGlyphForXboxOri TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamController_SteamController008_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamInput_SteamInput001 */ @@ -107,7 +107,7 @@ const char *__thiscall winISteamInput_SteamInput001_GetGlyphForActionOrigin( str TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput001_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -121,7 +121,7 @@ const char *__thiscall winISteamInput_SteamInput001_GetGlyphForXboxOrigin( struc TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamInput_SteamInput002 */ @@ -137,7 +137,7 @@ const char *__thiscall winISteamInput_SteamInput002_GetGlyphForActionOrigin( str TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetGlyphForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -151,7 +151,7 @@ const char *__thiscall winISteamInput_SteamInput002_GetGlyphForXboxOrigin( struc TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamInput_SteamInput005 */ @@ -170,7 +170,7 @@ const char *__thiscall winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( struct w_iface *_this, @@ -186,7 +186,7 @@ const char *__thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( struct w_iface *_this, uint32_t eOrigin ) @@ -200,7 +200,7 @@ const char *__thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Lega TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -214,7 +214,7 @@ const char *__thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin( struc TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } /* ISteamInput_SteamInput006 */ @@ -233,7 +233,7 @@ const char *__thiscall winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( struct w_iface *_this, @@ -249,7 +249,7 @@ const char *__thiscall winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( struct w_iface *_this, uint32_t eOrigin ) @@ -263,7 +263,7 @@ const char *__thiscall winISteamInput_SteamInput006_GetGlyphForActionOrigin_Lega TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char *__thiscall winISteamInput_SteamInput006_GetGlyphForXboxOrigin( struct w_iface *_this, uint32_t eOrigin ) @@ -277,5 +277,5 @@ const char *__thiscall winISteamInput_SteamInput006_GetGlyphForXboxOrigin( struc TRACE( "%p\n", _this ); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } diff --git a/lsteamclient/unix_steam_input_manual.cpp b/lsteamclient/unix_steam_input_manual.cpp index e11e8b2c..dac48228 100644 --- a/lsteamclient/unix_steam_input_manual.cpp +++ b/lsteamclient/unix_steam_input_manual.cpp @@ -199,7 +199,7 @@ uint32_t manual_convert_nNativeKeyCode( uint32_t win_vk ) typedef std::unordered_map< uint64_t, char * > glyph_cache; static glyph_cache input_cache, input_cache_svg, input_cache_png, xbox_cache, controller_cache; -static const char *glyph_cache_lookup( glyph_cache &cache, const char *lin_path, uint16_t origin, +static const char *glyph_cache_lookup( glyph_cache &cache, const char *str, uint16_t origin, uint32_t flags, uint16_t size ) { uint64_t key = (uint64_t)flags << 32 | (uint64_t)size << 16 | origin; @@ -207,7 +207,7 @@ static const char *glyph_cache_lookup( glyph_cache &cache, const char *lin_path, if (cache.find( key ) == cache.end()) { char *dos_path = (char *)malloc( PATH_MAX ); - steamclient_unix_path_to_dos_path( 1, lin_path, dos_path, PATH_MAX, 0 ); + steamclient_unix_path_to_dos_path( 1, str, dos_path, PATH_MAX, 0 ); cache[key] = dos_path; } diff --git a/lsteamclient/unixlib_generated.h b/lsteamclient/unixlib_generated.h index 8c55ea8e..f8681770 100644 --- a/lsteamclient/unixlib_generated.h +++ b/lsteamclient/unixlib_generated.h @@ -85,13 +85,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params @@ -128,13 +128,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params @@ -178,13 +178,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params @@ -270,13 +270,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params @@ -407,13 +407,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params @@ -527,7 +527,7 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchKey; }; @@ -558,13 +558,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params @@ -678,7 +678,7 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchKey; }; @@ -724,13 +724,13 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params @@ -844,7 +844,7 @@ struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchKey; }; @@ -3952,7 +3952,7 @@ struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_p struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t unSessionID; }; @@ -4002,7 +4002,7 @@ struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_p struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t unSessionID; }; @@ -4193,7 +4193,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -4247,7 +4247,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -4336,7 +4336,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -4498,7 +4498,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -4660,7 +4660,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -4896,7 +4896,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -5266,7 +5266,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -5668,7 +5668,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -6070,7 +6070,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -6473,7 +6473,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -6886,7 +6886,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -7300,7 +7300,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -7742,7 +7742,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -8184,7 +8184,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -8626,7 +8626,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; int32_t *pnFileSizeInBytes; }; @@ -8929,7 +8929,7 @@ struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileC struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int32_t iFile; uint32_t *pEChangeType; uint32_t *pEFilePathType; @@ -19731,7 +19731,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; uint32_t iStat; }; @@ -19754,7 +19754,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; uint32_t iAchievement; }; @@ -19769,7 +19769,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievemen struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; uint32_t iAchievement; }; @@ -19895,7 +19895,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; const char *pchName; const char *pchKey; @@ -19911,7 +19911,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; uint32_t iStat; }; @@ -19934,7 +19934,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; uint32_t iAchievement; }; @@ -20035,7 +20035,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CGameID nGameID; const char *pchName; const char *pchKey; @@ -20136,7 +20136,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -20235,7 +20235,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -20368,7 +20368,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -20442,7 +20442,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -20583,7 +20583,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -20657,7 +20657,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -20814,7 +20814,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -20898,7 +20898,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -21055,7 +21055,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -21139,7 +21139,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -21304,7 +21304,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -21388,7 +21388,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -21562,7 +21562,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -21646,7 +21646,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -21896,7 +21896,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -21919,7 +21919,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t iAchievement; }; @@ -21993,7 +21993,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -22243,7 +22243,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; const char *pchName; const char *pchKey; }; @@ -22266,7 +22266,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_pa struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t iAchievement; }; @@ -22340,7 +22340,7 @@ struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_param struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t hSteamLeaderboard; }; @@ -23018,7 +23018,7 @@ struct ISteamClient_SteamClient006_SetLocalIPBinding_params struct ISteamClient_SteamClient006_GetUniverseName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eUniverse; }; @@ -27327,14 +27327,14 @@ struct ISteamController_SteamController005_ShowAnalogActionOrigins_params struct ISteamController_SteamController005_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController005_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -27558,14 +27558,14 @@ struct ISteamController_SteamController006_ShowAnalogActionOrigins_params struct ISteamController_SteamController006_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController006_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -27702,14 +27702,14 @@ struct ISteamController_SteamController007_GetAnalogActionOrigins_params struct ISteamController_SteamController007_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController007_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -27795,14 +27795,14 @@ struct ISteamController_SteamController007_GetGamepadIndexForController_params struct ISteamController_SteamController007_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController007_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -27957,14 +27957,14 @@ struct ISteamController_SteamController008_GetAnalogActionOrigins_params struct ISteamController_SteamController008_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController008_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -28050,14 +28050,14 @@ struct ISteamController_SteamController008_GetGamepadIndexForController_params struct ISteamController_SteamController008_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamController_SteamController008_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -28089,7 +28089,7 @@ struct ISteamController_SteamController008_GetControllerBindingRevision_params struct ISteamFriends_SteamFriends001_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends001_SetPersonaName_params @@ -28158,7 +28158,7 @@ struct ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends001_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -28201,7 +28201,7 @@ struct ISteamFriends_SteamFriends001_SetFriendRegValue_params struct ISteamFriends_SteamFriends001_GetFriendRegValue_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -28209,7 +28209,7 @@ struct ISteamFriends_SteamFriends001_GetFriendRegValue_params struct ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -28292,7 +28292,7 @@ struct ISteamFriends_SteamFriends001_GetFriendGamePlayed2_params struct ISteamFriends_SteamFriends002_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends002_SetPersonaName_params @@ -28345,7 +28345,7 @@ struct ISteamFriends_SteamFriends002_GetFriendPersonaState_params struct ISteamFriends_SteamFriends002_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -28360,7 +28360,7 @@ struct ISteamFriends_SteamFriends002_SetFriendRegValue_params struct ISteamFriends_SteamFriends002_GetFriendRegValue_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -28379,7 +28379,7 @@ struct ISteamFriends_SteamFriends002_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -28477,7 +28477,7 @@ struct ISteamFriends_SteamFriends002_GetClanByIndex_params struct ISteamFriends_SteamFriends002_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -28515,7 +28515,7 @@ struct ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params struct ISteamFriends_SteamFriends003_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends003_SetPersonaName_params @@ -28562,7 +28562,7 @@ struct ISteamFriends_SteamFriends003_GetFriendPersonaState_params struct ISteamFriends_SteamFriends003_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -28587,7 +28587,7 @@ struct ISteamFriends_SteamFriends003_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -28616,7 +28616,7 @@ struct ISteamFriends_SteamFriends003_GetClanByIndex_params struct ISteamFriends_SteamFriends003_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -28659,7 +28659,7 @@ struct ISteamFriends_SteamFriends003_ActivateGameOverlay_params struct ISteamFriends_SteamFriends004_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends004_SetPersonaName_params @@ -28706,7 +28706,7 @@ struct ISteamFriends_SteamFriends004_GetFriendPersonaState_params struct ISteamFriends_SteamFriends004_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -28732,7 +28732,7 @@ struct ISteamFriends_SteamFriends004_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -28761,7 +28761,7 @@ struct ISteamFriends_SteamFriends004_GetClanByIndex_params struct ISteamFriends_SteamFriends004_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -28804,7 +28804,7 @@ struct ISteamFriends_SteamFriends004_ActivateGameOverlay_params struct ISteamFriends_SteamFriends005_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends005_SetPersonaName_params @@ -28851,7 +28851,7 @@ struct ISteamFriends_SteamFriends005_GetFriendPersonaState_params struct ISteamFriends_SteamFriends005_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -28874,7 +28874,7 @@ struct ISteamFriends_SteamFriends005_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -28903,7 +28903,7 @@ struct ISteamFriends_SteamFriends005_GetClanByIndex_params struct ISteamFriends_SteamFriends005_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -28971,7 +28971,7 @@ struct ISteamFriends_SteamFriends005_SetPlayedWith_params struct ISteamFriends_SteamFriends006_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends006_SetPersonaName_params @@ -29018,7 +29018,7 @@ struct ISteamFriends_SteamFriends006_GetFriendPersonaState_params struct ISteamFriends_SteamFriends006_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -29041,7 +29041,7 @@ struct ISteamFriends_SteamFriends006_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -29070,14 +29070,14 @@ struct ISteamFriends_SteamFriends006_GetClanByIndex_params struct ISteamFriends_SteamFriends006_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends006_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -29151,7 +29151,7 @@ struct ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params struct ISteamFriends_SteamFriends007_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends007_SetPersonaName_params @@ -29198,7 +29198,7 @@ struct ISteamFriends_SteamFriends007_GetFriendPersonaState_params struct ISteamFriends_SteamFriends007_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -29213,7 +29213,7 @@ struct ISteamFriends_SteamFriends007_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -29242,14 +29242,14 @@ struct ISteamFriends_SteamFriends007_GetClanByIndex_params struct ISteamFriends_SteamFriends007_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends007_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -29344,7 +29344,7 @@ struct ISteamFriends_SteamFriends007_GetLargeFriendAvatar_params struct ISteamFriends_SteamFriends008_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends008_SetPersonaName_params @@ -29391,7 +29391,7 @@ struct ISteamFriends_SteamFriends008_GetFriendPersonaState_params struct ISteamFriends_SteamFriends008_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -29406,7 +29406,7 @@ struct ISteamFriends_SteamFriends008_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -29435,14 +29435,14 @@ struct ISteamFriends_SteamFriends008_GetClanByIndex_params struct ISteamFriends_SteamFriends008_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends008_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -29580,7 +29580,7 @@ struct ISteamFriends_SteamFriends008_GetUserRestrictions_params struct ISteamFriends_SteamFriends009_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends009_SetPersonaName_params @@ -29627,7 +29627,7 @@ struct ISteamFriends_SteamFriends009_GetFriendPersonaState_params struct ISteamFriends_SteamFriends009_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -29642,7 +29642,7 @@ struct ISteamFriends_SteamFriends009_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -29671,14 +29671,14 @@ struct ISteamFriends_SteamFriends009_GetClanByIndex_params struct ISteamFriends_SteamFriends009_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends009_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -29829,7 +29829,7 @@ struct ISteamFriends_SteamFriends009_ClearRichPresence_params struct ISteamFriends_SteamFriends009_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -29844,7 +29844,7 @@ struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -29887,7 +29887,7 @@ struct ISteamFriends_SteamFriends009_GetFriendCoplayGame_params struct ISteamFriends_SteamFriends010_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends010_SetPersonaName_params @@ -29934,7 +29934,7 @@ struct ISteamFriends_SteamFriends010_GetFriendPersonaState_params struct ISteamFriends_SteamFriends010_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -29949,7 +29949,7 @@ struct ISteamFriends_SteamFriends010_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -29978,14 +29978,14 @@ struct ISteamFriends_SteamFriends010_GetClanByIndex_params struct ISteamFriends_SteamFriends010_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends010_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -30154,7 +30154,7 @@ struct ISteamFriends_SteamFriends010_ClearRichPresence_params struct ISteamFriends_SteamFriends010_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -30169,7 +30169,7 @@ struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -30316,7 +30316,7 @@ struct ISteamFriends_SteamFriends010_GetFriendMessage_params struct ISteamFriends_SteamFriends011_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends011_SetPersonaName_params @@ -30363,7 +30363,7 @@ struct ISteamFriends_SteamFriends011_GetFriendPersonaState_params struct ISteamFriends_SteamFriends011_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -30378,7 +30378,7 @@ struct ISteamFriends_SteamFriends011_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -30407,14 +30407,14 @@ struct ISteamFriends_SteamFriends011_GetClanByIndex_params struct ISteamFriends_SteamFriends011_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends011_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -30583,7 +30583,7 @@ struct ISteamFriends_SteamFriends011_ClearRichPresence_params struct ISteamFriends_SteamFriends011_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -30598,7 +30598,7 @@ struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -30772,7 +30772,7 @@ struct ISteamFriends_SteamFriends011_EnumerateFollowingList_params struct ISteamFriends_SteamFriends012_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends012_SetPersonaName_params @@ -30820,7 +30820,7 @@ struct ISteamFriends_SteamFriends012_GetFriendPersonaState_params struct ISteamFriends_SteamFriends012_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -30835,7 +30835,7 @@ struct ISteamFriends_SteamFriends012_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -30864,14 +30864,14 @@ struct ISteamFriends_SteamFriends012_GetClanByIndex_params struct ISteamFriends_SteamFriends012_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends012_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -31040,7 +31040,7 @@ struct ISteamFriends_SteamFriends012_ClearRichPresence_params struct ISteamFriends_SteamFriends012_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -31055,7 +31055,7 @@ struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -31229,7 +31229,7 @@ struct ISteamFriends_SteamFriends012_EnumerateFollowingList_params struct ISteamFriends_SteamFriends013_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends013_SetPersonaName_params @@ -31277,7 +31277,7 @@ struct ISteamFriends_SteamFriends013_GetFriendPersonaState_params struct ISteamFriends_SteamFriends013_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -31292,7 +31292,7 @@ struct ISteamFriends_SteamFriends013_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -31321,14 +31321,14 @@ struct ISteamFriends_SteamFriends013_GetClanByIndex_params struct ISteamFriends_SteamFriends013_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends013_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -31498,7 +31498,7 @@ struct ISteamFriends_SteamFriends013_ClearRichPresence_params struct ISteamFriends_SteamFriends013_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -31513,7 +31513,7 @@ struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -31687,7 +31687,7 @@ struct ISteamFriends_SteamFriends013_EnumerateFollowingList_params struct ISteamFriends_SteamFriends014_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends014_SetPersonaName_params @@ -31735,7 +31735,7 @@ struct ISteamFriends_SteamFriends014_GetFriendPersonaState_params struct ISteamFriends_SteamFriends014_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -31750,7 +31750,7 @@ struct ISteamFriends_SteamFriends014_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -31758,7 +31758,7 @@ struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params struct ISteamFriends_SteamFriends014_GetPlayerNickname_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDPlayer; }; @@ -31786,14 +31786,14 @@ struct ISteamFriends_SteamFriends014_GetClanByIndex_params struct ISteamFriends_SteamFriends014_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends014_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -31963,7 +31963,7 @@ struct ISteamFriends_SteamFriends014_ClearRichPresence_params struct ISteamFriends_SteamFriends014_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -31978,7 +31978,7 @@ struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -32152,7 +32152,7 @@ struct ISteamFriends_SteamFriends014_EnumerateFollowingList_params struct ISteamFriends_SteamFriends015_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends015_SetPersonaName_params @@ -32200,7 +32200,7 @@ struct ISteamFriends_SteamFriends015_GetFriendPersonaState_params struct ISteamFriends_SteamFriends015_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -32215,7 +32215,7 @@ struct ISteamFriends_SteamFriends015_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -32230,7 +32230,7 @@ struct ISteamFriends_SteamFriends015_GetFriendSteamLevel_params struct ISteamFriends_SteamFriends015_GetPlayerNickname_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDPlayer; }; @@ -32250,7 +32250,7 @@ struct ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params struct ISteamFriends_SteamFriends015_GetFriendsGroupName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int16_t friendsGroupID; }; @@ -32293,14 +32293,14 @@ struct ISteamFriends_SteamFriends015_GetClanByIndex_params struct ISteamFriends_SteamFriends015_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends015_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -32470,7 +32470,7 @@ struct ISteamFriends_SteamFriends015_ClearRichPresence_params struct ISteamFriends_SteamFriends015_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -32485,7 +32485,7 @@ struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -32673,7 +32673,7 @@ struct ISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params struct ISteamFriends_SteamFriends017_GetPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamFriends_SteamFriends017_SetPersonaName_params @@ -32721,7 +32721,7 @@ struct ISteamFriends_SteamFriends017_GetFriendPersonaState_params struct ISteamFriends_SteamFriends017_GetFriendPersonaName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; }; @@ -32736,7 +32736,7 @@ struct ISteamFriends_SteamFriends017_GetFriendGamePlayed_params struct ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iPersonaName; }; @@ -32751,7 +32751,7 @@ struct ISteamFriends_SteamFriends017_GetFriendSteamLevel_params struct ISteamFriends_SteamFriends017_GetPlayerNickname_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDPlayer; }; @@ -32771,7 +32771,7 @@ struct ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params struct ISteamFriends_SteamFriends017_GetFriendsGroupName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; int16_t friendsGroupID; }; @@ -32814,14 +32814,14 @@ struct ISteamFriends_SteamFriends017_GetClanByIndex_params struct ISteamFriends_SteamFriends017_GetClanName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; struct ISteamFriends_SteamFriends017_GetClanTag_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDClan; }; @@ -32992,7 +32992,7 @@ struct ISteamFriends_SteamFriends017_ClearRichPresence_params struct ISteamFriends_SteamFriends017_GetFriendRichPresence_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; const char *pchKey; }; @@ -33007,7 +33007,7 @@ struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDFriend; int32_t iKey; }; @@ -33235,7 +33235,7 @@ struct ISteamFriends_SteamFriends017_BHasEquippedProfileItem_params struct ISteamFriends_SteamFriends017_GetProfileItemPropertyString_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamID; uint32_t itemType; uint32_t prop; @@ -36584,14 +36584,14 @@ struct ISteamInput_SteamInput001_GetAnalogActionOrigins_params struct ISteamInput_SteamInput001_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput001_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -36677,14 +36677,14 @@ struct ISteamInput_SteamInput001_GetGamepadIndexForController_params struct ISteamInput_SteamInput001_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput001_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -36846,14 +36846,14 @@ struct ISteamInput_SteamInput002_GetAnalogActionOrigins_params struct ISteamInput_SteamInput002_GetGlyphForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput002_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -36939,14 +36939,14 @@ struct ISteamInput_SteamInput002_GetGamepadIndexForController_params struct ISteamInput_SteamInput002_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput002_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -37117,7 +37117,7 @@ struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t eActionHandle; }; @@ -37149,7 +37149,7 @@ struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; uint32_t eSize; uint32_t unFlags; @@ -37158,7 +37158,7 @@ struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; uint32_t unFlags; }; @@ -37166,21 +37166,21 @@ struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params struct ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput005_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t eActionHandle; }; @@ -37287,14 +37287,14 @@ struct ISteamInput_SteamInput005_GetGamepadIndexForController_params struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput005_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -37471,7 +37471,7 @@ struct ISteamInput_SteamInput006_GetDigitalActionOrigins_params struct ISteamInput_SteamInput006_GetStringForDigitalActionName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t eActionHandle; }; @@ -37503,7 +37503,7 @@ struct ISteamInput_SteamInput006_GetAnalogActionOrigins_params struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; uint32_t eSize; uint32_t unFlags; @@ -37512,7 +37512,7 @@ struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; uint32_t unFlags; }; @@ -37520,21 +37520,21 @@ struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params struct ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput006_GetStringForActionOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput006_GetStringForAnalogActionName_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint64_t eActionHandle; }; @@ -37641,14 +37641,14 @@ struct ISteamInput_SteamInput006_GetGamepadIndexForController_params struct ISteamInput_SteamInput006_GetStringForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; struct ISteamInput_SteamInput006_GetGlyphForXboxOrigin_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eOrigin; }; @@ -38039,7 +38039,7 @@ struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID SteamIDLobby; const char *pchKey; }; @@ -38056,7 +38056,7 @@ struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -38197,7 +38197,7 @@ struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -38214,7 +38214,7 @@ struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -38383,7 +38383,7 @@ struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -38400,7 +38400,7 @@ struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -38607,7 +38607,7 @@ struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -38624,7 +38624,7 @@ struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -38831,7 +38831,7 @@ struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -38848,7 +38848,7 @@ struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -39075,7 +39075,7 @@ struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -39092,7 +39092,7 @@ struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -39314,7 +39314,7 @@ struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -39358,7 +39358,7 @@ struct ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -39608,7 +39608,7 @@ struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -39652,7 +39652,7 @@ struct ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -39908,7 +39908,7 @@ struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; const char *pchKey; }; @@ -39952,7 +39952,7 @@ struct ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; CSteamID steamIDLobby; CSteamID steamIDUser; const char *pchKey; @@ -43951,7 +43951,7 @@ struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; uint32_t eValue; uint32_t *pOutDataType; uint32_t *pOutScope; @@ -47352,7 +47352,7 @@ struct ISteamUtils_SteamUtils002_GetServerRealTime_params struct ISteamUtils_SteamUtils002_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils002_GetImageSize_params @@ -47452,7 +47452,7 @@ struct ISteamUtils_SteamUtils004_GetServerRealTime_params struct ISteamUtils_SteamUtils004_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils004_GetImageSize_params @@ -47575,7 +47575,7 @@ struct ISteamUtils_SteamUtils005_GetServerRealTime_params struct ISteamUtils_SteamUtils005_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils005_GetImageSize_params @@ -47735,7 +47735,7 @@ struct ISteamUtils_SteamUtils006_GetServerRealTime_params struct ISteamUtils_SteamUtils006_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils006_GetImageSize_params @@ -47871,7 +47871,7 @@ struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params struct ISteamUtils_SteamUtils006_GetSteamUILanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils006_IsSteamRunningInVR_params @@ -47907,7 +47907,7 @@ struct ISteamUtils_SteamUtils007_GetServerRealTime_params struct ISteamUtils_SteamUtils007_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils007_GetImageSize_params @@ -48044,7 +48044,7 @@ struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params struct ISteamUtils_SteamUtils007_GetSteamUILanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils007_IsSteamRunningInVR_params @@ -48087,7 +48087,7 @@ struct ISteamUtils_SteamUtils008_GetServerRealTime_params struct ISteamUtils_SteamUtils008_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils008_GetImageSize_params @@ -48224,7 +48224,7 @@ struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params struct ISteamUtils_SteamUtils008_GetSteamUILanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils008_IsSteamRunningInVR_params @@ -48278,7 +48278,7 @@ struct ISteamUtils_SteamUtils009_GetServerRealTime_params struct ISteamUtils_SteamUtils009_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils009_GetImageSize_params @@ -48415,7 +48415,7 @@ struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params struct ISteamUtils_SteamUtils009_GetSteamUILanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils009_IsSteamRunningInVR_params @@ -48510,7 +48510,7 @@ struct ISteamUtils_SteamUtils010_GetServerRealTime_params struct ISteamUtils_SteamUtils010_GetIPCountry_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils010_GetImageSize_params @@ -48647,7 +48647,7 @@ struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params struct ISteamUtils_SteamUtils010_GetSteamUILanguage_params { struct u_iface u_iface; - const char *_ret; + struct u_buffer _ret; }; struct ISteamUtils_SteamUtils010_IsSteamRunningInVR_params diff --git a/lsteamclient/winISteamApps.c b/lsteamclient/winISteamApps.c index 2ec2ec83..60e4a46b 100644 --- a/lsteamclient/winISteamApps.c +++ b/lsteamclient/winISteamApps.c @@ -100,7 +100,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(struct w_iface *_this) @@ -111,7 +111,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -212,7 +212,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(struct w_iface *_this) @@ -223,7 +223,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -343,7 +343,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(struct w_iface *_this) @@ -354,7 +354,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -558,7 +558,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(struct w_iface *_this) @@ -569,7 +569,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -856,7 +856,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(struct w_iface *_this) @@ -867,7 +867,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -1064,7 +1064,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQu TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable; @@ -1184,7 +1184,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(struct w_iface *_this) @@ -1195,7 +1195,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -1392,7 +1392,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQu TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(struct w_iface *_this, uint32_t nAppID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) @@ -1548,7 +1548,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentG }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(struct w_iface *_this) @@ -1559,7 +1559,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailabl }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(struct w_iface *_this, uint32_t appID) @@ -1756,7 +1756,7 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQu TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(struct w_iface *_this, uint32_t nAppID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) diff --git a/lsteamclient/winISteamClient.c b/lsteamclient/winISteamClient.c index ceceb1e9..542bd237 100644 --- a/lsteamclient/winISteamClient.c +++ b/lsteamclient/winISteamClient.c @@ -159,7 +159,7 @@ const char * __thiscall winISteamClient_SteamClient006_GetUniverseName(struct w_ }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetUniverseName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient006_GetISteamFriends(struct w_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) diff --git a/lsteamclient/winISteamController.c b/lsteamclient/winISteamController.c index dbb833fd..001dca79 100644 --- a/lsteamclient/winISteamController.c +++ b/lsteamclient/winISteamController.c @@ -1078,7 +1078,7 @@ const char * __thiscall winISteamController_SteamController005_GetStringForActio }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController005_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } extern vtable_ptr winISteamController_SteamController005_vtable; @@ -1529,7 +1529,7 @@ const char * __thiscall winISteamController_SteamController006_GetStringForActio }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController006_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamController_SteamController006_GetInputTypeForHandle(struct w_iface *_this, uint64_t controllerHandle) @@ -1850,7 +1850,7 @@ const char * __thiscall winISteamController_SteamController007_GetStringForActio }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController007_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamController_SteamController007_StopAnalogActionMomentum(struct w_iface *_this, uint64_t controllerHandle, uint64_t eAction) @@ -1992,7 +1992,7 @@ const char * __thiscall winISteamController_SteamController007_GetStringForXboxO }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController007_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamController_SteamController007_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t controllerHandle, uint32_t eOrigin) @@ -2344,7 +2344,7 @@ const char * __thiscall winISteamController_SteamController008_GetStringForActio }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController008_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamController_SteamController008_StopAnalogActionMomentum(struct w_iface *_this, uint64_t controllerHandle, uint64_t eAction) @@ -2486,7 +2486,7 @@ const char * __thiscall winISteamController_SteamController008_GetStringForXboxO }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamController_SteamController008_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamController_SteamController008_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t controllerHandle, uint32_t eOrigin) diff --git a/lsteamclient/winISteamFriends.c b/lsteamclient/winISteamFriends.c index 8fec13d1..5b1d34d5 100644 --- a/lsteamclient/winISteamFriends.c +++ b/lsteamclient/winISteamFriends.c @@ -39,7 +39,7 @@ const char * __thiscall winISteamFriends_SteamFriends001_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends001_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -160,7 +160,7 @@ const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends001_AddFriendByName(struct w_iface *_this, const char *pchEmailOrAccountName) @@ -240,7 +240,7 @@ const char * __thiscall winISteamFriends_SteamFriends001_GetFriendRegValue(struc TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendRegValue, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(struct w_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) @@ -253,7 +253,7 @@ const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends001_GetChatMessage(struct w_iface *_this, CSteamID steamIDFriend, int32_t iChatID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) @@ -461,7 +461,7 @@ const char * __thiscall winISteamFriends_SteamFriends002_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends002_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -557,7 +557,7 @@ const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends002_SetFriendRegValue(struct w_iface *_this, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) @@ -586,7 +586,7 @@ const char * __thiscall winISteamFriends_SteamFriends002_GetFriendRegValue(struc TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendRegValue, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends002_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort, uint16_t *pusQueryPort) @@ -615,7 +615,7 @@ const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends002_AddFriend(struct w_iface *_this, CSteamID steamIDFriend) @@ -780,7 +780,7 @@ const char * __thiscall winISteamFriends_SteamFriends002_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends002_InviteFriendToClan(struct w_iface *_this, CSteamID steamIDFriend, CSteamID steamIDClan) @@ -912,7 +912,7 @@ const char * __thiscall winISteamFriends_SteamFriends003_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends003_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -997,7 +997,7 @@ const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends003_GetFriendAvatar(struct w_iface *_this, CSteamID steamIDFriend) @@ -1038,7 +1038,7 @@ const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends003_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -1087,7 +1087,7 @@ const char * __thiscall winISteamFriends_SteamFriends003_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends003_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -1220,7 +1220,7 @@ const char * __thiscall winISteamFriends_SteamFriends004_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends004_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -1305,7 +1305,7 @@ const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends004_GetFriendAvatar(struct w_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) @@ -1347,7 +1347,7 @@ const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends004_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -1396,7 +1396,7 @@ const char * __thiscall winISteamFriends_SteamFriends004_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends004_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -1533,7 +1533,7 @@ const char * __thiscall winISteamFriends_SteamFriends005_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends005_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -1618,7 +1618,7 @@ const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends005_GetFriendAvatar(struct w_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) @@ -1657,7 +1657,7 @@ const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends005_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -1706,7 +1706,7 @@ const char * __thiscall winISteamFriends_SteamFriends005_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends005_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -1896,7 +1896,7 @@ const char * __thiscall winISteamFriends_SteamFriends006_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends006_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -1981,7 +1981,7 @@ const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends006_GetFriendAvatar(struct w_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) @@ -2020,7 +2020,7 @@ const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends006_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -2069,7 +2069,7 @@ const char * __thiscall winISteamFriends_SteamFriends006_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends006_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -2081,7 +2081,7 @@ const char * __thiscall winISteamFriends_SteamFriends006_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends006_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -2286,7 +2286,7 @@ const char * __thiscall winISteamFriends_SteamFriends007_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends007_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -2371,7 +2371,7 @@ const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends007_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -2397,7 +2397,7 @@ const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends007_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -2446,7 +2446,7 @@ const char * __thiscall winISteamFriends_SteamFriends007_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends007_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -2458,7 +2458,7 @@ const char * __thiscall winISteamFriends_SteamFriends007_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends007_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -2707,7 +2707,7 @@ const char * __thiscall winISteamFriends_SteamFriends008_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends008_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -2792,7 +2792,7 @@ const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends008_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -2818,7 +2818,7 @@ const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends008_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -2867,7 +2867,7 @@ const char * __thiscall winISteamFriends_SteamFriends008_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends008_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -2879,7 +2879,7 @@ const char * __thiscall winISteamFriends_SteamFriends008_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends008_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -3219,7 +3219,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends009_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -3304,7 +3304,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends009_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -3330,7 +3330,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends009_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -3379,7 +3379,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends009_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -3391,7 +3391,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCountFromSource(struct w_iface *_this, CSteamID steamIDSource) @@ -3662,7 +3662,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -3687,7 +3687,7 @@ const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends009_InviteUserToGame(struct w_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) @@ -3882,7 +3882,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends010_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -3967,7 +3967,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends010_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -3993,7 +3993,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends010_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -4042,7 +4042,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends010_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -4054,7 +4054,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends010_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -4353,7 +4353,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -4378,7 +4378,7 @@ const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends010_InviteUserToGame(struct w_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) @@ -4764,7 +4764,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends011_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -4849,7 +4849,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends011_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -4875,7 +4875,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends011_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -4924,7 +4924,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends011_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -4936,7 +4936,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends011_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -5235,7 +5235,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -5260,7 +5260,7 @@ const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends011_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -5697,7 +5697,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamFriends_SteamFriends012_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -5783,7 +5783,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends012_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -5809,7 +5809,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends012_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -5858,7 +5858,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends012_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -5870,7 +5870,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends012_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -6169,7 +6169,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -6194,7 +6194,7 @@ const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends012_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -6631,7 +6631,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamFriends_SteamFriends013_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -6717,7 +6717,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends013_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -6743,7 +6743,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends013_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -6792,7 +6792,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends013_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -6804,7 +6804,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends013_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -7104,7 +7104,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -7129,7 +7129,7 @@ const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends013_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -7567,7 +7567,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamFriends_SteamFriends014_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -7653,7 +7653,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends014_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -7679,7 +7679,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends014_GetPlayerNickname(struct w_iface *_this, CSteamID steamIDPlayer) @@ -7691,7 +7691,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetPlayerNickname(struc }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetPlayerNickname, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends014_HasFriend(struct w_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) @@ -7740,7 +7740,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends014_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -7752,7 +7752,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends014_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -8052,7 +8052,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -8077,7 +8077,7 @@ const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends014_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -8524,7 +8524,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamFriends_SteamFriends015_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -8610,7 +8610,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends015_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -8636,7 +8636,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendSteamLevel(struct w_iface *_this, CSteamID steamIDFriend) @@ -8660,7 +8660,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetPlayerNickname(struc }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetPlayerNickname, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupCount(struct w_iface *_this) @@ -8695,7 +8695,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupName(str }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(struct w_iface *_this, int16_t friendsGroupID) @@ -8769,7 +8769,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends015_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -8781,7 +8781,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends015_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -9081,7 +9081,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -9106,7 +9106,7 @@ const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends015_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -9593,7 +9593,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetPersonaName(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamFriends_SteamFriends017_SetPersonaName(struct w_iface *_this, const char *pchPersonaName) @@ -9679,7 +9679,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaName(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendPersonaName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends017_GetFriendGamePlayed(struct w_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) @@ -9705,7 +9705,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaNameHis }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendSteamLevel(struct w_iface *_this, CSteamID steamIDFriend) @@ -9729,7 +9729,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetPlayerNickname(struc }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetPlayerNickname, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupCount(struct w_iface *_this) @@ -9764,7 +9764,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupName(str }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(struct w_iface *_this, int16_t friendsGroupID) @@ -9838,7 +9838,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetClanName(struct w_if }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamFriends_SteamFriends017_GetClanTag(struct w_iface *_this, CSteamID steamIDClan) @@ -9850,7 +9850,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetClanTag(struct w_ifa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanTag, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamFriends_SteamFriends017_GetClanActivityCounts(struct w_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) @@ -10151,7 +10151,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresence(s TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRichPresence, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(struct w_iface *_this, CSteamID steamIDFriend) @@ -10176,7 +10176,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKe }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamFriends_SteamFriends017_RequestFriendRichPresence(struct w_iface *_this, CSteamID steamIDFriend) @@ -10567,7 +10567,7 @@ const char * __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetProfileItemPropertyString, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyUint(struct w_iface *_this, CSteamID steamID, uint32_t itemType, uint32_t prop) diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 170ae59c..a66d046c 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -261,7 +261,7 @@ const char * __thiscall winISteamInput_SteamInput001_GetStringForActionOrigin(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamInput_SteamInput001_StopAnalogActionMomentum(struct w_iface *_this, uint64_t inputHandle, uint64_t eAction) @@ -403,7 +403,7 @@ const char * __thiscall winISteamInput_SteamInput001_GetStringForXboxOrigin(stru }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t inputHandle, uint32_t eOrigin) @@ -769,7 +769,7 @@ const char * __thiscall winISteamInput_SteamInput002_GetStringForActionOrigin(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamInput_SteamInput002_StopAnalogActionMomentum(struct w_iface *_this, uint64_t inputHandle, uint64_t eAction) @@ -911,7 +911,7 @@ const char * __thiscall winISteamInput_SteamInput002_GetStringForXboxOrigin(stru }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t inputHandle, uint32_t eOrigin) @@ -1307,7 +1307,7 @@ const char * __thiscall winISteamInput_SteamInput005_GetStringForDigitalActionNa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForDigitalActionName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamInput_SteamInput005_GetAnalogActionHandle(struct w_iface *_this, const char *pszActionName) @@ -1361,7 +1361,7 @@ const char * __thiscall winISteamInput_SteamInput005_GetStringForActionOrigin(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionName(struct w_iface *_this, uint64_t eActionHandle) @@ -1373,7 +1373,7 @@ const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionNam }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForAnalogActionName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamInput_SteamInput005_StopAnalogActionMomentum(struct w_iface *_this, uint64_t inputHandle, uint64_t eAction) @@ -1546,7 +1546,7 @@ const char * __thiscall winISteamInput_SteamInput005_GetStringForXboxOrigin(stru }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t inputHandle, uint32_t eOrigin) @@ -1966,7 +1966,7 @@ const char * __thiscall winISteamInput_SteamInput006_GetStringForDigitalActionNa }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForDigitalActionName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamInput_SteamInput006_GetAnalogActionHandle(struct w_iface *_this, const char *pszActionName) @@ -2020,7 +2020,7 @@ const char * __thiscall winISteamInput_SteamInput006_GetStringForActionOrigin(st }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForActionOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } const char * __thiscall winISteamInput_SteamInput006_GetStringForAnalogActionName(struct w_iface *_this, uint64_t eActionHandle) @@ -2032,7 +2032,7 @@ const char * __thiscall winISteamInput_SteamInput006_GetStringForAnalogActionNam }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForAnalogActionName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamInput_SteamInput006_StopAnalogActionMomentum(struct w_iface *_this, uint64_t inputHandle, uint64_t eAction) @@ -2205,7 +2205,7 @@ const char * __thiscall winISteamInput_SteamInput006_GetStringForXboxOrigin(stru }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForXboxOrigin, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(struct w_iface *_this, uint64_t inputHandle, uint32_t eOrigin) diff --git a/lsteamclient/winISteamMatchmaking.c b/lsteamclient/winISteamMatchmaking.c index db003a97..d9d2a2e3 100644 --- a/lsteamclient/winISteamMatchmaking.c +++ b/lsteamclient/winISteamMatchmaking.c @@ -246,7 +246,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -277,7 +277,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -568,7 +568,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -599,7 +599,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -947,7 +947,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -978,7 +978,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -1396,7 +1396,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -1427,7 +1427,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -1849,7 +1849,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -1880,7 +1880,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -2334,7 +2334,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -2365,7 +2365,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -2812,7 +2812,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -2886,7 +2886,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -3389,7 +3389,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -3463,7 +3463,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -3981,7 +3981,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyData(st TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) @@ -4055,7 +4055,7 @@ const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberD TRACE("%p\n", _this); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(struct w_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) diff --git a/lsteamclient/winISteamNetworkingUtils.c b/lsteamclient/winISteamNetworkingUtils.c index 7baafaf1..fc55e72a 100644 --- a/lsteamclient/winISteamNetworkingUtils.c +++ b/lsteamclient/winISteamNetworkingUtils.c @@ -1283,7 +1283,7 @@ const char * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConf }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(struct w_iface *_this, uint32_t eCurrent, int8_t bEnumerateDevVars) diff --git a/lsteamclient/winISteamRemotePlay.c b/lsteamclient/winISteamRemotePlay.c index b6d6fac3..3324c089 100644 --- a/lsteamclient/winISteamRemotePlay.c +++ b/lsteamclient/winISteamRemotePlay.c @@ -56,7 +56,7 @@ const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(struct w_iface *_this, uint32_t unSessionID) @@ -176,7 +176,7 @@ const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(struct w_iface *_this, uint32_t unSessionID) diff --git a/lsteamclient/winISteamRemoteStorage.c b/lsteamclient/winISteamRemoteStorage.c index ed5a5546..e88a8c11 100644 --- a/lsteamclient/winISteamRemoteStorage.c +++ b/lsteamclient/winISteamRemoteStorage.c @@ -102,7 +102,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -229,7 +229,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -433,7 +433,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -777,7 +777,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -1132,7 +1132,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -1639,7 +1639,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -2381,7 +2381,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -3181,7 +3181,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -3985,7 +3985,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -4791,7 +4791,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -5614,7 +5614,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -6438,7 +6438,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -7310,7 +7310,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(struct w_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) @@ -8185,7 +8185,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(struct w_iface *_this, uint64_t *pnTotalBytes, uint64_t *puAvailableBytes) @@ -9064,7 +9064,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(struct w_iface *_this, uint64_t *pnTotalBytes, uint64_t *puAvailableBytes) @@ -9568,7 +9568,7 @@ const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(struct w_iface *_this) diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index bc984ed6..85d5534b 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -48,7 +48,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(struct w_iface *_this, CGameID nGameID, const char *pchName) @@ -87,7 +87,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(struct w_iface *_this, CGameID nGameID) @@ -112,7 +112,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(struct w_iface *_this, CGameID nGameID) @@ -328,7 +328,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable; @@ -412,7 +412,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(struct w_iface *_this, CGameID nGameID, const char *pchName) @@ -451,7 +451,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(struct w_iface *_this, CGameID nGameID) @@ -624,7 +624,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(struct w_iface *_this, CGameID nGameID, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -851,7 +851,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -1076,7 +1076,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -1372,7 +1372,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -1496,7 +1496,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -1813,7 +1813,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -1937,7 +1937,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -2284,7 +2284,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -2424,7 +2424,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -2774,7 +2774,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -2914,7 +2914,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -3279,7 +3279,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -3419,7 +3419,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -3808,7 +3808,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -3948,7 +3948,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -4474,7 +4474,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -4512,7 +4512,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(struct w_iface *_this, CSteamID steamIDUser) @@ -4637,7 +4637,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) @@ -5167,7 +5167,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_G IsBadStringPtrA(pchName, -1); IsBadStringPtrA(pchKey, -1); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(struct w_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) @@ -5205,7 +5205,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(struct w_iface *_this, CSteamID steamIDUser) @@ -5330,7 +5330,7 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_G }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(struct w_iface *_this, uint64_t hSteamLeaderboard) diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index 0d80639e..6f09ace1 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -70,7 +70,7 @@ const char * __thiscall winISteamUtils_SteamUtils002_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils002_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -291,7 +291,7 @@ const char * __thiscall winISteamUtils_SteamUtils004_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils004_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -564,7 +564,7 @@ const char * __thiscall winISteamUtils_SteamUtils005_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils005_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -908,7 +908,7 @@ const char * __thiscall winISteamUtils_SteamUtils006_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils006_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -1141,7 +1141,7 @@ const char * __thiscall winISteamUtils_SteamUtils006_GetSteamUILanguage(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetSteamUILanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(struct w_iface *_this) @@ -1277,7 +1277,7 @@ const char * __thiscall winISteamUtils_SteamUtils007_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils007_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -1512,7 +1512,7 @@ const char * __thiscall winISteamUtils_SteamUtils007_GetSteamUILanguage(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetSteamUILanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils007_IsSteamRunningInVR(struct w_iface *_this) @@ -1663,7 +1663,7 @@ const char * __thiscall winISteamUtils_SteamUtils008_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils008_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -1898,7 +1898,7 @@ const char * __thiscall winISteamUtils_SteamUtils008_GetSteamUILanguage(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetSteamUILanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils008_IsSteamRunningInVR(struct w_iface *_this) @@ -2078,7 +2078,7 @@ const char * __thiscall winISteamUtils_SteamUtils009_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils009_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -2313,7 +2313,7 @@ const char * __thiscall winISteamUtils_SteamUtils009_GetSteamUILanguage(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetSteamUILanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils009_IsSteamRunningInVR(struct w_iface *_this) @@ -2576,7 +2576,7 @@ const char * __thiscall winISteamUtils_SteamUtils010_GetIPCountry(struct w_iface }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetIPCountry, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils010_GetImageSize(struct w_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) @@ -2811,7 +2811,7 @@ const char * __thiscall winISteamUtils_SteamUtils010_GetSteamUILanguage(struct w }; TRACE("%p\n", _this); STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetSteamUILanguage, ¶ms ); - return params._ret; + return get_unix_buffer( params._ret ); } int8_t __thiscall winISteamUtils_SteamUtils010_IsSteamRunningInVR(struct w_iface *_this)