aboutsummaryrefslogtreecommitdiff
path: root/tap-win32/prototypes.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-04-19 10:20:57 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-04-19 10:20:57 +0000
commit35a3c167a12dfacc434a197497627114a904dae1 (patch)
tree57ee3b9f469a02a31f10a1293d3f217972eddcd8 /tap-win32/prototypes.h
parentAdded options to version.nsi that allow prebuilt (diff)
downloadopenvpn-35a3c167a12dfacc434a197497627114a904dae1.tar.xz
Updated build system and tap driver to work with
version 5600 of the Windows DDK. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1851 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'tap-win32/prototypes.h')
-rwxr-xr-xtap-win32/prototypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tap-win32/prototypes.h b/tap-win32/prototypes.h
index 2bd9961..788670c 100755
--- a/tap-win32/prototypes.h
+++ b/tap-win32/prototypes.h
@@ -187,6 +187,7 @@ VOID HookDispatchFunctions();
#if ENABLE_NONADMIN
+#if DDKVER < 5600
/*
* Better solution for use on Vista DDK, but possibly not compatible with
* earlier DDKs:
@@ -216,6 +217,8 @@ ZwSetSecurityObject (
IN SECURITY_INFORMATION SecurityInformation,
IN PSECURITY_DESCRIPTOR SecurityDescriptor);
+#endif
+
VOID AllowNonAdmin (TapExtensionPointer p_Extension);
#endif