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;
|
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.@)
|
* READ_REGISTER_BUFFER_UCHAR (NTOSKRNL.EXE.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -600,12 +600,16 @@
|
||||||
@ stub KePulseEvent
|
@ stub KePulseEvent
|
||||||
@ stdcall KeQueryActiveProcessors()
|
@ stdcall KeQueryActiveProcessors()
|
||||||
@ stdcall KeQueryActiveProcessorCountEx(long)
|
@ stdcall KeQueryActiveProcessorCountEx(long)
|
||||||
|
@ stdcall KeQueryActiveGroupCount() GetActiveProcessorGroupCount
|
||||||
@ stdcall KeQueryInterruptTime()
|
@ stdcall KeQueryInterruptTime()
|
||||||
@ stdcall KeQueryPriorityThread(ptr)
|
@ stdcall KeQueryPriorityThread(ptr)
|
||||||
@ stub KeQueryRuntimeThread
|
@ stub KeQueryRuntimeThread
|
||||||
@ stdcall KeQuerySystemTime(ptr)
|
@ stdcall KeQuerySystemTime(ptr)
|
||||||
@ stdcall KeQueryTickCount(ptr)
|
@ stdcall KeQueryTickCount(ptr)
|
||||||
@ stdcall KeQueryTimeIncrement()
|
@ stdcall KeQueryTimeIncrement()
|
||||||
|
@ stdcall KeQueryMaximumGroupCount() GetMaximumProcessorGroupCount
|
||||||
|
@ stdcall KeQueryMaximumProcessorCountEx(long)
|
||||||
|
@ stdcall KeQueryMaximumProcessorCount()
|
||||||
@ stub KeRaiseUserException
|
@ stub KeRaiseUserException
|
||||||
@ stdcall KeReadStateEvent(ptr)
|
@ stdcall KeReadStateEvent(ptr)
|
||||||
@ stub KeReadStateMutant
|
@ stub KeReadStateMutant
|
||||||
|
|
|
@ -2201,6 +2201,7 @@ WINBASEAPI DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
|
||||||
WINBASEAPI DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
WINBASEAPI DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
||||||
#define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
|
#define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
|
||||||
WINBASEAPI BOOL WINAPI GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
WINBASEAPI BOOL WINAPI GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
||||||
|
WINBASEAPI DWORD WINAPI GetMaximumProcessorCount(WORD);
|
||||||
WINBASEAPI DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
WINBASEAPI DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
||||||
WINBASEAPI DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
WINBASEAPI DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
||||||
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
||||||
|
|
Loading…
Add table
Reference in a new issue