lsteamclient: Call struct converters

This commit is contained in:
Andrew Eikum 2018-10-29 11:21:49 -05:00
parent ab30d847d9
commit c7d6c1f18b
50 changed files with 630 additions and 105 deletions

View file

@ -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)