mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
9393fc320e
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
19 lines
545 B
C
19 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);
|
|
}
|