NdisSystemProcessorCount (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisSystemProcessorCount determines whether its caller is running on a uniprocessor or multiprocessor computer.
Syntax
CCHAR NdisSystemProcessorCount(void);
Parameters
This function has no parameters.
Return value
NdisSystemProcessorCount returns the number of processors in the computer.
Remarks
An NDIS driver might call this function during initialization before it allocates resources.
Requirements
Target platform |
Universal |
Version |
|
Header |
Ndis.h (include Ndis.h) |
Library |
Ndis.lib |
IRQL |
PASSIVE_LEVEL |
See also
DriverEntry of NDIS Protocol Drivers