mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 11:50:08 +00:00
20 lines
545 B
C
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);
|
|
}
|