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 ISteamUtils_SteamUtils005_GetSecondsSinceAppActive( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSecondsSinceAppActive( );
|
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 ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSecondsSinceComputerActive( );
|
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 ISteamUtils_SteamUtils005_GetConnectedUniverse( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetConnectedUniverse( );
|
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 ISteamUtils_SteamUtils005_GetServerRealTime( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils005_GetServerRealTime_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetServerRealTime( );
|
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 ISteamUtils_SteamUtils005_GetIPCountry( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils005_GetIPCountry_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetIPCountry( );
|
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 ISteamUtils_SteamUtils005_GetImageSize( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetImageSize_params *params = (struct ISteamUtils_SteamUtils005_GetImageSize_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight );
|
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 ISteamUtils_SteamUtils005_GetImageRGBA( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils005_GetImageRGBA_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize );
|
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 ISteamUtils_SteamUtils005_GetCSERIPPort( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils005_GetCSERIPPort_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort );
|
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 ISteamUtils_SteamUtils005_GetCurrentBatteryPower( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetCurrentBatteryPower( );
|
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 ISteamUtils_SteamUtils005_GetAppID( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetAppID_params *params = (struct ISteamUtils_SteamUtils005_GetAppID_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetAppID( );
|
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 ISteamUtils_SteamUtils005_SetOverlayNotificationPosition( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SetOverlayNotificationPosition( params->eNotificationPosition );
|
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 ISteamUtils_SteamUtils005_IsAPICallCompleted( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed );
|
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 ISteamUtils_SteamUtils005_GetAPICallFailureReason( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall );
|
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 ISteamUtils_SteamUtils005_RunFrame( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_RunFrame_params *params = (struct ISteamUtils_SteamUtils005_RunFrame_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->RunFrame( );
|
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 ISteamUtils_SteamUtils005_GetIPCCallCount( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils005_GetIPCCallCount_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetIPCCallCount( );
|
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 ISteamUtils_SteamUtils005_SetWarningMessageHook( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
|
|
|
void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
|
|
|
|
iface->SetWarningMessageHook( u_pFunction );
|
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 ISteamUtils_SteamUtils005_IsOverlayEnabled( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsOverlayEnabled( );
|
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 ISteamUtils_SteamUtils005_BOverlayNeedsPresent( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BOverlayNeedsPresent( );
|
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 ISteamUtils_SteamUtils005_CheckFileSignature( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils005_CheckFileSignature_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-10-02 23:20:43 +02:00
|
|
|
char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 );
|
|
|
|
params->_ret = iface->CheckFileSignature( u_szFileName );
|
|
|
|
steamclient_free_path( u_szFileName );
|
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 ISteamUtils_SteamUtils005_ShowGamepadTextInput( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax );
|
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 ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetEnteredGamepadTextLength( );
|
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 ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|