mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:35:43 +00:00
[PSDK]
- Use macro version of RtlUlonglongByteSwap in winternl.h because using the fastcall version causes stack corruption CORE-8632 #resolve svn path=/trunk/; revision=64749
This commit is contained in:
parent
724f87c880
commit
96b8f1971f
1 changed files with 5 additions and 0 deletions
|
@ -2310,7 +2310,12 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1970(const LARGE_INTEGER *,LPDWORD);
|
||||||
BOOLEAN WINAPI RtlTimeToSecondsSince1980(const LARGE_INTEGER *,LPDWORD);
|
BOOLEAN WINAPI RtlTimeToSecondsSince1980(const LARGE_INTEGER *,LPDWORD);
|
||||||
BOOL WINAPI RtlTryEnterCriticalSection(RTL_CRITICAL_SECTION *);
|
BOOL WINAPI RtlTryEnterCriticalSection(RTL_CRITICAL_SECTION *);
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
ULONGLONG __fastcall RtlUlonglongByteSwap(ULONGLONG);
|
ULONGLONG __fastcall RtlUlonglongByteSwap(ULONGLONG);
|
||||||
|
#define RtlUlonglongByteSwap(_x) _byteswap_uint64((_x))
|
||||||
|
#else
|
||||||
|
ULONGLONG __cdecl RtlUlonglongByteSwap(ULONGLONG);
|
||||||
|
#endif
|
||||||
DWORD WINAPI RtlUnicodeStringToAnsiSize(const UNICODE_STRING*);
|
DWORD WINAPI RtlUnicodeStringToAnsiSize(const UNICODE_STRING*);
|
||||||
NTSTATUS WINAPI RtlUnicodeStringToAnsiString(PANSI_STRING,PCUNICODE_STRING,BOOLEAN);
|
NTSTATUS WINAPI RtlUnicodeStringToAnsiString(PANSI_STRING,PCUNICODE_STRING,BOOLEAN);
|
||||||
NTSTATUS WINAPI RtlUnicodeStringToInteger(const UNICODE_STRING *,ULONG,ULONG *);
|
NTSTATUS WINAPI RtlUnicodeStringToInteger(const UNICODE_STRING *,ULONG,ULONG *);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue