Author: pschweitzer
Date: Thu Sep 21 08:52:27 2017
New Revision: 75916
URL:
http://svn.reactos.org/svn/reactos?rev=75916&view=rev
Log:
[KMTESTS:KERNEL32]
Magic values--;
Modified:
trunk/rostests/kmtests/kernel32/FileAttributes_user.c
Modified: trunk/rostests/kmtests/kernel32/FileAttributes_user.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/kernel32/FileAttr…
==============================================================================
--- trunk/rostests/kmtests/kernel32/FileAttributes_user.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/kernel32/FileAttributes_user.c [iso-8859-1] Thu Sep 21 08:52:27
2017
@@ -36,7 +36,7 @@
/* Set invalid attributes */
KmtSendUlongToDriver(IOCTL_EXPECT_SET_ATTRIBUTES, FILE_ATTRIBUTE_VALID_SET_FLAGS);
- Ret = SetFileAttributesW(FileName, 0xFFFFFFFF);
+ Ret = SetFileAttributesW(FileName, INVALID_FILE_ATTRIBUTES);
ok(Ret == TRUE, "SetFileAttributesW returned %d, error %lu\n", Ret,
GetLastError());
/* Query read-only attribute */
@@ -60,9 +60,9 @@
ok_eq_hex(Attributes, 0);
/* Query invalid attributes */
- KmtSendUlongToDriver(IOCTL_RETURN_QUERY_ATTRIBUTES, 0xFFFFFFFF);
+ KmtSendUlongToDriver(IOCTL_RETURN_QUERY_ATTRIBUTES, INVALID_FILE_ATTRIBUTES);
Attributes = GetFileAttributesW(FileName);
- ok_eq_hex(Attributes, 0xFFFFFFFF);
+ ok_eq_hex(Attributes, INVALID_FILE_ATTRIBUTES);
/** Directory attribute **/
/* Set read-only and directory attribute */