Commit 38577522 authored by Etaash Mathamsetty's avatar Etaash Mathamsetty Committed by Alexandre Julliard

ntoskrnl.exe: Implement KeQueryMaximumProcessorCount/Ex.

parent 8ae70731
......@@ -3415,6 +3415,22 @@ ULONG WINAPI KeGetCurrentProcessorNumberEx(PPROCESSOR_NUMBER process_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.@)
*/
VOID WINAPI READ_REGISTER_BUFFER_UCHAR(PUCHAR Register, PUCHAR Buffer, ULONG Count)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment