ntoskrnl.exe: Implement KeQueryMaximumProcessorCount/Ex.
This commit is contained in:
parent
8ae70731b1
commit
38577522ea
3 changed files with 21 additions and 0 deletions
|
@ -3414,6 +3414,22 @@ ULONG WINAPI KeGetCurrentProcessorNumberEx(PPROCESSOR_NUMBER process_number)
|
|||
return cur_number;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* KeQueryMaximumProcessorCountEx (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
ULONG WINAPI KeQueryMaximumProcessorCountEx(USHORT group_number)
|
||||
{
|
||||
return GetMaximumProcessorCount(group_number);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* KeQueryMaximumProcessorCount (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
ULONG WINAPI KeQueryMaximumProcessorCount(void)
|
||||
{
|
||||
return KeQueryActiveProcessorCountEx(ALL_PROCESSOR_GROUPS);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* READ_REGISTER_BUFFER_UCHAR (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -600,12 +600,16 @@
|
|||
@ stub KePulseEvent
|
||||
@ stdcall KeQueryActiveProcessors()
|
||||
@ stdcall KeQueryActiveProcessorCountEx(long)
|
||||
@ stdcall KeQueryActiveGroupCount() GetActiveProcessorGroupCount
|
||||
@ stdcall KeQueryInterruptTime()
|
||||
@ stdcall KeQueryPriorityThread(ptr)
|
||||
@ stub KeQueryRuntimeThread
|
||||
@ stdcall KeQuerySystemTime(ptr)
|
||||
@ stdcall KeQueryTickCount(ptr)
|
||||
@ stdcall KeQueryTimeIncrement()
|
||||
@ stdcall KeQueryMaximumGroupCount() GetMaximumProcessorGroupCount
|
||||
@ stdcall KeQueryMaximumProcessorCountEx(long)
|
||||
@ stdcall KeQueryMaximumProcessorCount()
|
||||
@ stub KeRaiseUserException
|
||||
@ stdcall KeReadStateEvent(ptr)
|
||||
@ stub KeReadStateMutant
|
||||
|
|
|
@ -2201,6 +2201,7 @@ WINBASEAPI DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
|
|||
WINBASEAPI DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
||||
#define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
|
||||
WINBASEAPI BOOL WINAPI GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
||||
WINBASEAPI DWORD WINAPI GetMaximumProcessorCount(WORD);
|
||||
WINBASEAPI DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
||||
WINBASEAPI DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
||||
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
||||
|
|
Loading…
Add table
Reference in a new issue