mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
winfsp-tests: fileinfo-test: GetFileInformationByHandle
This commit is contained in:
parent
f19500568d
commit
4ff1b1a9cb
@ -97,7 +97,6 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
|
|||||||
else
|
else
|
||||||
ASSERT(0 == memcmp(FilePath + 1, PNameInfo->FileName, PNameInfo->FileNameLength));
|
ASSERT(0 == memcmp(FilePath + 1, PNameInfo->FileName, PNameInfo->FileNameLength));
|
||||||
|
|
||||||
#if 0
|
|
||||||
Success = GetFileInformationByHandle(Handle, &FileInfo);
|
Success = GetFileInformationByHandle(Handle, &FileInfo);
|
||||||
ASSERT(Success);
|
ASSERT(Success);
|
||||||
//ASSERT(FILE_ATTRIBUTE_ARCHIVE == FileInfo.dwFileAttributes);
|
//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);
|
TimeHi > ((PLARGE_INTEGER)&FileInfo.ftLastWriteTime)->QuadPart);
|
||||||
ASSERT(0 == FileInfo.nFileSizeLow && 0 == FileInfo.nFileSizeHigh);
|
ASSERT(0 == FileInfo.nFileSizeLow && 0 == FileInfo.nFileSizeHigh);
|
||||||
ASSERT(1 == FileInfo.nNumberOfLinks);
|
ASSERT(1 == FileInfo.nNumberOfLinks);
|
||||||
#endif
|
|
||||||
|
|
||||||
CloseHandle(Handle);
|
CloseHandle(Handle);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user