# config-win32.h
C_DEFINES=
C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MAJOR_VERSION=9
-C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=1
+C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=2
# Use 00:FF:XX:XX:XX:XX format MAC addresses where
# the Xs are random (like Linux tap driver).
; This version number should match the version
; number given in SOURCES.
- DriverVer=02/27/2007,9.00.00.0001
+ DriverVer=03/05/2007,9.00.00.0002
[Strings]
DeviceDescription = "TAP-Win32 Adapter V9"
; This version number should match the version
; number given in SOURCES.
- DriverVer=02/27/2007,9.00.00.0001
+ DriverVer=03/05/2007,9.00.00.0002
[Strings]
DeviceDescription = "TAP-Win32 Adapter V9"
#if ENABLE_NONADMIN
+/*
+ * Better solution for use on Vista DDK, but possibly not compatible with
+ * earlier DDKs:
+ *
+ * Eliminate the definition of SECURITY_DESCRIPTOR (and even ZwSetSecurityObject),
+ * and at the top of tapdrv.c change:
+ *
+ * #include <ndis.h>
+ * #include <ntstrsafe.h>
+ * #include <ntddk.h>
+ *
+ * To
+ *
+ * #include <ntifs.h>
+ * #include <ndis.h>
+ * #include <ntstrsafe.h>
+ */
typedef struct _SECURITY_DESCRIPTOR {
- unsigned char opaque[20];
+ unsigned char opaque[64];
} SECURITY_DESCRIPTOR;
NTSYSAPI