lsteamclient: Wrap parameters in structures.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-27 14:34:23 +02:00 committed by Arkadiusz Hiler
parent e4d75b2fb0
commit 6b21c32d2a
439 changed files with 109952 additions and 43685 deletions

View file

@ -1,38 +1,301 @@
extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *);
extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(void *);
extern EUniverse cppISteamUtils_SteamUtils010_GetConnectedUniverse(void *);
extern uint32 cppISteamUtils_SteamUtils010_GetServerRealTime(void *);
extern const char * cppISteamUtils_SteamUtils010_GetIPCountry(void *);
extern bool cppISteamUtils_SteamUtils010_GetImageSize(void *, int, uint32 *, uint32 *);
extern bool cppISteamUtils_SteamUtils010_GetImageRGBA(void *, int, uint8 *, int);
extern bool cppISteamUtils_SteamUtils010_GetCSERIPPort(void *, uint32 *, uint16 *);
extern uint8 cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(void *);
extern uint32 cppISteamUtils_SteamUtils010_GetAppID(void *);
extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(void *, ENotificationPosition);
extern bool cppISteamUtils_SteamUtils010_IsAPICallCompleted(void *, SteamAPICall_t, bool *);
extern ESteamAPICallFailure cppISteamUtils_SteamUtils010_GetAPICallFailureReason(void *, SteamAPICall_t);
extern bool cppISteamUtils_SteamUtils010_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *);
extern void cppISteamUtils_SteamUtils010_RunFrame(void *);
extern uint32 cppISteamUtils_SteamUtils010_GetIPCCallCount(void *);
extern void cppISteamUtils_SteamUtils010_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t);
extern bool cppISteamUtils_SteamUtils010_IsOverlayEnabled(void *);
extern bool cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(void *);
extern SteamAPICall_t cppISteamUtils_SteamUtils010_CheckFileSignature(void *, const char *);
extern bool cppISteamUtils_SteamUtils010_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *);
extern uint32 cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(void *);
extern bool cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(void *, char *, uint32);
extern const char * cppISteamUtils_SteamUtils010_GetSteamUILanguage(void *);
extern bool cppISteamUtils_SteamUtils010_IsSteamRunningInVR(void *);
extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(void *, int, int);
extern bool cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(void *);
extern void cppISteamUtils_SteamUtils010_StartVRDashboard(void *);
extern bool cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(void *);
extern void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(void *, bool);
extern bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *);
extern bool cppISteamUtils_SteamUtils010_InitFilterText(void *, uint32);
extern int cppISteamUtils_SteamUtils010_FilterText(void *, ETextFilteringContext, CSteamID, const char *, char *, uint32);
extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol);
extern bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *);
extern bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *, EFloatingGamepadTextInputMode, int, int, int, int);
extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *, bool);
extern bool cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(void *);
struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params *params );
struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params *params );
struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params
{
void *linux_side;
EUniverse _ret;
};
extern void cppISteamUtils_SteamUtils010_GetConnectedUniverse( struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params *params );
struct cppISteamUtils_SteamUtils010_GetServerRealTime_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetServerRealTime( struct cppISteamUtils_SteamUtils010_GetServerRealTime_params *params );
struct cppISteamUtils_SteamUtils010_GetIPCountry_params
{
void *linux_side;
const char *_ret;
};
extern void cppISteamUtils_SteamUtils010_GetIPCountry( struct cppISteamUtils_SteamUtils010_GetIPCountry_params *params );
struct cppISteamUtils_SteamUtils010_GetImageSize_params
{
void *linux_side;
bool _ret;
int iImage;
uint32 *pnWidth;
uint32 *pnHeight;
};
extern void cppISteamUtils_SteamUtils010_GetImageSize( struct cppISteamUtils_SteamUtils010_GetImageSize_params *params );
struct cppISteamUtils_SteamUtils010_GetImageRGBA_params
{
void *linux_side;
bool _ret;
int iImage;
uint8 *pubDest;
int nDestBufferSize;
};
extern void cppISteamUtils_SteamUtils010_GetImageRGBA( struct cppISteamUtils_SteamUtils010_GetImageRGBA_params *params );
struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params
{
void *linux_side;
bool _ret;
uint32 *unIP;
uint16 *usPort;
};
extern void cppISteamUtils_SteamUtils010_GetCSERIPPort( struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params *params );
struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params
{
void *linux_side;
uint8 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params *params );
struct cppISteamUtils_SteamUtils010_GetAppID_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetAppID( struct cppISteamUtils_SteamUtils010_GetAppID_params *params );
struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params
{
void *linux_side;
ENotificationPosition eNotificationPosition;
};
extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params *params );
struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params
{
void *linux_side;
bool _ret;
SteamAPICall_t hSteamAPICall;
bool *pbFailed;
};
extern void cppISteamUtils_SteamUtils010_IsAPICallCompleted( struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params *params );
struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params
{
void *linux_side;
ESteamAPICallFailure _ret;
SteamAPICall_t hSteamAPICall;
};
extern void cppISteamUtils_SteamUtils010_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params *params );
struct cppISteamUtils_SteamUtils010_GetAPICallResult_params
{
void *linux_side;
bool _ret;
SteamAPICall_t hSteamAPICall;
void *pCallback;
int cubCallback;
int iCallbackExpected;
bool *pbFailed;
};
extern void cppISteamUtils_SteamUtils010_GetAPICallResult( struct cppISteamUtils_SteamUtils010_GetAPICallResult_params *params );
struct cppISteamUtils_SteamUtils010_RunFrame_params
{
void *linux_side;
};
extern void cppISteamUtils_SteamUtils010_RunFrame( struct cppISteamUtils_SteamUtils010_RunFrame_params *params );
struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetIPCCallCount( struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params *params );
struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params
{
void *linux_side;
SteamAPIWarningMessageHook_t pFunction;
};
extern void cppISteamUtils_SteamUtils010_SetWarningMessageHook( struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params *params );
struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsOverlayEnabled( struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params *params );
struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params *params );
struct cppISteamUtils_SteamUtils010_CheckFileSignature_params
{
void *linux_side;
SteamAPICall_t _ret;
const char *szFileName;
};
extern void cppISteamUtils_SteamUtils010_CheckFileSignature( struct cppISteamUtils_SteamUtils010_CheckFileSignature_params *params );
struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params
{
void *linux_side;
bool _ret;
EGamepadTextInputMode eInputMode;
EGamepadTextInputLineMode eLineInputMode;
const char *pchDescription;
uint32 unCharMax;
const char *pchExistingText;
};
extern void cppISteamUtils_SteamUtils010_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params *params );
struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params
{
void *linux_side;
uint32 _ret;
};
extern void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params *params );
struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params
{
void *linux_side;
bool _ret;
char *pchText;
uint32 cchText;
};
extern void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params *params );
struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params
{
void *linux_side;
const char *_ret;
};
extern void cppISteamUtils_SteamUtils010_GetSteamUILanguage( struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params *params );
struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params *params );
struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params
{
void *linux_side;
int nHorizontalInset;
int nVerticalInset;
};
extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params *params );
struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params *params );
struct cppISteamUtils_SteamUtils010_StartVRDashboard_params
{
void *linux_side;
};
extern void cppISteamUtils_SteamUtils010_StartVRDashboard( struct cppISteamUtils_SteamUtils010_StartVRDashboard_params *params );
struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params *params );
struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params
{
void *linux_side;
bool bEnabled;
};
extern void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params *params );
struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params *params );
struct cppISteamUtils_SteamUtils010_InitFilterText_params
{
void *linux_side;
bool _ret;
uint32 unFilterOptions;
};
extern void cppISteamUtils_SteamUtils010_InitFilterText( struct cppISteamUtils_SteamUtils010_InitFilterText_params *params );
struct cppISteamUtils_SteamUtils010_FilterText_params
{
void *linux_side;
int _ret;
ETextFilteringContext eContext;
CSteamID sourceSteamID;
const char *pchInputMessage;
char *pchOutFilteredText;
uint32 nByteSizeOutFilteredText;
};
extern void cppISteamUtils_SteamUtils010_FilterText( struct cppISteamUtils_SteamUtils010_FilterText_params *params );
struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params
{
void *linux_side;
ESteamIPv6ConnectivityState _ret;
ESteamIPv6ConnectivityProtocol eProtocol;
};
extern void cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params *params );
struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params *params );
struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params
{
void *linux_side;
bool _ret;
EFloatingGamepadTextInputMode eKeyboardMode;
int nTextFieldXPosition;
int nTextFieldYPosition;
int nTextFieldWidth;
int nTextFieldHeight;
};
extern void cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params *params );
struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params
{
void *linux_side;
bool bLauncherMode;
};
extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode( struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params *params );
struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params
{
void *linux_side;
bool _ret;
};
extern void cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params *params );