2023-09-30 14:02:30 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-23 23:44:45 +02:00
|
|
|
|
2023-10-03 11:04:33 +02:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SendQueryUGCRequest( params->handle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails;
|
|
|
|
params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails );
|
|
|
|
*params->pDetails = u_pDetails;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ReleaseQueryUGCRequest( params->handle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->AddRequiredTag( params->handle, params->pTagName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->AddExcludedTag( params->handle, params->pTagName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetSearchText( params->handle, params->pSearchText );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetItemTitle( params->handle, params->pchTitle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetItemDescription( params->handle, params->pchDescription );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetItemTags( params->updateHandle, params->pTags );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-10-02 23:20:43 +02:00
|
|
|
char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 );
|
|
|
|
params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder );
|
|
|
|
steamclient_free_path( u_pszContentFolder );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-10-02 23:20:43 +02:00
|
|
|
char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 );
|
|
|
|
params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile );
|
|
|
|
steamclient_free_path( u_pszPreviewFile );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SubscribeItem( params->nPublishedFileID );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->UnsubscribeItem( params->nPublishedFileID );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetNumSubscribedItems( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize );
|
2023-10-02 23:28:09 +02:00
|
|
|
steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetItemUpdateInfo( params->nPublishedFileID, params->pbNeedsUpdate, params->pbIsDownloading, params->punBytesDownloaded, params->punBytesTotal );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|