diff options
author | Simon Rozman <simon@rozman.si> | 2020-07-24 09:39:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:50:59 +0100 |
commit | 5925f914e4c8a41acbae5b347afea7b47da0f87c (patch) | |
tree | 7ff255977b7b176d78bc2bfc4cfe510faa389ab2 /wintun.props | |
parent | api: tighten source code annotation (diff) | |
download | wintun-5925f914e4c8a41acbae5b347afea7b47da0f87c.tar.xz wintun-5925f914e4c8a41acbae5b347afea7b47da0f87c.zip |
api: add support for WoW64
Some functions of SetupAPI only work when invoked from a native process.
Registry and filesystem reflection makes them fail on WoW64. For WoW64
processes, a minimum set of rundll32 functions are provided.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.props')
-rw-r--r-- | wintun.props | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wintun.props b/wintun.props index 5b31926..cb71aa9 100644 --- a/wintun.props +++ b/wintun.props @@ -12,9 +12,10 @@ <WintunVersion>$(WintunVersionMaj).$(WintunVersionMin)</WintunVersion><!-- Used for versioning, must be n.n[.n[.n]]. --> <!-- .vcxproj are using different platform names. --> + <WintunPlatform Condition="'$(Platform)'=='ARM'">arm</WintunPlatform> + <WintunPlatform Condition="'$(Platform)'=='ARM64'">arm64</WintunPlatform> <WintunPlatform Condition="'$(Platform)'=='Win32'">x86</WintunPlatform> <WintunPlatform Condition="'$(Platform)'=='x64'">amd64</WintunPlatform> - <WintunPlatform Condition="'$(Platform)'=='ARM64'">arm64</WintunPlatform> <DistributionDir>dist\</DistributionDir> <SDVDir>sdv\</SDVDir> |