- Move NDIS_VERSION into ndissys.h and use it for NdisGetVersion also

svn path=/trunk/; revision=41587
This commit is contained in:
Cameron Gutman 2009-06-23 14:09:59 +00:00
parent 39572f4e0d
commit 42e13d3260
3 changed files with 4 additions and 2 deletions

View file

@ -28,6 +28,9 @@
#define EXPORT NTAPI #define EXPORT NTAPI
#endif #endif
/* the version of NDIS we claim to be */
#define NDIS_VERSION 0x00050001
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24)) #define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
#define NDIS_TAG 0x4e4d4953 #define NDIS_TAG 0x4e4d4953

View file

@ -33,7 +33,6 @@
#include "ndissys.h" #include "ndissys.h"
#define NDIS_VERSION 0x00050001 /* the version of NDIS we claim to be to miniport drivers */
#define PARAMETERS_KEY L"Parameters" /* The parameters subkey under the device-specific key */ #define PARAMETERS_KEY L"Parameters" /* The parameters subkey under the device-specific key */
/* /*

View file

@ -515,7 +515,7 @@ NdisGetVersion(VOID)
{ {
NDIS_DbgPrint(MAX_TRACE, ("Called.\n")); NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
return (UINT) 0x501; return NDIS_VERSION;
} }
/* /*