mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tst: winfsp-tests: notify_open_change_dotest
This commit is contained in:
parent
4578414a2c
commit
2f65a77d34
@ -262,7 +262,6 @@ void notify_open_change_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
|
|||||||
|
|
||||||
HANDLE DirHandle, FileHandle;
|
HANDLE DirHandle, FileHandle;
|
||||||
WCHAR FilePath[MAX_PATH];
|
WCHAR FilePath[MAX_PATH];
|
||||||
DWORD Bytes;
|
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
FSP_FSCTL_NOTIFY_INFO V;
|
FSP_FSCTL_NOTIFY_INFO V;
|
||||||
@ -291,8 +290,9 @@ void notify_open_change_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
|
|||||||
FILE_ATTRIBUTE_NORMAL, 0);
|
FILE_ATTRIBUTE_NORMAL, 0);
|
||||||
ASSERT(INVALID_HANDLE_VALUE != FileHandle);
|
ASSERT(INVALID_HANDLE_VALUE != FileHandle);
|
||||||
|
|
||||||
Success = WriteFile(FileHandle, "foobar", 6, &Bytes, 0);
|
//DWORD Bytes;
|
||||||
ASSERT(Success);
|
//Success = WriteFile(FileHandle, "foobar", 6, &Bytes, 0);
|
||||||
|
//ASSERT(Success);
|
||||||
|
|
||||||
Result = FspFileSystemNotifyBegin(FileSystem, 1000);
|
Result = FspFileSystemNotifyBegin(FileSystem, 1000);
|
||||||
ASSERT(STATUS_SUCCESS == Result);
|
ASSERT(STATUS_SUCCESS == Result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user