mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTDLL_APITEST] Test that NtQueryInformationProcess(ProcessWx86Information) can work without a ReturnLength pointer.
This commit is contained in:
parent
88e3ef5fa0
commit
d575e828d7
1 changed files with 9 additions and 0 deletions
|
@ -310,6 +310,15 @@ Test_ProcessWx86Information(void)
|
|||
ok_hex(Status, STATUS_DATATYPE_MISALIGNMENT);
|
||||
|
||||
/* Query the VDM power */
|
||||
Status = NtQueryInformationProcess(NtCurrentProcess(),
|
||||
ProcessWx86Information,
|
||||
&VdmPower,
|
||||
sizeof(VdmPower),
|
||||
NULL);
|
||||
ok_hex(Status, STATUS_SUCCESS);
|
||||
ok(VdmPower == 0 || VdmPower == 1, "The VDM power value must be within the boundary between 0 and 1, not anything else! Got %lu\n", VdmPower);
|
||||
|
||||
/* Same but with ReturnLength */
|
||||
Status = NtQueryInformationProcess(NtCurrentProcess(),
|
||||
ProcessWx86Information,
|
||||
&VdmPower,
|
||||
|
|
Loading…
Reference in a new issue