tst: winfsp-tests: exec_delete_test

This commit is contained in:
Bill Zissimopoulos 2021-11-20 10:53:57 +00:00
parent d72fe2ee33
commit a9d90acd71
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ static void exec_delete_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
OPEN_EXISTING, 0, 0);
if (INVALID_HANDLE_VALUE != Handle)
{
DispositionInfo.Disposition = FILE_DISPOSITION_DELETE | FILE_DISPOSITION_POSIX_SEMANTICS;
DispositionInfo.Flags = FILE_DISPOSITION_DELETE | FILE_DISPOSITION_POSIX_SEMANTICS;
Success = SetFileInformationByHandle(Handle,
21/*FileDispositionInfoEx*/, &DispositionInfo, sizeof DispositionInfo);
ASSERT(!Success);

View File

@ -156,7 +156,7 @@ typedef struct
} MY_FILE_DISPOSITION_INFO;
typedef struct
{
UINT32 Disposition;
ULONG Flags;
} MY_FILE_DISPOSITION_INFO_EX;
void *memfs_start_ex(ULONG Flags, ULONG FileInfoTimeout);