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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->WriteScreenshot( params->pubRGB, params->cubRGB, params->nWidth, params->nHeight );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-10-02 23:20:43 +02:00
|
|
|
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 );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerScreenshot( );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->HookScreenshots( params->bHook );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetLocation( params->hScreenshot, params->pchLocation );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->TagUser( params->hScreenshot, params->steamID );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->TagPublishedFile( params->hScreenshot, params->unPublishedFileID );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsScreenshotsHooked( );
|
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 ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side;
|
2023-10-02 23:20:43 +02:00
|
|
|
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 );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|