1*a71f3a70SThomas Faber /* 2*a71f3a70SThomas Faber * PROJECT: ReactOS Kernel 3*a71f3a70SThomas Faber * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) 4*a71f3a70SThomas Faber * PURPOSE: Test for NtQuerySystemInformation 5*a71f3a70SThomas Faber * COPYRIGHT: Copyright 2019 Thomas Faber (thomas.faber@reactos.org) 6*a71f3a70SThomas Faber */ 7*a71f3a70SThomas Faber 8*a71f3a70SThomas Faber #include "precomp.h" 9*a71f3a70SThomas Faber START_TEST(NtQuerySystemInformation)10*a71f3a70SThomas FaberSTART_TEST(NtQuerySystemInformation) 11*a71f3a70SThomas Faber { 12*a71f3a70SThomas Faber NTSTATUS Status; 13*a71f3a70SThomas Faber 14*a71f3a70SThomas Faber Status = NtQuerySystemInformation(0, NULL, 0, NULL); 15*a71f3a70SThomas Faber ok_hex(Status, STATUS_INFO_LENGTH_MISMATCH); 16*a71f3a70SThomas Faber 17*a71f3a70SThomas Faber Status = NtQuerySystemInformation(0x80000000, NULL, 0, NULL); 18*a71f3a70SThomas Faber ok_hex(Status, STATUS_INVALID_INFO_CLASS); 19*a71f3a70SThomas Faber } 20