[FREELDR] Allow Freeloader to boot Vista revamp of PR #1905 (#6479)
[reactos.git] / modules / rostests / apitests / ntdll / NtSetInformationFile.c
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 NtSetInformationFile
5 * COPYRIGHT: Copyright 2019 Thomas Faber (thomas.faber@reactos.org)
6 */
7
8 #include "precomp.h"
9
10 START_TEST(NtSetInformationFile)
11 {
12 NTSTATUS Status;
13
14 Status = NtSetInformationFile(NULL, NULL, NULL, 0, 0);
15 ok(Status == STATUS_INVALID_INFO_CLASS, "Status = %lx\n", Status);
16
17 Status = NtSetInformationFile(NULL, NULL, NULL, 0, 0x80000000);
18 ok(Status == STATUS_INVALID_INFO_CLASS, "Status = %lx\n", Status);
19 }