From d8753f3e888263114ecd67cec88eb46e57af9b84 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 21 Sep 2017 08:52:27 +0000 Subject: [PATCH] [KMTESTS:KERNEL32] Magic values--; svn path=/trunk/; revision=75916 --- rostests/kmtests/kernel32/FileAttributes_user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rostests/kmtests/kernel32/FileAttributes_user.c b/rostests/kmtests/kernel32/FileAttributes_user.c index 93f8e756bd0..88d85a81da8 100644 --- a/rostests/kmtests/kernel32/FileAttributes_user.c +++ b/rostests/kmtests/kernel32/FileAttributes_user.c @@ -36,7 +36,7 @@ START_TEST(FileAttributes) /* 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 @@ START_TEST(FileAttributes) 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 */ -- 2.17.1