mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
[IPHLPAPI_APITEST] Fix a test for x64
This commit is contained in:
parent
a71d80239d
commit
a8cda82924
|
@ -112,7 +112,11 @@ test_NhGetInterfaceNameFromGuid(GUID AdapterGUID, DWORD par1, DWORD par2)
|
||||||
Error = GetLastError();
|
Error = GetLastError();
|
||||||
|
|
||||||
ok_long(ApiReturn, ((GetVersion() & 0xFF) >= 6) ? ERROR_INVALID_PARAMETER : ERROR_NOT_FOUND);
|
ok_long(ApiReturn, ((GetVersion() & 0xFF) >= 6) ? ERROR_INVALID_PARAMETER : ERROR_NOT_FOUND);
|
||||||
|
#ifdef _M_AMD64
|
||||||
|
ok_long(Error, ERROR_FILE_NOT_FOUND);
|
||||||
|
#else
|
||||||
ok_long(Error, 0);
|
ok_long(Error, 0);
|
||||||
|
#endif
|
||||||
ok(ulOutBufLen == sizeof(Name),
|
ok(ulOutBufLen == sizeof(Name),
|
||||||
"ulOutBufLen is %ld, expected = sizeof(Name)\n",
|
"ulOutBufLen is %ld, expected = sizeof(Name)\n",
|
||||||
ulOutBufLen);
|
ulOutBufLen);
|
||||||
|
|
Loading…
Reference in a new issue