[NTDLL_WINETEST] Fix a problem with broken calling convention

This commit is contained in:
Timo Kreuzer
2025-08-24 18:49:20 +03:00
parent 09393565da
commit 4fa627e70a

View File

@@ -426,6 +426,17 @@ static void test_RtlByteSwap(void)
"ntdll.RtlUlongByteSwap() returns %#lx\n", lresult );
}
#ifdef __REACTOS__
/* On older Windows versions, RtlUlonglongByteSwap has a broken calling convention! */
RTL_OSVERSIONINFOEXW verInfo = { sizeof(verInfo) };
RtlGetVersion(&verInfo);
if (verInfo.dwMajorVersion < 10)
{
skip("Skipping RtlUlonglongByteSwap test due to broken calling convention\n");
return;
}
#endif
ok( pRtlUlonglongByteSwap != NULL, "RtlUlonglongByteSwap is not available\n");
if ( pRtlUlonglongByteSwap )
{