The NdisCurrentProcessorIndex function returns the system-assigned number of the current processor that the caller is running on.
ULONG NdisCurrentProcessorIndex( );
This function has no parameters.
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.
NDIS drivers call the NdisCurrentProcessorIndex function to obtain the system-assigned number of the current processor that the caller is running on.
|Windows version||Supported in NDIS 6.20 and later.|
|Header||ndis.h (include Ndis.h)|