lsteamclient: Move dos to unix path conversion to the unix side.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-10-02 23:20:43 +02:00
parent bc037e3e86
commit 979c06ad9b
58 changed files with 575 additions and 567 deletions

View File

@ -205,7 +205,9 @@ NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( void *args )
{
struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *)args;
struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->GetFileDetails( params->pszFileName );
char *u_pszFileName = steamclient_dos_to_unix_path( params->pszFileName, 0 );
params->_ret = iface->GetFileDetails( u_pszFileName );
steamclient_free_path( u_pszFileName );
return 0;
}

View File

@ -5,7 +5,9 @@ NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( void *args )
{
struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *)args;
struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side;
params->_ret = iface->Init( params->pchAbsolutePathToControllerConfigVDF );
char *u_pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( params->pchAbsolutePathToControllerConfigVDF, 0 );
params->_ret = iface->Init( u_pchAbsolutePathToControllerConfigVDF );
steamclient_free_path( u_pchAbsolutePathToControllerConfigVDF );
return 0;
}

View File

@ -37,7 +37,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( void
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side;
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData );
steamclient_free_path( u_pchURL );
return 0;
}
@ -255,7 +257,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialog
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side;
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles );
iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles );
steamclient_free_path_array( u_pchSelectedFiles );
return 0;
}

View File

@ -37,7 +37,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( void
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side;
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData );
steamclient_free_path( u_pchURL );
return 0;
}
@ -271,7 +273,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialog
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side;
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles );
iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles );
steamclient_free_path_array( u_pchSelectedFiles );
return 0;
}

View File

@ -37,7 +37,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( void
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side;
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData );
steamclient_free_path( u_pchURL );
return 0;
}
@ -279,7 +281,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialog
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side;
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles );
iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles );
steamclient_free_path_array( u_pchSelectedFiles );
return 0;
}

View File

@ -37,7 +37,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( void
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData );
steamclient_free_path( u_pchURL );
return 0;
}
@ -287,7 +289,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialog
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles );
iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles );
steamclient_free_path_array( u_pchSelectedFiles );
return 0;
}

View File

@ -37,7 +37,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( void
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side;
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData );
steamclient_free_path( u_pchURL );
return 0;
}
@ -295,7 +297,9 @@ NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialog
{
struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *)args;
struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side;
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles );
iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles );
steamclient_free_path_array( u_pchSelectedFiles );
return 0;
}

View File

@ -21,7 +21,9 @@ NTSTATUS ISteamInput_SteamInput005_SetInputActionManifestFilePath( void *args )
{
struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *)args;
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->SetInputActionManifestFilePath( params->pchInputActionManifestAbsolutePath );
char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( params->pchInputActionManifestAbsolutePath, 0 );
params->_ret = iface->SetInputActionManifestFilePath( u_pchInputActionManifestAbsolutePath );
steamclient_free_path( u_pchInputActionManifestAbsolutePath );
return 0;
}

View File

@ -21,7 +21,9 @@ NTSTATUS ISteamInput_SteamInput006_SetInputActionManifestFilePath( void *args )
{
struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *)args;
struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side;
params->_ret = iface->SetInputActionManifestFilePath( params->pchInputActionManifestAbsolutePath );
char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( params->pchInputActionManifestAbsolutePath, 0 );
params->_ret = iface->SetInputActionManifestFilePath( u_pchInputActionManifestAbsolutePath );
steamclient_free_path( u_pchInputActionManifestAbsolutePath );
return 0;
}

View File

@ -189,7 +189,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->pTags );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->pTags );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}

View File

@ -189,7 +189,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -205,7 +209,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -213,7 +219,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -349,7 +357,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->PublishVideo( params->pchVideoURL, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->pchVideoURL, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}

View File

@ -189,7 +189,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -205,7 +209,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -213,7 +219,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -349,7 +357,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}

View File

@ -221,7 +221,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -237,7 +241,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -245,7 +251,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -381,7 +389,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}

View File

@ -221,7 +221,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -237,7 +241,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -245,7 +251,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -381,7 +389,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}

View File

@ -221,7 +221,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -237,7 +241,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -245,7 +251,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -381,7 +389,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -413,7 +423,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -221,7 +221,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -237,7 +241,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -245,7 +251,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -381,7 +389,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -413,7 +423,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -221,7 +221,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -237,7 +241,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -245,7 +251,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -381,7 +389,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -413,7 +423,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -245,7 +245,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -261,7 +265,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -269,7 +275,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -405,7 +413,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -437,7 +447,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -245,7 +245,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -261,7 +265,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -269,7 +275,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -405,7 +413,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -437,7 +447,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -245,7 +245,11 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWork
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->PublishWorkshopFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType );
steamclient_free_path( u_pchFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -261,7 +265,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, params->pchFile );
char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 );
params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile );
steamclient_free_path( u_pchFile );
return 0;
}
@ -269,7 +275,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePubli
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, params->pchPreviewFile );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -405,7 +413,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVide
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 );
params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags );
steamclient_free_path( u_pchPreviewFile );
return 0;
}
@ -437,7 +447,9 @@ NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload
{
struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *)args;
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->UGCDownloadToLocation( params->hContent, params->pchLocation, params->unPriority );
char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 );
params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority );
steamclient_free_path( u_pchLocation );
return 0;
}

View File

@ -13,7 +13,11 @@ NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotTo
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->AddScreenshotToLibrary( params->pchFilename, params->pchThumbnailFilename, params->nWidth, params->nHeight );
char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 );
char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 );
params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight );
steamclient_free_path( u_pchFilename );
steamclient_free_path( u_pchThumbnailFilename );
return 0;
}

View File

@ -13,7 +13,11 @@ NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotTo
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->AddScreenshotToLibrary( params->pchFilename, params->pchThumbnailFilename, params->nWidth, params->nHeight );
char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 );
char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 );
params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight );
steamclient_free_path( u_pchFilename );
steamclient_free_path( u_pchThumbnailFilename );
return 0;
}

View File

@ -13,7 +13,11 @@ NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotTo
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
params->_ret = iface->AddScreenshotToLibrary( params->pchFilename, params->pchThumbnailFilename, params->nWidth, params->nHeight );
char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 );
char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 );
params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight );
steamclient_free_path( u_pchFilename );
steamclient_free_path( u_pchThumbnailFilename );
return 0;
}
@ -69,7 +73,11 @@ NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshot
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
params->_ret = iface->AddVRScreenshotToLibrary( params->eType, params->pchFilename, params->pchVRFilename );
char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 );
char *u_pchVRFilename = steamclient_dos_to_unix_path( params->pchVRFilename, 0 );
params->_ret = iface->AddVRScreenshotToLibrary( params->eType, u_pchFilename, u_pchVRFilename );
steamclient_free_path( u_pchFilename );
steamclient_free_path( u_pchVRFilename );
return 0;
}

View File

@ -175,7 +175,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -183,7 +185,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}

View File

@ -175,7 +175,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -183,7 +185,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}

View File

@ -175,7 +175,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -183,7 +185,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}

View File

@ -263,7 +263,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -271,7 +273,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}

View File

@ -279,7 +279,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -287,7 +289,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}

View File

@ -311,7 +311,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -319,7 +321,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -455,7 +459,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -311,7 +311,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -319,7 +321,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -343,7 +347,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -359,7 +365,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -495,7 +503,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -319,7 +319,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -327,7 +329,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -351,7 +355,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -367,7 +373,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -503,7 +511,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -327,7 +327,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -335,7 +337,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -359,7 +363,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -375,7 +381,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -511,7 +519,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -335,7 +335,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -343,7 +345,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -375,7 +379,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -391,7 +397,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -527,7 +535,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -343,7 +343,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -351,7 +353,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -391,7 +395,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -407,7 +413,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -543,7 +551,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -351,7 +351,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -359,7 +361,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -399,7 +403,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -415,7 +421,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -551,7 +559,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -375,7 +375,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -383,7 +385,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -423,7 +427,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -439,7 +445,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -575,7 +583,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -391,7 +391,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -399,7 +401,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -439,7 +443,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -455,7 +461,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -591,7 +599,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -399,7 +399,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -407,7 +409,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -447,7 +451,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -463,7 +469,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -615,7 +623,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -399,7 +399,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side;
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
steamclient_free_path( u_pszContentFolder );
return 0;
}
@ -407,7 +409,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( void *args )
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side;
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -447,7 +451,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( void *args
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side;
params->_ret = iface->AddItemPreviewFile( params->handle, params->pszPreviewFile, params->type );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -463,7 +469,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( void *ar
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side;
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, params->pszPreviewFile );
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile );
steamclient_free_path( u_pszPreviewFile );
return 0;
}
@ -615,7 +623,9 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( voi
{
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *)args;
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side;
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, params->pszFolder );
char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 );
params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder );
steamclient_free_path( u_pszFolder );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils005_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils005_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils005_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils006_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils006_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils006_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils007_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils007_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils007_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils008_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils008_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils008_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils009_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils009_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils009_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -150,7 +150,9 @@ NTSTATUS ISteamUtils_SteamUtils010_CheckFileSignature( void *args )
{
struct ISteamUtils_SteamUtils010_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils010_CheckFileSignature_params *)args;
struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
params->_ret = iface->CheckFileSignature( u_szFileName );
steamclient_free_path( u_szFileName );
return 0;
}

View File

@ -931,6 +931,14 @@ def handle_method_cpp(method, classname, out):
if underlying_typename(param) not in SIZED_STRUCTS | EXEMPT_STRUCTS:
print('Warning:', underlying_typename(param), name, 'following', prev_name)
path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.name}_{method.spelling}', {})
for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()):
if conv['array']:
out(f' const char **u_{name} = steamclient_dos_to_unix_path_array( params->{name} );\n')
else:
out(f' char *u_{name} = steamclient_dos_to_unix_path( params->{name}, {int(conv["url"])} );\n')
need_output = {}
for name, param in sorted(need_convert.items()):
@ -969,6 +977,7 @@ def handle_method_cpp(method, classname, out):
pfx = '&' if param.type.kind == TypeKind.POINTER else ''
if name in need_convert: return f"{pfx}u_{name}"
if name in manual_convert: return f"u_{name}"
if name in path_conv_wtou: return f"u_{name}"
if name in need_wrapper: return f"u_{name}"
return f'params->{name}'
@ -986,6 +995,12 @@ def handle_method_cpp(method, classname, out):
for name, param in sorted(need_output.items()):
out(f' *params->{name} = u_{name};\n')
for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()):
if conv["array"]:
out(f' steamclient_free_path_array( u_{name} );\n')
else:
out(f' steamclient_free_path( u_{name} );\n')
out(u' return 0;\n')
out(u'}\n\n')
@ -1032,13 +1047,6 @@ def handle_method_c(klass, method, winclassname, out):
out(u' };\n')
path_conv_utow = PATH_CONV_METHODS_UTOW.get(f'{klass.name}_{method.spelling}', {})
path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.name}_{method.spelling}', {})
for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()):
if conv['array']:
out(f' params.{name} = steamclient_dos_to_unix_path_array( {name} );\n')
else:
out(f' params.{name} = steamclient_dos_to_unix_path( {name}, {int(conv["url"])} );\n')
out(u' TRACE("%p\\n", _this);\n')
@ -1057,12 +1065,6 @@ def handle_method_c(klass, method, winclassname, out):
out(u'params._ret = ')
out(f'steamclient_unix_path_to_dos_path( params._ret, {name}, {name}, {conv["len"]}, {int(conv["url"])} );\n')
for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()):
if conv["array"]:
out(f' steamclient_free_path_array( params.{name} );\n')
else:
out(f' steamclient_free_path( params.{name} );\n')
if not returns_void:
out(u' return params._ret;\n')
out(u'}\n\n')

View File

@ -114,123 +114,6 @@ unsigned int steamclient_unix_path_to_dos_path( bool api_result, const char *src
return r;
}
#define IS_ABSOLUTE(x) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':'))
const char *steamclient_dos_to_unix_path( const char *src, int is_url )
{
static const char file_prot[] = "file://";
char buffer[4096], *dst = buffer;
uint32_t len;
if (!src) return NULL;
*dst = 0;
if (!*src) goto done;
if(is_url){
if(strncmp(src, file_prot, 7) != 0){
strcpy(dst, src);
goto done;
}
src += 7;
memcpy(dst, file_prot, sizeof(file_prot));
dst += 7;
}
if(IS_ABSOLUTE(src)){
/* absolute path, use wine conversion */
WCHAR srcW[PATH_MAX];
char *unix_path;
uint32_t r;
r = MultiByteToWideChar(CP_UNIXCP, 0, src, -1, srcW, PATH_MAX);
if(r == 0)
return NULL;
unix_path = wine_get_unix_file_name(srcW);
if(!unix_path){
WARN("Unable to convert DOS filename to unix: %s\n", src);
return NULL;
}
lstrcpynA(dst, unix_path, PATH_MAX);
HeapFree(GetProcessHeap(), 0, unix_path);
}else{
/* relative path, just fix up backslashes */
const char *s;
char *d;
for(s = src, d = dst; *s; ++s, ++d){
if(*s == '\\')
*d = '/';
else
*d = *s;
}
*d = 0;
}
done:
len = strlen( buffer );
if (!(dst = HeapAlloc( GetProcessHeap(), 0, len + 1 ))) return NULL;
memcpy( dst, buffer, len + 1 );
return dst;
}
void steamclient_free_path( const char *path )
{
HeapFree( GetProcessHeap(), 0, (char *)path );
}
const char **steamclient_dos_to_unix_path_array( const char **src )
{
size_t len;
const char **s;
char **out, **o;
WCHAR scratch[PATH_MAX];
if(!src)
return NULL;
len = sizeof(char*); /* NUL */
for(s = src; *s; ++s)
len += sizeof(char*);
out = HeapAlloc(GetProcessHeap(), 0, len);
for(s = src, o = out; *s; ++s, ++o){
if(IS_ABSOLUTE(*s)){
MultiByteToWideChar(CP_UNIXCP, 0, *s, -1, scratch, sizeof(scratch)/sizeof(*scratch));
*o = wine_get_unix_file_name(scratch);
}else{
const char *r;
char *l;
*o = HeapAlloc(GetProcessHeap(), 0, strlen(*s) + 1);
for(r = *s, l = *o; *r; ++l, ++r){
if(*r == '\\')
*l = '/';
else
*l = *r;
}
*l = 0;
}
}
*o = NULL;
return (const char **)out;
}
void steamclient_free_path_array( const char **path_array )
{
const char **path;
if (!path_array) return;
for (path = path_array; *path; path++) HeapFree( GetProcessHeap(), 0, *(char **)path );
HeapFree( GetProcessHeap(), 0, path_array );
}
static BYTE *alloc_start, *alloc_end;
static bool allocated_from_steamclient_dll( void *ptr )

View File

@ -78,6 +78,11 @@ extern NTSTATUS steamclient_networking_messages_receive_153a( void * );
extern NTSTATUS steamclient_networking_message_release_147( void * );
extern NTSTATUS steamclient_networking_message_release_153a( void * );
extern char *steamclient_dos_to_unix_path( const char *src, int is_url );
extern void steamclient_free_path( char *path_array );
extern const char **steamclient_dos_to_unix_path_array( const char **src_array );
extern void steamclient_free_path_array( const char **path_array );
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */

View File

@ -1,5 +1,6 @@
#include "unix_private.h"
#include <winnls.h>
#include <pthread.h>
#include <stdlib.h>
#include <dlfcn.h>
@ -227,3 +228,125 @@ NTSTATUS steamclient_Steam_NotifyMissingInterface( void *args )
p_Steam_NotifyMissingInterface( params->pipe, params->version );
return 0;
}
#define IS_ABSOLUTE( x ) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':'))
char *steamclient_dos_to_unix_path( const char *src, int is_url )
{
static const char file_prot[] = "file://";
char buffer[4096], *dst = buffer;
uint32_t len;
if (!src) return NULL;
*dst = 0;
if (!*src) goto done;
if (is_url)
{
if (strncmp( src, file_prot, 7 ) != 0)
{
strcpy( dst, src );
goto done;
}
src += 7;
memcpy( dst, file_prot, sizeof(file_prot) );
dst += 7;
}
if (IS_ABSOLUTE( src ))
{
/* absolute path, use wine conversion */
WCHAR srcW[PATH_MAX] = {0};
char *unix_path;
uint32_t r;
r = MultiByteToWideChar( CP_UNIXCP, 0, src, -1, srcW, PATH_MAX );
if (r == 0) return NULL;
unix_path = wine_get_unix_file_name( srcW );
if (!unix_path)
{
WARN( "Unable to convert DOS filename to unix: %s\n", src );
return NULL;
}
lstrcpynA( dst, unix_path, PATH_MAX );
HeapFree( GetProcessHeap(), 0, unix_path );
}
else
{
/* relative path, just fix up backslashes */
const char *s;
char *d;
for (s = src, d = dst; *s; ++s, ++d)
{
if (*s == '\\') *d = '/';
else *d = *s;
}
*d = 0;
}
done:
len = strlen( buffer ) + 1;
if (!(dst = (char *)HeapAlloc( GetProcessHeap(), 0, len ))) return NULL;
memcpy( dst, buffer, len );
return dst;
}
void steamclient_free_path( char *path )
{
HeapFree( GetProcessHeap(), 0, path );
}
const char **steamclient_dos_to_unix_path_array( const char **src )
{
size_t len;
const char **s;
char **out, **o;
WCHAR scratch[PATH_MAX] = {0};
if (!src) return NULL;
len = sizeof(char *); /* NUL */
for (s = src; *s; ++s) len += sizeof(char *);
out = (char **)HeapAlloc( GetProcessHeap(), 0, len );
for (s = src, o = out; *s; ++s, ++o)
{
if (IS_ABSOLUTE( *s ))
{
MultiByteToWideChar( CP_UNIXCP, 0, *s, -1, scratch, PATH_MAX );
*o = wine_get_unix_file_name( scratch );
}
else
{
const char *r;
char *l;
*o = (char *)HeapAlloc( GetProcessHeap(), 0, strlen( *s ) + 1 );
for (r = *s, l = *o; *r; ++l, ++r)
{
if (*r == '\\') *l = '/';
else *l = *r;
}
*l = 0;
}
}
*o = NULL;
return (const char **)out;
}
void steamclient_free_path_array( const char **path_array )
{
const char **path;
if (!path_array) return;
for (path = path_array; *path; path++) HeapFree( GetProcessHeap(), 0, *(char **)path );
HeapFree( GetProcessHeap(), 0, path_array );
}

View File

@ -22,11 +22,6 @@ extern "C"
unsigned int steamclient_unix_path_to_dos_path( bool api_result, const char *src, char *dst,
uint32_t dst_bytes, int is_url );
extern const char *steamclient_dos_to_unix_path( const char *src, int is_url );
extern void steamclient_free_path( const char *path_array );
extern const char **steamclient_dos_to_unix_path_array( const char **src_array );
extern void steamclient_free_path_array( const char **path_array );
#define PATH_MAX 4096
extern char g_tmppath[PATH_MAX];

View File

@ -1798,10 +1798,8 @@ uint64_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(
.linux_side = _this->u_iface,
.pszFileName = pszFileName,
};
params.pszFileName = steamclient_dos_to_unix_path( pszFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, &params );
steamclient_free_path( params.pszFileName );
return params._ret;
}

View File

@ -17,10 +17,8 @@ bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(struc
.linux_side = _this->u_iface,
.pchAbsolutePathToControllerConfigVDF = pchAbsolutePathToControllerConfigVDF,
};
params.pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( pchAbsolutePathToControllerConfigVDF, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, &params );
steamclient_free_path( params.pchAbsolutePathToControllerConfigVDF );
return params._ret;
}

View File

@ -95,10 +95,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Load
.pchURL = pchURL,
.pchPostData = pchPostData,
};
params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, &params );
steamclient_free_path( params.pchURL );
}
void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight)
@ -422,10 +420,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_File
.unBrowserHandle = unBrowserHandle,
.pchSelectedFiles = pchSelectedFiles,
};
params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, &params );
steamclient_free_path_array( params.pchSelectedFiles );
}
extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable;
@ -573,10 +569,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Load
.pchURL = pchURL,
.pchPostData = pchPostData,
};
params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, &params );
steamclient_free_path( params.pchURL );
}
void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight)
@ -931,10 +925,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_File
.unBrowserHandle = unBrowserHandle,
.pchSelectedFiles = pchSelectedFiles,
};
params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, &params );
steamclient_free_path_array( params.pchSelectedFiles );
}
extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable;
@ -1085,10 +1077,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Load
.pchURL = pchURL,
.pchPostData = pchPostData,
};
params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, &params );
steamclient_free_path( params.pchURL );
}
void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight)
@ -1455,10 +1445,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_File
.unBrowserHandle = unBrowserHandle,
.pchSelectedFiles = pchSelectedFiles,
};
params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, &params );
steamclient_free_path_array( params.pchSelectedFiles );
}
extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtable;
@ -1611,10 +1599,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Load
.pchURL = pchURL,
.pchPostData = pchPostData,
};
params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, &params );
steamclient_free_path( params.pchURL );
}
void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight)
@ -1993,10 +1979,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_File
.unBrowserHandle = unBrowserHandle,
.pchSelectedFiles = pchSelectedFiles,
};
params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, &params );
steamclient_free_path_array( params.pchSelectedFiles );
}
extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable;
@ -2151,10 +2135,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Load
.pchURL = pchURL,
.pchPostData = pchPostData,
};
params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, &params );
steamclient_free_path( params.pchURL );
}
void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight)
@ -2545,10 +2527,8 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_File
.unBrowserHandle = unBrowserHandle,
.pchSelectedFiles = pchSelectedFiles,
};
params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, &params );
steamclient_free_path_array( params.pchSelectedFiles );
}
extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable;

View File

@ -1091,10 +1091,8 @@ bool __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(stru
.linux_side = _this->u_iface,
.pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath,
};
params.pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamInput_SteamInput005_SetInputActionManifestFilePath, &params );
steamclient_free_path( params.pchInputActionManifestAbsolutePath );
return params._ret;
}
@ -1748,10 +1746,8 @@ bool __thiscall winISteamInput_SteamInput006_SetInputActionManifestFilePath(stru
.linux_side = _this->u_iface,
.pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath,
};
params.pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamInput_SteamInput006_SetInputActionManifestFilePath, &params );
steamclient_free_path( params.pchInputActionManifestAbsolutePath );
return params._ret;
}

View File

@ -1236,12 +1236,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchDescription = pchDescription,
.pTags = pTags,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -1726,12 +1722,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -1755,10 +1747,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -1770,10 +1760,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -1991,10 +1979,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -2454,12 +2440,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -2483,10 +2465,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -2498,10 +2478,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -2721,10 +2699,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -3238,12 +3214,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -3267,10 +3239,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -3282,10 +3252,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -3505,10 +3473,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -4027,12 +3993,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -4056,10 +4018,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -4071,10 +4031,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -4294,10 +4252,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -4818,12 +4774,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -4847,10 +4799,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -4862,10 +4812,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -5085,10 +5033,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -5144,10 +5090,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}
@ -5626,12 +5570,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -5655,10 +5595,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -5670,10 +5608,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -5894,10 +5830,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -5953,10 +5887,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}
@ -6436,12 +6368,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -6465,10 +6393,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -6480,10 +6406,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -6704,10 +6628,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -6763,10 +6685,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}
@ -7291,12 +7211,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -7320,10 +7236,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -7335,10 +7249,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -7559,10 +7471,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -7618,10 +7528,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}
@ -8149,12 +8057,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -8178,10 +8082,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -8193,10 +8095,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -8417,10 +8317,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -8476,10 +8374,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}
@ -9011,12 +8907,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pTags = pTags,
.eWorkshopFileType = eWorkshopFileType,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, &params );
steamclient_free_path( params.pchFile );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -9040,10 +8932,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_U
.updateHandle = updateHandle,
.pchFile = pchFile,
};
params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, &params );
steamclient_free_path( params.pchFile );
return params._ret;
}
@ -9055,10 +8945,8 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_U
.updateHandle = updateHandle,
.pchPreviewFile = pchPreviewFile,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -9279,10 +9167,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.eVisibility = eVisibility,
.pTags = pTags,
};
params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, &params );
steamclient_free_path( params.pchPreviewFile );
return params._ret;
}
@ -9338,10 +9224,8 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0
.pchLocation = pchLocation,
.unPriority = unPriority,
};
params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, &params );
steamclient_free_path( params.pchLocation );
return params._ret;
}

View File

@ -35,12 +35,8 @@ uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_A
.nWidth = nWidth,
.nHeight = nHeight,
};
params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 );
params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, &params );
steamclient_free_path( params.pchFilename );
steamclient_free_path( params.pchThumbnailFilename );
return params._ret;
}
@ -148,12 +144,8 @@ uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_A
.nWidth = nWidth,
.nHeight = nHeight,
};
params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 );
params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, &params );
steamclient_free_path( params.pchFilename );
steamclient_free_path( params.pchThumbnailFilename );
return params._ret;
}
@ -277,12 +269,8 @@ uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_A
.nWidth = nWidth,
.nHeight = nHeight,
};
params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 );
params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, &params );
steamclient_free_path( params.pchFilename );
steamclient_free_path( params.pchThumbnailFilename );
return params._ret;
}
@ -366,12 +354,8 @@ uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_A
.pchFilename = pchFilename,
.pchVRFilename = pchVRFilename,
};
params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 );
params.pchVRFilename = steamclient_dos_to_unix_path( pchVRFilename, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, &params );
steamclient_free_path( params.pchFilename );
steamclient_free_path( params.pchVRFilename );
return params._ret;
}

View File

@ -558,10 +558,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -573,10 +571,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -1056,10 +1052,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -1071,10 +1065,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -1557,10 +1549,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -1572,10 +1562,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -2252,10 +2240,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -2267,10 +2253,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -3016,10 +3000,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -3031,10 +3013,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -3875,10 +3855,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -3890,10 +3868,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -4114,10 +4090,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -4802,10 +4776,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -4817,10 +4789,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -4860,10 +4830,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -4889,10 +4857,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -5113,10 +5079,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -5823,10 +5787,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -5838,10 +5800,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -5881,10 +5841,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -5910,10 +5868,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -6134,10 +6090,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -6905,10 +6859,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -6920,10 +6872,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -6963,10 +6913,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -6992,10 +6940,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -7216,10 +7162,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -8088,10 +8032,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -8103,10 +8045,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -8159,10 +8099,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -8188,10 +8126,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -8412,10 +8348,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -9304,10 +9238,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -9319,10 +9251,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -9387,10 +9317,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -9416,10 +9344,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -9640,10 +9566,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -10548,10 +10472,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -10563,10 +10485,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -10631,10 +10551,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -10660,10 +10578,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -10884,10 +10800,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -11843,10 +11757,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -11858,10 +11770,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -11926,10 +11836,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -11955,10 +11863,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -12179,10 +12085,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -13195,10 +13099,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -13210,10 +13112,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -13278,10 +13178,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -13307,10 +13205,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -13531,10 +13427,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -14567,10 +14461,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -14582,10 +14474,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -14650,10 +14540,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -14679,10 +14567,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -14929,10 +14815,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}
@ -15970,10 +15854,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(struct
.handle = handle,
.pszContentFolder = pszContentFolder,
};
params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent, &params );
steamclient_free_path( params.pszContentFolder );
return params._ret;
}
@ -15985,10 +15867,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(struct
.handle = handle,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -16053,10 +15933,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(st
.pszPreviewFile = pszPreviewFile,
.type = type,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -16082,10 +15960,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile
.index = index,
.pszPreviewFile = pszPreviewFile,
};
params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile, &params );
steamclient_free_path( params.pszPreviewFile );
return params._ret;
}
@ -16332,10 +16208,8 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameS
.unWorkshopDepotID = unWorkshopDepotID,
.pszFolder = pszFolder,
};
params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer, &params );
steamclient_free_path( params.pszFolder );
return params._ret;
}

View File

@ -743,10 +743,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils005_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}
@ -1087,10 +1085,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils006_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}
@ -1456,10 +1452,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils007_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}
@ -1841,10 +1835,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils008_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}
@ -2255,10 +2247,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils009_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}
@ -2750,10 +2740,8 @@ uint64_t __thiscall winISteamUtils_SteamUtils010_CheckFileSignature(struct w_ste
.linux_side = _this->u_iface,
.szFileName = szFileName,
};
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_CheckFileSignature, &params );
steamclient_free_path( params.szFileName );
return params._ret;
}