NdisCurrentProcessorIndex function

The NdisCurrentProcessorIndex function returns the system-assigned number of the current processor that the caller is running on.

Syntax

ULONG NdisCurrentProcessorIndex(

);

Parameters

This function has no parameters.

Return Value

NdisCurrentProcessorIndex returns a ULONG value that represents the processor that the caller is currently running on. The number of processors in a symmetric multiprocessor (SMP) computer is a zero-based value.

Remarks

NDIS drivers call the NdisCurrentProcessorIndex function to obtain the system-assigned number of the current processor that the caller is running on.

Requirements

   
Windows version Supported in NDIS 6.20 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL ">= DISPATCH_LEVEL"

See Also

KeGetCurrentProcessorNumber

NDIS_CURRENT_PROCESSOR_NUMBER