2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 22:55:18 +00:00

lsteamclient: Use declspec to generate C++ method signature.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-23 16:11:42 +02:00
parent 27736adb76
commit da3bf9b709
192 changed files with 2659 additions and 2666 deletions

View File

@@ -36,17 +36,17 @@ const char * cppISteamUtils_SteamUtils005_GetIPCountry(void *linux_side)
return ((ISteamUtils*)linux_side)->GetIPCountry();
}
bool cppISteamUtils_SteamUtils005_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight)
bool cppISteamUtils_SteamUtils005_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight)
{
return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight);
}
bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize)
bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize)
{
return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize);
}
bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort)
bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort)
{
return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort);
}
@@ -66,7 +66,7 @@ void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(void *linux_sid
((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition);
}
bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed)
bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed)
{
return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed);
}
@@ -76,7 +76,7 @@ ESteamAPICallFailure cppISteamUtils_SteamUtils005_GetAPICallFailureReason(void *
return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall);
}
bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed)
bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed)
{
return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed);
}
@@ -107,12 +107,12 @@ bool cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(void *linux_side)
return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent();
}
SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *linux_side, const char * szFileName)
SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *linux_side, const char *szFileName)
{
return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName);
}
bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax)
bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax)
{
return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax);
}
@@ -122,7 +122,7 @@ uint32 cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(void *linux_side
return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength();
}
bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText)
bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText)
{
return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText);
}