aboutsummaryrefslogtreecommitdiff
path: root/tap-win32/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tap-win32/prototypes.h')
-rwxr-xr-xtap-win32/prototypes.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/tap-win32/prototypes.h b/tap-win32/prototypes.h
index 2237ed0..55895c4 100755
--- a/tap-win32/prototypes.h
+++ b/tap-win32/prototypes.h
@@ -187,8 +187,25 @@ VOID HookDispatchFunctions();
#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