Commit 113f4325 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ndis.sys: Implement NdisSystemProcessorCount.

parent 613b2454
......@@ -48,3 +48,13 @@ void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *lock)
{
FIXME("(%p): stub\n", lock);
}
CCHAR WINAPI NdisSystemProcessorCount(void)
{
SYSTEM_INFO si;
TRACE("()\n");
GetSystemInfo(&si);
return si.dwNumberOfProcessors;
}
......@@ -257,7 +257,7 @@
@ stub NdisSetTimer
@ stub NdisSetTimerEx
@ stub NdisSetupDmaTransfer
@ stub NdisSystemProcessorCount
@ stdcall NdisSystemProcessorCount()
@ stub NdisTerminateWrapper
@ stub NdisTransferData
@ stub NdisUnchainBufferAtBack
......
......@@ -33,5 +33,6 @@ typedef struct _NDIS_SPIN_LOCK
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **, UINT, ULONG);
void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *);
CCHAR WINAPI NdisSystemProcessorCount(void);
#endif /* _NDIS_ */
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