winfsp-tests: fileinfo-test: GetFileInformationByHandle

This commit is contained in:
Bill Zissimopoulos 2016-01-25 15:41:28 -08:00
parent f19500568d
commit 4ff1b1a9cb

View File

@ -97,7 +97,6 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
else
ASSERT(0 == memcmp(FilePath + 1, PNameInfo->FileName, PNameInfo->FileNameLength));
#if 0
Success = GetFileInformationByHandle(Handle, &FileInfo);
ASSERT(Success);
//ASSERT(FILE_ATTRIBUTE_ARCHIVE == FileInfo.dwFileAttributes);
@ -113,7 +112,6 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
TimeHi > ((PLARGE_INTEGER)&FileInfo.ftLastWriteTime)->QuadPart);
ASSERT(0 == FileInfo.nFileSizeLow && 0 == FileInfo.nFileSizeHigh);
ASSERT(1 == FileInfo.nNumberOfLinks);
#endif
CloseHandle(Handle);