ReactOS  0.4.15-dev-3173-g40ee59d
NtSetVolumeInformationFile.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Kernel
3  * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE: Test for NtSetVolumeInformationFile
5  * COPYRIGHT: Copyright 2019 Thomas Faber (thomas.faber@reactos.org)
6  */
7 
8 #include "precomp.h"
9 
11 {
13 
15  ok(Status == STATUS_INVALID_INFO_CLASS, "Status = %lx\n", Status);
16 
17  Status = NtSetVolumeInformationFile(NULL, NULL, NULL, 0, 0x80000000);
18  ok(Status == STATUS_INVALID_INFO_CLASS, "Status = %lx\n", Status);
19 }
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:24
#define STATUS_INVALID_INFO_CLASS
Definition: ntstatus.h:240
START_TEST(NtSetVolumeInformationFile)
#define ok(value,...)
Definition: atltest.h:57
#define NULL
Definition: types.h:112
NTSTATUS NTAPI NtSetVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PVOID FsInformation, IN ULONG Length, IN FS_INFORMATION_CLASS FsInformationClass)
Definition: iofunc.c:4403