1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +02:00

Revamp Stdcall

This commit is contained in:
LZMPDev 2020-05-25 20:46:28 +08:00
parent 7b4239d08e
commit ad0dab0d4c
58 changed files with 1398 additions and 1398 deletions

View file

@ -78,34 +78,34 @@ namespace System
public uint32 dwFileDateLS; // e.g. 0
}
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static bool GetVersionExA(OSVersionInfoExA* lpVersionInformation);
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static bool VerifyVersionInfoA(OSVersionInfoExA* lpVersionInformation, uint32 dwTypeMask, uint64 dwlConditionMask);
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static uint64 VerSetConditionMask(uint64 dwlConditionMask, uint32 dwTypeBitMask, uint8 dwConditionMask);
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static void GetNativeSystemInfo(SystemInfo* lpSystemInformation);
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static void GetSystemInfo(SystemInfo* lpSystemInfo);
[Import("netapi32.lib"), CLink, StdCall]
[Import("netapi32.lib"), CLink, CallingConvention(.Stdcall)]
extern static uint32 NetWkstaGetInfo(char16* ServerName, uint32 Level, LPWKSTA_INFO_100* BufPtr);
[Import("netapi32.lib"), CLink, StdCall]
[Import("netapi32.lib"), CLink, CallingConvention(.Stdcall)]
extern static int32 NetApiBufferFree(LPWKSTA_INFO_100 BufPtr);
[CLink, StdCall]
[CLink, CallingConvention(.Stdcall)]
extern static uint32 GetFileVersionInfoSizeA(char8* lptstrFilename, uint32* lpdwHandle);
[Import("version.lib"), CLink, StdCall]
[Import("version.lib"), CLink, CallingConvention(.Stdcall)]
extern static bool GetFileVersionInfoA(char8* lptstrFilename, uint32* dwHandle, uint32 dwLen, void* lpData);
[Import("version.lib"), CLink, StdCall]
[Import("version.lib"), CLink, CallingConvention(.Stdcall)]
extern static bool VerQueryValueA(void* pBlock, char8* lpSubBlock, void** lplpBuffer, uint32* puLen);
[Import("user32.lib"), CLink, StdCall]
[Import("user32.lib"), CLink, CallingConvention(.Stdcall)]
extern static int GetSystemMetrics(int nIndex);
#endif