File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
dll/win32/kernel32/client Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -209,18 +209,16 @@ GetNativeSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
209209 SYSTEM_PROCESSOR_INFORMATION ProcInfo ;
210210 NTSTATUS Status ;
211211
212- /* FIXME: Should be SystemNativeBasicInformation */
213- Status = NtQuerySystemInformation (SystemBasicInformation ,
214- & BasicInfo ,
215- sizeof (BasicInfo ),
216- 0 );
212+ Status = RtlGetNativeSystemInformation (SystemBasicInformation ,
213+ & BasicInfo ,
214+ sizeof (BasicInfo ),
215+ 0 );
217216 if (!NT_SUCCESS (Status )) return ;
218217
219- /* FIXME: Should be SystemNativeProcessorInformation */
220- Status = NtQuerySystemInformation (SystemProcessorInformation ,
221- & ProcInfo ,
222- sizeof (ProcInfo ),
223- 0 );
218+ Status = RtlGetNativeSystemInformation (SystemProcessorInformation ,
219+ & ProcInfo ,
220+ sizeof (ProcInfo ),
221+ 0 );
224222 if (!NT_SUCCESS (Status )) return ;
225223
226224 GetSystemInfoInternal (& BasicInfo , & ProcInfo , lpSystemInfo );
You can’t perform that action at this time.
0 commit comments