reactos/modules/rostests/apitests/ntdll/NtQuerySystemInformation.c
Hermès Bélusca-Maïto 9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00

20 lines
545 B
C

/*
* PROJECT: ReactOS Kernel
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: Test for NtQuerySystemInformation
* COPYRIGHT: Copyright 2019 Thomas Faber (thomas.faber@reactos.org)
*/
#include "precomp.h"
START_TEST(NtQuerySystemInformation)
{
NTSTATUS Status;
Status = NtQuerySystemInformation(0, NULL, 0, NULL);
ok_hex(Status, STATUS_INFO_LENGTH_MISMATCH);
Status = NtQuerySystemInformation(0x80000000, NULL, 0, NULL);
ok_hex(Status, STATUS_INVALID_INFO_CLASS);
}