NdisSystemProcessorCount (Windows CE 5.0)
This function determines whether its caller is running on a single processor or multiprocessor machine.
CCHAR NdisSystemProcessorCount(VOID);
Parameters
None.
Return Values
The return value is the number of processors in the machine.
Remarks
An NDIS driver might call this function during initialization before it allocates resources.
For example, suppose NdisSystemProcessorCount returns a value greater than one, which suggests the machine is more likely to be a server than a workstation. When this occurs, the driver could allocate more memory on the assumption that network traffic will be significantly heavier on a server.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
See Also
Initialization of NDIS Protocol Drivers | MiniportInitialize
Send Feedback on this topic to the authors