mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[KERNEL32] Fix FIXME by calling appropriate function in GetNativeSystemInfo()
This commit is contained in:
parent
8c7b84bb5c
commit
0ce3941b41
1 changed files with 8 additions and 10 deletions
|
@ -209,18 +209,16 @@ GetNativeSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
|
|||
SYSTEM_PROCESSOR_INFORMATION ProcInfo;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* FIXME: Should be SystemNativeBasicInformation */
|
||||
Status = NtQuerySystemInformation(SystemBasicInformation,
|
||||
&BasicInfo,
|
||||
sizeof(BasicInfo),
|
||||
0);
|
||||
Status = RtlGetNativeSystemInformation(SystemBasicInformation,
|
||||
&BasicInfo,
|
||||
sizeof(BasicInfo),
|
||||
0);
|
||||
if (!NT_SUCCESS(Status)) return;
|
||||
|
||||
/* FIXME: Should be SystemNativeProcessorInformation */
|
||||
Status = NtQuerySystemInformation(SystemProcessorInformation,
|
||||
&ProcInfo,
|
||||
sizeof(ProcInfo),
|
||||
0);
|
||||
Status = RtlGetNativeSystemInformation(SystemProcessorInformation,
|
||||
&ProcInfo,
|
||||
sizeof(ProcInfo),
|
||||
0);
|
||||
if (!NT_SUCCESS(Status)) return;
|
||||
|
||||
GetSystemInfoInternal(&BasicInfo, &ProcInfo, lpSystemInfo);
|
||||
|
|
Loading…
Reference in a new issue