Proton/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp
2024-02-15 15:53:28 +02:00

60 lines
3.6 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( void *args )
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->WriteScreenshot( params->pubRGB, params->cubRGB, params->nWidth, params->nHeight );
return 0;
}
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( void *args )
{
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;
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;
}
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( void *args )
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
iface->TriggerScreenshot( );
return 0;
}
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( void *args )
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
iface->HookScreenshots( params->bHook );
return 0;
}
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( void *args )
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->SetLocation( params->hScreenshot, params->pchLocation );
return 0;
}
NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( void *args )
{
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *)args;
struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->TagUser( params->hScreenshot, params->steamID );
return 0;
}