mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
improve 4
This commit is contained in:
parent
7535ba8fae
commit
0ff7e23ba8
|
@ -14,14 +14,17 @@ START_TEST(PathFileExistsDefExtAndAttributesW)
|
|||
{
|
||||
WCHAR szPath[MAX_PATH];
|
||||
DWORD attrs;
|
||||
BOOL ret;
|
||||
|
||||
ok_int(PathFileExistsDefExtAndAttributesW(NULL, 0, NULL), FALSE);
|
||||
ret = PathFileExistsDefExtAndAttributesW(NULL, 0, NULL);
|
||||
ok_int(ret, FALSE);
|
||||
|
||||
GetWindowsDirectoryW(szPath, _countof(szPath));
|
||||
|
||||
ok_int(PathFileExistsDefExtAndAttributesW(szPath, 0, NULL), TRUE);
|
||||
ret = PathFileExistsDefExtAndAttributesW(szPath, 0, NULL);
|
||||
ok_int(ret, TRUE);
|
||||
|
||||
attrs = 0;
|
||||
ok_int(PathFileExistsDefExtAndAttributesW(szPath, 0, &attrs), TRUE);
|
||||
ret = PathFileExistsDefExtAndAttributesW(szPath, 0, &attrs);
|
||||
ok_int(ret, TRUE);
|
||||
ok(attrs != 0 && attrs != INVALID_FILE_ATTRIBUTES, "attrs was 0x%lX\n", attrs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue