Share via


NDIS_CURRENT_PROCESSOR_NUMBER (Compact 7)

3/12/2014

This macro returns the system-assigned number of the current processor on which the caller is running.

Syntax

ULONG  NDIS_CURRENT_PROCESSOR_NUMBER

Parameters

None

Return Value

NDIS_CURRENT_PROCESSOR_NUMBER returns a ULONG value that represents the processor on which the caller is currently running.

Remarks

An NDIS driver might call NDIS_CURRENT_PROCESSOR_NUMBER if it maintains per-processor data.

The number of processors in a symmetric multiprocessor (SMP) device is a zero-based value.

NDIS_CURRENT_PROCESSOR_NUMBER is an NDIS wrapper for the KeGetCurrentProcessorNumber routine.

Requirements

Header

ndis.h

See Also

Reference

NDIS Interrupt and Synchronization Macros