aboutsummaryrefslogtreecommitdiff
path: root/tap-win32/prototypes.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-05 20:44:08 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-05 20:44:08 +0000
commit89dc6e77c7180fb1f52bd1a5f82e86205d264ade (patch)
tree7eac339e7375234be1994f14f205655f1a6b3af6 /tap-win32/prototypes.h
parentInclude tap.cat (TAP driver catalog file) in Windows (diff)
downloadopenvpn-89dc6e77c7180fb1f52bd1a5f82e86205d264ade.tar.xz
TAP driver fix for Vista x64 BSOD.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1754 e7ae566f-a301-0410-adde-c780ea21d3b5
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