NdisGetVersion function (ndis.h)

The NdisGetVersion function returns the version number of NDIS.

Syntax

UINT NdisGetVersion();

Return value

Returns the major and minor numbers for the NDIS version in the high and low halves of the unsigned integer respectively.

Remarks

System support for NdisGetVersion is available in Windows XP and later versions.

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisGetVersion (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisGetVersion (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_Miscellaneous_Function(ndis)