2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetHSteamUser( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetHSteamUser_params *params = (struct ISteamUser_SteamUser015_GetHSteamUser_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetHSteamUser( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_BLoggedOn( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_BLoggedOn_params *params = (struct ISteamUser_SteamUser015_BLoggedOn_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BLoggedOn( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetSteamID( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetSteamID_params *params = (struct ISteamUser_SteamUser015_GetSteamID_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
*params->_ret = iface->GetSteamID( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_InitiateGameConnection( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser015_InitiateGameConnection_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_TerminateGameConnection( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser015_TerminateGameConnection_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->TerminateGameConnection( params->unIPServer, params->usPortServer );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_TrackAppUsageEvent( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser015_TrackAppUsageEvent_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetUserDataFolder( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser015_GetUserDataFolder_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer );
|
2023-10-03 00:28:09 +03:00
|
|
|
steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_StartVoiceRecording( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser015_StartVoiceRecording_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->StartVoiceRecording( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_StopVoiceRecording( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser015_StopVoiceRecording_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->StopVoiceRecording( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetAvailableVoice( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser015_GetAvailableVoice_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetVoice( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetVoice_params *params = (struct ISteamUser_SteamUser015_GetVoice_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_DecompressVoice( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_DecompressVoice_params *params = (struct ISteamUser_SteamUser015_DecompressVoice_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetVoiceOptimalSampleRate( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetVoiceOptimalSampleRate( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetAuthSessionTicket( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser015_GetAuthSessionTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_BeginAuthSession( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_BeginAuthSession_params *params = (struct ISteamUser_SteamUser015_BeginAuthSession_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_EndAuthSession( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_EndAuthSession_params *params = (struct ISteamUser_SteamUser015_EndAuthSession_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->EndAuthSession( params->steamID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_CancelAuthTicket( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser015_CancelAuthTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->CancelAuthTicket( params->hAuthTicket );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_UserHasLicenseForApp( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser015_UserHasLicenseForApp_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_BIsBehindNAT( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser015_BIsBehindNAT_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->BIsBehindNAT( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_AdvertiseGame( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_AdvertiseGame_params *params = (struct ISteamUser_SteamUser015_AdvertiseGame_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_RequestEncryptedAppTicket( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS ISteamUser_SteamUser015_GetEncryptedAppTicket( void *args )
|
2019-02-06 00:01:51 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params *)args;
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-02-06 00:01:51 +03:00
|
|
|
}
|
|
|
|
|