NdisCurrentProcessorIndex function (ndis.h)
The NdisCurrentProcessorIndex function returns the system-assigned number of the current processor that the caller is running on.
Syntax
ULONG NdisCurrentProcessorIndex();
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
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.20 and later. |
Target Platform | Universal |
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for