diff --git a/ext/zlib-wdk/install.props b/ext/zlib-wdk/install.props
new file mode 100644
index 00000000..aa7c7dfd
--- /dev/null
+++ b/ext/zlib-wdk/install.props
@@ -0,0 +1,53 @@
+
+
+
+
+
+ mkdir $(SolutionDir)x86\dist
+ mkdir $(SolutionDir)x86\dist\bin
+ copy $(SolutionDir)x86\MiniUnzipRelease\miniunz.exe $(SolutionDir)x86\dist\bin
+ copy $(SolutionDir)x86\MiniZipRelease\minizip.exe $(SolutionDir)x86\dist\bin
+ copy $(SolutionDir)x86\TestZlibDllRelease\testzlibdll.exe $(SolutionDir)x86\dist\bin
+ copy $(SolutionDir)x86\TestZlibRelease\testzlib.exe $(SolutionDir)x86\dist\bin
+ copy $(SolutionDir)x86\ZlibDllRelease\zlibwapi.dll $(SolutionDir)x86\dist\bin
+ mkdir $(SolutionDir)x86\dist\include
+ copy ..\..\..\zconf.h $(SolutionDir)x86\dist\include
+ copy ..\..\..\zlib.h $(SolutionDir)x86\dist\include
+ mkdir $(SolutionDir)x86\dist\lib
+ copy $(SolutionDir)x86\ZlibDllRelease\zlibwapi.exp $(SolutionDir)x86\dist\lib
+ copy $(SolutionDir)x86\ZlibDllRelease\zlibwapi.lib $(SolutionDir)x86\dist\lib
+ copy $(SolutionDir)x86\ZlibStatRelease\zlibstat.lib $(SolutionDir)x86\dist\lib
+ copy $(SolutionDir)zlibvc.def $(SolutionDir)x86\dist\lib
+
+
+ mkdir $(SolutionDir)x64\dist
+ mkdir $(SolutionDir)x64\dist\bin
+ copy $(SolutionDir)x64\MiniUnzipRelease\miniunz.exe $(SolutionDir)x64\dist\bin
+ copy $(SolutionDir)x64\MiniZipRelease\minizip.exe $(SolutionDir)x64\dist\bin
+ copy $(SolutionDir)x64\TestZlibDllRelease\testzlibdll.exe $(SolutionDir)x64\dist\bin
+ copy $(SolutionDir)x64\TestZlibRelease\testzlib.exe $(SolutionDir)x64\dist\bin
+ copy $(SolutionDir)x64\ZlibDllRelease\zlibwapi.dll $(SolutionDir)x64\dist\bin
+ mkdir $(SolutionDir)x64\dist\include
+ copy ..\..\..\zconf.h $(SolutionDir)x64\dist\include
+ copy ..\..\..\zlib.h $(SolutionDir)x64\dist\include
+ mkdir $(SolutionDir)x64\dist\lib
+ copy $(SolutionDir)x64\ZlibDllRelease\zlibwapi.exp $(SolutionDir)x64\dist\lib
+ copy $(SolutionDir)x64\ZlibDllRelease\zlibwapi.lib $(SolutionDir)x64\dist\lib
+ copy $(SolutionDir)x64\ZlibStatRelease\zlibstat.lib $(SolutionDir)x64\dist\lib
+ copy $(SolutionDir)zlibvc.def $(SolutionDir)x64\dist\lib
+
+
+
+
+ c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt
+
+
+ msvcrt_winxp.obj
+ msvcrt_win2003.obj
+ c:\WinDDK\7600.16385.1\lib\Crt\i386;c:\WinDDK\7600.16385.1\lib\wxp\i386
+ c:\WinDDK\7600.16385.1\lib\Crt\amd64;c:\WinDDK\7600.16385.1\lib\wnet\amd64
+
+
+
+
+
diff --git a/ext/zlib-wdk/install.vcxproj b/ext/zlib-wdk/install.vcxproj
new file mode 100644
index 00000000..f19aba87
--- /dev/null
+++ b/ext/zlib-wdk/install.vcxproj
@@ -0,0 +1,94 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+ Designer
+
+
+
+ {6064E3A9-3939-4937-A387-C09299FC2952}
+ install
+
+
+
+ Application
+ false
+ true
+ MultiByte
+
+
+ Application
+ false
+ true
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ x86\Install$(Configuration)\
+
+
+ x86\Install$(Configuration)\Tmp\
+
+
+ x64\Install$(Configuration)\
+
+
+ x64\Install$(Configuration)\Tmp\
+
+
+
+ Level3
+ MaxSpeed
+ true
+ true
+
+
+ true
+ true
+ true
+
+
+ $(ZlibDoInstall32)
+
+
+
+
+ Level3
+ MaxSpeed
+ true
+ true
+
+
+ true
+ true
+ true
+
+
+ $(ZlibDoInstall64)
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/install.vcxproj.filters b/ext/zlib-wdk/install.vcxproj.filters
new file mode 100644
index 00000000..86fd366d
--- /dev/null
+++ b/ext/zlib-wdk/install.vcxproj.filters
@@ -0,0 +1,14 @@
+
+
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
+
+
+
+
+ Resource Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/install.vcxproj.user b/ext/zlib-wdk/install.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/install.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/miniunz.vcxproj b/ext/zlib-wdk/miniunz.vcxproj
new file mode 100644
index 00000000..56b846d0
--- /dev/null
+++ b/ext/zlib-wdk/miniunz.vcxproj
@@ -0,0 +1,130 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A}
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+
+
+ Application
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\MiniUnzip$(Configuration)\
+ x86\MiniUnzip$(Configuration)\Tmp\
+ false
+ false
+ x64\MiniUnzip$(Configuration)\
+ x64\MiniUnzip$(Configuration)\Tmp\
+ false
+ false
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;NDEBUG;_CONSOLE;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x86\ZlibDllRelease\zlibwapi.lib;%(WDK32Dependencies);%(AdditionalDependencies)
+ $(OutDir)miniunz.exe
+ true
+ Console
+ true
+ true
+ false
+
+
+ MachineX86
+ %(WDK32LibraryDirectories)
+
+
+
+
+ X64
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ ZLIB_WINAPI;NDEBUG;_CONSOLE;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x64\ZlibDllRelease\zlibwapi.lib;%(WDK64Dependencies);%(AdditionalDependencies)
+ $(OutDir)miniunz.exe
+ true
+ Console
+ true
+ true
+ MachineX64
+ %(WDK64LibraryDirectories)
+
+
+
+
+
+
+
+ {8fd826f8-3739-44e6-8cc8-997122e53b8d}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/miniunz.vcxproj.filters b/ext/zlib-wdk/miniunz.vcxproj.filters
new file mode 100644
index 00000000..0b2a3de2
--- /dev/null
+++ b/ext/zlib-wdk/miniunz.vcxproj.filters
@@ -0,0 +1,22 @@
+
+
+
+
+ {048af943-022b-4db6-beeb-a54c34774ee2}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm
+
+
+ {c1d600d2-888f-4aea-b73e-8b0dd9befa0c}
+ h;hpp;hxx;hm;inl;inc
+
+
+ {0844199a-966b-4f19-81db-1e0125e141b9}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/miniunz.vcxproj.user b/ext/zlib-wdk/miniunz.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/miniunz.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/minizip.vcxproj b/ext/zlib-wdk/minizip.vcxproj
new file mode 100644
index 00000000..aed19fe1
--- /dev/null
+++ b/ext/zlib-wdk/minizip.vcxproj
@@ -0,0 +1,128 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+
+
+ Application
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\MiniZip$(Configuration)\
+ x86\MiniZip$(Configuration)\Tmp\
+ false
+ x64\MiniZip$(Configuration)\
+ x64\MiniZip$(Configuration)\Tmp\
+ false
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;NDEBUG;_CONSOLE;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x86\ZlibDllRelease\zlibwapi.lib;%(WDK32Dependencies);%(AdditionalDependencies)
+ $(OutDir)minizip.exe
+ true
+ Console
+ true
+ true
+ false
+
+
+ MachineX86
+ %(WDK32LibraryDirectories)
+
+
+
+
+ X64
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ ZLIB_WINAPI;NDEBUG;_CONSOLE;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x64\ZlibDllRelease\zlibwapi.lib;%(WDK64Dependencies);%(AdditionalDependencies)
+ $(OutDir)minizip.exe
+ true
+ Console
+ true
+ true
+ MachineX64
+ %(WDK64LibraryDirectories)
+
+
+
+
+
+
+
+ {8fd826f8-3739-44e6-8cc8-997122e53b8d}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/minizip.vcxproj.filters b/ext/zlib-wdk/minizip.vcxproj.filters
new file mode 100644
index 00000000..dd73cd31
--- /dev/null
+++ b/ext/zlib-wdk/minizip.vcxproj.filters
@@ -0,0 +1,22 @@
+
+
+
+
+ {c0419b40-bf50-40da-b153-ff74215b79de}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm
+
+
+ {bb87b070-735b-478e-92ce-7383abb2f36c}
+ h;hpp;hxx;hm;inl;inc
+
+
+ {f46ab6a6-548f-43cb-ae96-681abb5bd5db}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/minizip.vcxproj.user b/ext/zlib-wdk/minizip.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/minizip.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlib.vcxproj b/ext/zlib-wdk/testzlib.vcxproj
new file mode 100644
index 00000000..ab7f1abc
--- /dev/null
+++ b/ext/zlib-wdk/testzlib.vcxproj
@@ -0,0 +1,123 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {AA6666AA-E09F-4135-9C0C-4FE50C3C654B}
+ testzlib
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+ true
+
+
+ Application
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\TestZlib$(Configuration)\
+ x86\TestZlib$(Configuration)\Tmp\
+ false
+ false
+ x64\TestZlib$(Configuration)\
+ x64\TestZlib$(Configuration)\Tmp\
+ false
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;NDEBUG;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreaded
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)testzlib.exe
+ true
+ Console
+ true
+ true
+ false
+
+
+ MachineX86
+ %(WDK32Dependencies);%(AdditionalDependencies)
+ %(WDK32LibraryDirectories)
+
+
+
+
+ ..\..\..;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;NDEBUG;_CONSOLE;_CRT_NONSTDC_NO_WARNINGS;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ Default
+ MultiThreaded
+ false
+ $(IntDir)
+
+
+ %(WDK64Dependencies)
+ true
+ %(WDK64LibraryDirectories)
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlib.vcxproj.filters b/ext/zlib-wdk/testzlib.vcxproj.filters
new file mode 100644
index 00000000..249daa89
--- /dev/null
+++ b/ext/zlib-wdk/testzlib.vcxproj.filters
@@ -0,0 +1,58 @@
+
+
+
+
+ {c1f6a2e3-5da5-4955-8653-310d3efe05a9}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm
+
+
+ {c2aaffdc-2c95-4d6f-8466-4bec5890af2c}
+ h;hpp;hxx;hm;inl;inc
+
+
+ {c274fe07-05f2-461c-964b-f6341e4e7eb5}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlib.vcxproj.user b/ext/zlib-wdk/testzlib.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/testzlib.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlibdll.vcxproj b/ext/zlib-wdk/testzlibdll.vcxproj
new file mode 100644
index 00000000..600b3586
--- /dev/null
+++ b/ext/zlib-wdk/testzlibdll.vcxproj
@@ -0,0 +1,130 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A}
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+
+
+ Application
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\TestZlibDll$(Configuration)\
+ x86\TestZlibDll$(Configuration)\Tmp\
+ false
+ false
+ x64\TestZlibDll$(Configuration)\
+ x64\TestZlibDll$(Configuration)\Tmp\
+ false
+ false
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;NDEBUG;_CONSOLE;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x86\ZlibDllRelease\zlibwapi.lib;%(WDK32Dependencies);%(AdditionalDependencies)
+ $(OutDir)testzlibdll.exe
+ true
+ Console
+ true
+ true
+ false
+
+
+ MachineX86
+ %(WDK32LibraryDirectories)
+
+
+
+
+ X64
+
+
+ MaxSpeed
+ OnlyExplicitInline
+ true
+ ..\..\..;..\..\minizip;%(AdditionalIncludeDirectories)
+ ZLIB_WINAPI;NDEBUG;_CONSOLE;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+ Default
+ MultiThreadedDLL
+ false
+ true
+
+
+ $(IntDir)
+ Level3
+ ProgramDatabase
+
+
+ x64\ZlibDllRelease\zlibwapi.lib;%(WDK64Dependencies);%(AdditionalDependencies)
+ $(OutDir)testzlibdll.exe
+ true
+ Console
+ true
+ true
+ MachineX64
+ %(WDK64LibraryDirectories)
+
+
+
+
+
+
+
+ {8fd826f8-3739-44e6-8cc8-997122e53b8d}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlibdll.vcxproj.filters b/ext/zlib-wdk/testzlibdll.vcxproj.filters
new file mode 100644
index 00000000..53a8693b
--- /dev/null
+++ b/ext/zlib-wdk/testzlibdll.vcxproj.filters
@@ -0,0 +1,22 @@
+
+
+
+
+ {fa61a89f-93fc-4c89-b29e-36224b7592f4}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm
+
+
+ {d4b85da0-2ba2-4934-b57f-e2584e3848ee}
+ h;hpp;hxx;hm;inl;inc
+
+
+ {e573e075-00bd-4a7d-bd67-a8cc9bfc5aca}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/testzlibdll.vcxproj.user b/ext/zlib-wdk/testzlibdll.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/testzlibdll.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlib.rc b/ext/zlib-wdk/zlib.rc
new file mode 100644
index 00000000..f8224508
--- /dev/null
+++ b/ext/zlib-wdk/zlib.rc
@@ -0,0 +1,32 @@
+#include
+
+#define IDR_VERSION1 1
+IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
+ FILEVERSION 1,2,5,0
+ PRODUCTVERSION 1,2,5,0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS_DOS_WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE 0 // not used
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ //language ID = U.S. English, char set = Windows, Multilingual
+
+ BEGIN
+ VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
+ VALUE "FileVersion", "1.2.5\0"
+ VALUE "InternalName", "zlib\0"
+ VALUE "OriginalFilename", "zlib.dll\0"
+ VALUE "ProductName", "ZLib.DLL\0"
+ VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
+ VALUE "LegalCopyright", "(C) 1995-2010 Jean-loup Gailly & Mark Adler\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0409, 1252
+ END
+END
diff --git a/ext/zlib-wdk/zlibstat.vcxproj b/ext/zlib-wdk/zlibstat.vcxproj
new file mode 100644
index 00000000..13d887ff
--- /dev/null
+++ b/ext/zlib-wdk/zlibstat.vcxproj
@@ -0,0 +1,139 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}
+
+
+
+ StaticLibrary
+ false
+
+
+ StaticLibrary
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\ZlibStat$(Configuration)\
+ x86\ZlibStat$(Configuration)\Tmp\
+ x64\ZlibStat$(Configuration)\
+ x64\ZlibStat$(Configuration)\Tmp\
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ OnlyExplicitInline
+ ..\..\..;..\..\masmx86;%(AdditionalIncludeDirectories)
+ WIN32;ZLIB_WINAPI;_CRT_NONSTDC_NO_WARNINGS;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+
+
+ MultiThreaded
+ false
+ true
+ $(IntDir)zlibstat.pch
+ $(IntDir)
+ $(IntDir)
+ $(OutDir)
+ Level3
+ true
+
+
+ 0x040c
+
+
+ /MACHINE:X86 /NODEFAULTLIB %(AdditionalOptions)
+ $(OutDir)zlibstat.lib
+ true
+
+
+
+
+ X64
+
+
+ OnlyExplicitInline
+ ..\..\..;..\..\masmx86;%(AdditionalIncludeDirectories)
+ ZLIB_WINAPI;_CRT_NONSTDC_NO_WARNINGS;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+
+
+ MultiThreaded
+ false
+ true
+ $(IntDir)zlibstat.pch
+ $(IntDir)
+ $(IntDir)
+ $(OutDir)
+ Level3
+ true
+
+
+ 0x040c
+
+
+ /MACHINE:AMD64 /NODEFAULTLIB %(AdditionalOptions)
+ $(OutDir)zlibstat.lib
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlibstat.vcxproj.filters b/ext/zlib-wdk/zlibstat.vcxproj.filters
new file mode 100644
index 00000000..c8c7f7ea
--- /dev/null
+++ b/ext/zlib-wdk/zlibstat.vcxproj.filters
@@ -0,0 +1,77 @@
+
+
+
+
+ {174213f6-7f66-4ae8-a3a8-a1e0a1e6ffdd}
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Source Files
+
+
+
+
+ Source Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlibstat.vcxproj.user b/ext/zlib-wdk/zlibstat.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/zlibstat.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlibvc.def b/ext/zlib-wdk/zlibvc.def
new file mode 100644
index 00000000..0269ef72
--- /dev/null
+++ b/ext/zlib-wdk/zlibvc.def
@@ -0,0 +1,130 @@
+LIBRARY
+; zlib data compression and ZIP file I/O library
+
+VERSION 1.24
+
+EXPORTS
+ adler32 @1
+ compress @2
+ crc32 @3
+ deflate @4
+ deflateCopy @5
+ deflateEnd @6
+ deflateInit2_ @7
+ deflateInit_ @8
+ deflateParams @9
+ deflateReset @10
+ deflateSetDictionary @11
+ gzclose @12
+ gzdopen @13
+ gzerror @14
+ gzflush @15
+ gzopen @16
+ gzread @17
+ gzwrite @18
+ inflate @19
+ inflateEnd @20
+ inflateInit2_ @21
+ inflateInit_ @22
+ inflateReset @23
+ inflateSetDictionary @24
+ inflateSync @25
+ uncompress @26
+ zlibVersion @27
+ gzprintf @28
+ gzputc @29
+ gzgetc @30
+ gzseek @31
+ gzrewind @32
+ gztell @33
+ gzeof @34
+ gzsetparams @35
+ zError @36
+ inflateSyncPoint @37
+ get_crc_table @38
+ compress2 @39
+ gzputs @40
+ gzgets @41
+ inflateCopy @42
+ inflateBackInit_ @43
+ inflateBack @44
+ inflateBackEnd @45
+ compressBound @46
+ deflateBound @47
+ gzclearerr @48
+ gzungetc @49
+ zlibCompileFlags @50
+ deflatePrime @51
+
+ unzOpen @61
+ unzClose @62
+ unzGetGlobalInfo @63
+ unzGetCurrentFileInfo @64
+ unzGoToFirstFile @65
+ unzGoToNextFile @66
+ unzOpenCurrentFile @67
+ unzReadCurrentFile @68
+ unzOpenCurrentFile3 @69
+ unztell @70
+ unzeof @71
+ unzCloseCurrentFile @72
+ unzGetGlobalComment @73
+ unzStringFileNameCompare @74
+ unzLocateFile @75
+ unzGetLocalExtrafield @76
+ unzOpen2 @77
+ unzOpenCurrentFile2 @78
+ unzOpenCurrentFilePassword @79
+
+ zipOpen @80
+ zipOpenNewFileInZip @81
+ zipWriteInFileInZip @82
+ zipCloseFileInZip @83
+ zipClose @84
+ zipOpenNewFileInZip2 @86
+ zipCloseFileInZipRaw @87
+ zipOpen2 @88
+ zipOpenNewFileInZip3 @89
+
+ unzGetFilePos @100
+ unzGoToFilePos @101
+
+ fill_win32_filefunc @110
+
+; zlibwapi v1.2.4 added:
+ fill_win32_filefunc64 @111
+ fill_win32_filefunc64A @112
+ fill_win32_filefunc64W @113
+
+ unzOpen64 @120
+ unzOpen2_64 @121
+ unzGetGlobalInfo64 @122
+ unzGetCurrentFileInfo64 @124
+ unzGetCurrentFileZStreamPos64 @125
+ unztell64 @126
+ unzGetFilePos64 @127
+ unzGoToFilePos64 @128
+
+ zipOpen64 @130
+ zipOpen2_64 @131
+ zipOpenNewFileInZip64 @132
+ zipOpenNewFileInZip2_64 @133
+ zipOpenNewFileInZip3_64 @134
+ zipOpenNewFileInZip4_64 @135
+ zipCloseFileInZipRaw64 @136
+
+; zlib1 v1.2.4 added:
+ adler32_combine @140
+ crc32_combine @142
+ deflateSetHeader @144
+ deflateTune @145
+ gzbuffer @146
+ gzclose_r @147
+ gzclose_w @148
+ gzdirect @149
+ gzoffset @150
+ inflateGetHeader @156
+ inflateMark @157
+ inflatePrime @158
+ inflateReset2 @159
+ inflateUndermine @160
diff --git a/ext/zlib-wdk/zlibvc.sln b/ext/zlib-wdk/zlibvc.sln
new file mode 100644
index 00000000..de207fdc
--- /dev/null
+++ b/ext/zlib-wdk/zlibvc.sln
@@ -0,0 +1,62 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlibvc", "zlibvc.vcxproj", "{8FD826F8-3739-44E6-8CC8-997122E53B8D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlibstat", "zlibstat.vcxproj", "{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testzlib", "testzlib.vcxproj", "{AA6666AA-E09F-4135-9C0C-4FE50C3C654B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testzlibdll", "testzlibdll.vcxproj", "{C52F9E7B-498A-42BE-8DB4-85A15694366A}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minizip", "minizip.vcxproj", "{48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "miniunz", "miniunz.vcxproj", "{C52F9E7B-498A-42BE-8DB4-85A15694382A}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{6064E3A9-3939-4937-A387-C09299FC2952}"
+ ProjectSection(ProjectDependencies) = postProject
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8} = {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A} = {C52F9E7B-498A-42BE-8DB4-85A15694366A}
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A} = {C52F9E7B-498A-42BE-8DB4-85A15694382A}
+ {AA6666AA-E09F-4135-9C0C-4FE50C3C654B} = {AA6666AA-E09F-4135-9C0C-4FE50C3C654B}
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B} = {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D} = {8FD826F8-3739-44E6-8CC8-997122E53B8D}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|Win32.ActiveCfg = Release|Win32
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|Win32.Build.0 = Release|Win32
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.ActiveCfg = Release|x64
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.Build.0 = Release|x64
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|Win32.ActiveCfg = Release|Win32
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|Win32.Build.0 = Release|Win32
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.ActiveCfg = Release|x64
+ {745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.Build.0 = Release|x64
+ {AA6666AA-E09F-4135-9C0C-4FE50C3C654B}.Release|Win32.ActiveCfg = Release|Win32
+ {AA6666AA-E09F-4135-9C0C-4FE50C3C654B}.Release|x64.ActiveCfg = Release|x64
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A}.Release|Win32.ActiveCfg = Release|Win32
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A}.Release|Win32.Build.0 = Release|Win32
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A}.Release|x64.ActiveCfg = Release|x64
+ {C52F9E7B-498A-42BE-8DB4-85A15694366A}.Release|x64.Build.0 = Release|x64
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}.Release|Win32.ActiveCfg = Release|Win32
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}.Release|Win32.Build.0 = Release|Win32
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}.Release|x64.ActiveCfg = Release|x64
+ {48CDD9DC-E09F-4135-9C0C-4FE50C3C654B}.Release|x64.Build.0 = Release|x64
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A}.Release|Win32.ActiveCfg = Release|Win32
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A}.Release|Win32.Build.0 = Release|Win32
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A}.Release|x64.ActiveCfg = Release|x64
+ {C52F9E7B-498A-42BE-8DB4-85A15694382A}.Release|x64.Build.0 = Release|x64
+ {6064E3A9-3939-4937-A387-C09299FC2952}.Release|Win32.ActiveCfg = Release|Win32
+ {6064E3A9-3939-4937-A387-C09299FC2952}.Release|Win32.Build.0 = Release|Win32
+ {6064E3A9-3939-4937-A387-C09299FC2952}.Release|x64.ActiveCfg = Release|x64
+ {6064E3A9-3939-4937-A387-C09299FC2952}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/ext/zlib-wdk/zlibvc.vcxproj b/ext/zlib-wdk/zlibvc.vcxproj
new file mode 100644
index 00000000..0d2448d4
--- /dev/null
+++ b/ext/zlib-wdk/zlibvc.vcxproj
@@ -0,0 +1,199 @@
+
+
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {8FD826F8-3739-44E6-8CC8-997122E53B8D}
+
+
+
+ DynamicLibrary
+ false
+ true
+
+
+ DynamicLibrary
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30128.1
+ x86\ZlibDll$(Configuration)\
+ x86\ZlibDll$(Configuration)\Tmp\
+ false
+ false
+ x64\ZlibDll$(Configuration)\
+ x64\ZlibDll$(Configuration)\Tmp\
+ false
+ false
+ AllRules.ruleset
+
+
+ AllRules.ruleset
+
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ $(OutDir)zlibvc.tlb
+
+
+ OnlyExplicitInline
+ ..\..\..;..\..\masmx86;%(AdditionalIncludeDirectories)
+ WIN32;_CRT_NONSTDC_NO_WARNINGS;ZLIB_WINAPI;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+
+
+ MultiThreadedDLL
+ false
+ true
+ $(IntDir)zlibvc.pch
+ All
+ $(IntDir)
+ $(IntDir)
+ $(OutDir)
+
+
+ Level3
+ true
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x040c
+
+
+ /MACHINE:I386 %(AdditionalOptions)
+ $(OutDir)zlibwapi.dll
+ true
+ false
+ .\zlibvc.def
+ $(OutDir)zlibwapi.pdb
+ true
+ $(OutDir)zlibwapi.map
+ Windows
+ false
+
+
+ $(OutDir)zlibwapi.lib
+ true
+ %(WDK32Dependencies);%(AdditionalDependencies)
+ %(WDK32LibraryDirectories)
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ X64
+ $(OutDir)zlibvc.tlb
+
+
+ OnlyExplicitInline
+ ..\..\..;..\..\masmx86;%(AdditionalIncludeDirectories)
+ WIN32;_CRT_NONSTDC_NO_WARNINGS;ZLIB_WINAPI;WIN64;NO_MSCVER_FILE64_FUNC;%(PreprocessorDefinitions)
+ true
+
+
+ MultiThreadedDLL
+ false
+ true
+ $(IntDir)zlibvc.pch
+ All
+ $(IntDir)
+ $(IntDir)
+ $(OutDir)
+
+
+ Level3
+ true
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x040c
+
+
+ $(OutDir)zlibwapi.dll
+ true
+ false
+ .\zlibvc.def
+ $(OutDir)zlibwapi.pdb
+ true
+ $(OutDir)zlibwapi.map
+ Windows
+ $(OutDir)zlibwapi.lib
+ MachineX64
+ true
+ %(WDK64Dependencies)
+ %(WDK64LibraryDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlibvc.vcxproj.filters b/ext/zlib-wdk/zlibvc.vcxproj.filters
new file mode 100644
index 00000000..180b71cd
--- /dev/null
+++ b/ext/zlib-wdk/zlibvc.vcxproj.filters
@@ -0,0 +1,118 @@
+
+
+
+
+ {07934a85-8b61-443d-a0ee-b2eedb74f3cd}
+ cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90
+
+
+ {1d99675b-433d-4a21-9e50-ed4ab8b19762}
+ h;hpp;hxx;hm;inl;fi;fd
+
+
+ {431c0958-fa71-44d0-9084-2d19d100c0cc}
+ ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Source Files
+
+
+
+
+ Source Files
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+
\ No newline at end of file
diff --git a/ext/zlib-wdk/zlibvc.vcxproj.user b/ext/zlib-wdk/zlibvc.vcxproj.user
new file mode 100644
index 00000000..695b5c78
--- /dev/null
+++ b/ext/zlib-wdk/zlibvc.vcxproj.user
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file