mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
lsteamclient: Call struct converters
This commit is contained in:
@@ -22,7 +22,11 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(vo
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails)
|
||||
{
|
||||
return ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, (SteamUGCDetails_t *)pDetails);
|
||||
SteamUGCDetails_t lin_pDetails;
|
||||
win_to_lin_struct_SteamUGCDetails_t_128(pDetails, &lin_pDetails);
|
||||
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_128(&lin_pDetails, pDetails);
|
||||
return retval;
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle)
|
||||
|
||||
Reference in New Issue
Block a user