NdisGetVersion function

The NdisGetVersion function returns the version number of NDIS.

Syntax

UINT NdisGetVersion(

);

Parameters

This function has no parameters.

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

   
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