]> xenbits.xensource.com Git - people/pauldu/xennet.git/commitdiff
Add support for Visual Studio 2013 & WDK 8.1
authorBen Chalmers <Ben.Chalmers@citrix.com>
Thu, 28 Aug 2014 08:16:26 +0000 (09:16 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 2 Sep 2014 14:40:15 +0000 (15:40 +0100)
Signed-off-by: Ben Chalmers <ben.chalmers@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
31 files changed:
build.py
include/version.hx [new file with mode: 0644]
proj/configs.props [deleted file]
proj/package/package.vcxproj [deleted file]
proj/package/package.vcxproj.user [deleted file]
proj/targets.props [deleted file]
proj/xennet.pfx [deleted file]
proj/xennet.sln [deleted file]
proj/xennet/xennet.vcxproj [deleted file]
proj/xennet/xennet.vcxproj.user [deleted file]
proj/xennet_coinst/xennet_coinst.vcxproj [deleted file]
proj/xennet_coinst/xennet_coinst.vcxproj.user [deleted file]
src/xennet.pfx [new file with mode: 0644]
vs2012/configs.props [new file with mode: 0644]
vs2012/package/package.vcxproj [new file with mode: 0644]
vs2012/package/package.vcxproj.user [new file with mode: 0644]
vs2012/targets.props [new file with mode: 0644]
vs2012/xennet.sln [new file with mode: 0644]
vs2012/xennet/xennet.vcxproj [new file with mode: 0644]
vs2012/xennet/xennet.vcxproj.user [new file with mode: 0644]
vs2012/xennet_coinst/xennet_coinst.vcxproj [new file with mode: 0644]
vs2012/xennet_coinst/xennet_coinst.vcxproj.user [new file with mode: 0644]
vs2013/configs.props [new file with mode: 0644]
vs2013/package/package.vcxproj [new file with mode: 0644]
vs2013/package/package.vcxproj.user [new file with mode: 0644]
vs2013/targets.props [new file with mode: 0644]
vs2013/xennet.sln [new file with mode: 0644]
vs2013/xennet/xennet.vcxproj [new file with mode: 0644]
vs2013/xennet/xennet.vcxproj.user [new file with mode: 0644]
vs2013/xennet_coinst/xennet_coinst.vcxproj [new file with mode: 0644]
vs2013/xennet_coinst/xennet_coinst.vcxproj.user [new file with mode: 0644]

index c1a86c98ff3984dacd2a17aa14bda714df039fbc..95122bd8fe2b2decac31bd295c5dfa1c6524102c 100644 (file)
--- a/build.py
+++ b/build.py
@@ -23,64 +23,6 @@ def next_build_number():
 
     return build_number
 
-
-def make_header():
-    now = datetime.datetime.now()
-
-    file = open('include\\version.h', 'w')
-
-    file.write('#define COMPANY_NAME_STR\t"' + os.environ['COMPANY_NAME'] + '"\n')
-    file.write('#define PRODUCT_NAME_STR\t"' + os.environ['PRODUCT_NAME'] + '"\n')
-    file.write('\n')
-
-    file.write('#define MAJOR_VERSION\t' + os.environ['MAJOR_VERSION'] + '\n')
-    file.write('#define MAJOR_VERSION_STR\t"' + os.environ['MAJOR_VERSION'] + '"\n')
-    file.write('\n')
-
-    file.write('#define MINOR_VERSION\t' + os.environ['MINOR_VERSION'] + '\n')
-    file.write('#define MINOR_VERSION_STR\t"' + os.environ['MINOR_VERSION'] + '"\n')
-    file.write('\n')
-
-    file.write('#define MICRO_VERSION\t' + os.environ['MICRO_VERSION'] + '\n')
-    file.write('#define MICRO_VERSION_STR\t"' + os.environ['MICRO_VERSION'] + '"\n')
-    file.write('\n')
-
-    file.write('#define BUILD_NUMBER\t' + os.environ['BUILD_NUMBER'] + '\n')
-    file.write('#define BUILD_NUMBER_STR\t"' + os.environ['BUILD_NUMBER'] + '"\n')
-    file.write('\n')
-
-    file.write('#define YEAR\t' + str(now.year) + '\n')
-    file.write('#define YEAR_STR\t"' + str(now.year) + '"\n')
-    file.write('\n')
-
-    file.write('#define MONTH\t' + str(now.month) + '\n')
-    file.write('#define MONTH_STR\t"' + str(now.month) + '"\n')
-    file.write('\n')
-
-    file.write('#define DAY\t' + str(now.day) + '\n')
-    file.write('#define DAY_STR\t"' + str(now.day) + '"\n')
-    file.write('\n')
-
-    file.close()
-
-
-def copy_inf(name):
-    src = open('src\\%s.inf' % name, 'r')
-    dst = open('proj\\%s.inf' % name, 'w')
-
-    for line in src:
-        line = re.sub('@MAJOR_VERSION@', os.environ['MAJOR_VERSION'], line)
-        line = re.sub('@MINOR_VERSION@', os.environ['MINOR_VERSION'], line)
-        line = re.sub('@MICRO_VERSION@', os.environ['MICRO_VERSION'], line)
-        line = re.sub('@BUILD_NUMBER@', os.environ['BUILD_NUMBER'], line)
-        line = re.sub('@COMPANY_NAME@', os.environ['COMPANY_NAME'], line)
-        line = re.sub('@PRODUCT_NAME@', os.environ['PRODUCT_NAME'], line)
-        dst.write(line)
-
-    dst.close()
-    src.close()
-
-
 def get_expired_symbols(name, age = 30):
     path = os.path.join(os.environ['SYMBOL_SERVER'], '000Admin\\history.txt')
 
@@ -134,11 +76,11 @@ def get_configuration(release, debug):
     return configuration
 
 
-def get_target_path(release, arch, debug):
+def get_target_path(release, arch, debug, vs):
     configuration = get_configuration(release, debug)
     name = ''.join(configuration.split(' '))
     target = { 'x86': os.sep.join([name, 'Win32']), 'x64': os.sep.join([name, 'x64']) }
-    target_path = os.sep.join(['proj', target[arch]])
+    target_path = os.sep.join([vs, target[arch]])
 
     return target_path
 
@@ -182,7 +124,7 @@ def msbuild(platform, configuration, target, file, args, dir):
         raise msbuild_failure(configuration)
 
 
-def build_sln(name, release, arch, debug):
+def build_sln(name, release, arch, debug, vs):
     configuration = get_configuration(release, debug)
 
     if arch == 'x86':
@@ -192,7 +134,7 @@ def build_sln(name, release, arch, debug):
 
     cwd = os.getcwd()
 
-    msbuild(platform, configuration, 'Build', name + '.sln', '', 'proj')
+    msbuild(platform, configuration, 'Build', name + '.sln', '', vs)
 
 
 def remove_timestamps(path):
@@ -213,18 +155,18 @@ def remove_timestamps(path):
     dst.close()
     src.close()
 
-def sdv_clean(name):
-    path = ['proj', name, 'sdv']
+def sdv_clean(name, vs):
+    path = [vs, name, 'sdv']
     print(path)
 
     shutil.rmtree(os.path.join(*path), True)
 
-    path = ['proj', name, 'sdv.temp']
+    path = [vs, name, 'sdv.temp']
     print(path)
 
     shutil.rmtree(os.path.join(*path), True)
 
-    path = ['proj', name, 'staticdv.job']
+    path = [vs, name, 'staticdv.job']
     print(path)
 
     try:
@@ -232,7 +174,7 @@ def sdv_clean(name):
     except OSError:
         pass
 
-    path = ['proj', name, 'refine.sdv']
+    path = [vs, name, 'refine.sdv']
     print(path)
 
     try:
@@ -240,7 +182,7 @@ def sdv_clean(name):
     except OSError:
         pass
 
-    path = ['proj', name, 'sdv-map.h']
+    path = [vs, name, 'sdv-map.h']
     print(path)
 
     try:
@@ -249,19 +191,19 @@ def sdv_clean(name):
         pass
 
 
-def run_sdv(name, dir):
+def run_sdv(name, dir, vs):
     configuration = get_configuration('Windows 8', False)
     platform = 'x64'
 
     msbuild(platform, configuration, 'Build', name + '.vcxproj',
-            '', os.path.join('proj', name))
+            '', os.path.join(vs, name))
 
-    sdv_clean(name)
+    sdv_clean(name, vs)
 
     msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-            '/p:Inputs="/scan"', os.path.join('proj', name))
+            '/p:Inputs="/scan"', os.path.join(vs, name))
 
-    path = ['proj', name, 'sdv-map.h']
+    path = [vs, name, 'sdv-map.h']
     file = open(os.path.join(*path), 'r')
 
     for line in file:
@@ -270,21 +212,21 @@ def run_sdv(name, dir):
     file.close()
 
     msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-            '/p:Inputs="/check:default.sdv"', os.path.join('proj', name))
+            '/p:Inputs="/check:default.sdv"', os.path.join(vs, name))
 
-    path = ['proj', name, 'sdv', 'SDV.DVL.xml']
+    path = [vs, name, 'sdv', 'SDV.DVL.xml']
     remove_timestamps(os.path.join(*path))
 
     msbuild(platform, configuration, 'dvl', name + '.vcxproj',
-            '', os.path.join('proj', name))
+            '', os.path.join(vs, name))
 
-    path = ['proj', name, name + '.DVL.XML']
+    path = [vs, name, name + '.DVL.XML']
     shutil.copy(os.path.join(*path), dir)
 
-    path = ['proj', name, 'refine.sdv']
+    path = [vs, name, 'refine.sdv']
     if os.path.isfile(os.path.join(*path)):
         msbuild(platform, configuration, 'sdv', name + '.vcxproj',
-                '/p:Inputs=/refine', os.path.join('proj', name))
+                '/p:Inputs=/refine', os.path.join(vs, name))
 
 
 def symstore_del(name, age):
@@ -308,8 +250,8 @@ def symstore_del(name, age):
         shell(command, None)
 
 
-def symstore_add(name, release, arch, debug):
-    target_path = get_target_path(release, arch, debug)
+def symstore_add(name, release, arch, debug, vs):
+    target_path = get_target_path(release, arch, debug, vs)
 
     symstore_path = [os.environ['KIT'], 'Debuggers']
     if os.environ['PROCESSOR_ARCHITECTURE'] == 'x86':
@@ -365,11 +307,31 @@ def archive(filename, files, tgz=False):
             pass
     tar.close()
 
+def getVsVersion():
+    vsenv ={} 
+    vars = subprocess.check_output([os.environ['VS']+'\\VC\\vcvarsall.bat', 
+                                        '&&', 'set'], 
+                                    shell=True)
+    print( vars)
+    for var in vars.splitlines():
+        print (var)
+        print (var.strip())
+        k, _, v = map(str.strip, var.strip().decode('utf-8').partition('='))
+        if k.startswith('?'):
+            continue
+        vsenv[k] = v
+
+    if vsenv['VisualStudioVersion'] == '11.0' :
+        return 'vs2012'
+    elif vsenv['VisualStudioVersion'] == '12.0' :
+        return 'vs2013'
+
 
 if __name__ == '__main__':
     debug = { 'checked': True, 'free': False }
     sdv = { 'nosdv': False, None: True }
     driver = 'xennet'
+    vs = getVsVersion()
 
     if 'COMPANY_NAME' not in os.environ.keys():
         os.environ['COMPANY_NAME'] = 'Xen Project'
@@ -391,22 +353,21 @@ if __name__ == '__main__':
         print(os.environ['GIT_REVISION'], file=revision)
         revision.close()
 
-    make_header()
-
-    copy_inf(driver)
-
     symstore_del(driver, 30)
 
-    release = 'Windows Vista'
+    if vs=='vs2012':
+        release = 'Windows Vista'
+    else:
+        release = 'Windows 7'
 
-    build_sln(driver, release, 'x86', debug[sys.argv[1]])
-    build_sln(driver, release, 'x64', debug[sys.argv[1]])
+    build_sln(driver, release, 'x86', debug[sys.argv[1]], vs)
+    build_sln(driver, release, 'x64', debug[sys.argv[1]], vs)
 
-    symstore_add(driver, release, 'x86', debug[sys.argv[1]])
-    symstore_add(driver, release, 'x64', debug[sys.argv[1]])
+    symstore_add(driver, release, 'x86', debug[sys.argv[1]], vs)
+    symstore_add(driver, release, 'x64', debug[sys.argv[1]], vs)
 
     if len(sys.argv) <= 2 or sdv[sys.argv[2]]:
-        run_sdv('xennet', driver)
+        run_sdv('xennet', driver, vs)
 
     archive(driver + '\\source.tgz', manifest().splitlines(), tgz=True)
     archive(driver + '.tar', [driver,'revision'])
diff --git a/include/version.hx b/include/version.hx
new file mode 100644 (file)
index 0000000..92b0a6b
--- /dev/null
@@ -0,0 +1,55 @@
+/* Copyright (c) Citrix Systems Inc.\r
+ * All rights reserved.\r
+ * \r
+ * Redistribution and use in source and binary forms, \r
+ * with or without modification, are permitted provided \r
+ * that the following conditions are met:\r
+ * \r
+ * *   Redistributions of source code must retain the above \r
+ *     copyright notice, this list of conditions and the \r
+ *     following disclaimer.\r
+ * *   Redistributions in binary form must reproduce the above \r
+ *     copyright notice, this list of conditions and the \r
+ *     following disclaimer in the documentation and/or other \r
+ *     materials provided with the distribution.\r
+ * \r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND \r
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, \r
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF \r
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \r
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR \r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, \r
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, \r
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR \r
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \r
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING \r
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE \r
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF \r
+ * SUCH DAMAGE.\r
+ */\r
+\r
+#define COMPANY_NAME_STR       "@COMPANY_NAME@"\r
+#define PRODUCT_NAME_STR       "@PRODUCT_NAME@"\r
+\r
+#define MAJOR_VERSION  @MAJOR_VERSION@\r
+#define MAJOR_VERSION_STR      "@MAJOR_VERSION@"\r
+\r
+#define MINOR_VERSION  @MINOR_VERSION@\r
+#define MINOR_VERSION_STR      "@MINOR_VERSION@"\r
+\r
+#define MICRO_VERSION  @MICRO_VERSION@\r
+#define MICRO_VERSION_STR      "@MICRO_VERSION@"\r
+\r
+#define BUILD_NUMBER   @BUILD_NUMBER@\r
+#define BUILD_NUMBER_STR       "@BUILD_NUMBER@"\r
+\r
+#define YEAR   @YEAR@\r
+#define YEAR_STR       "@YEAR@"\r
+\r
+#define MONTH  @MONTH@\r
+#define MONTH_STR      "@MONTH@"\r
+\r
+#define DAY    @DAY@\r
+#define DAY_STR        "@DAY@"\r
+\r
diff --git a/proj/configs.props b/proj/configs.props
deleted file mode 100644 (file)
index 2567bcf..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
-       <ItemGroup Label="ProjectConfigurations"> 
-               <ProjectConfiguration Include="Windows 8 Debug|Win32"> 
-                       <Configuration>Windows 8 Debug</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 7 Debug|Win32"> 
-                       <Configuration>Windows 7 Debug</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows Vista Debug|Win32"> 
-                       <Configuration>Windows Vista Debug</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 8 Release|Win32"> 
-                       <Configuration>Windows 8 Release</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 7 Release|Win32"> 
-                       <Configuration>Windows 7 Release</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows Vista Release|Win32"> 
-                       <Configuration>Windows Vista Release</Configuration> 
-                       <Platform>Win32</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 8 Debug|x64"> 
-                       <Configuration>Windows8 Debug</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 7 Debug|x64"> 
-                       <Configuration>Windows 7 Debug</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows Vista Debug|x64"> 
-                       <Configuration>Windows Vista Debug</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 8 Release|x64"> 
-                       <Configuration>Windows 8 Release</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows 7 Release|x64"> 
-                       <Configuration>Windows 7 Release</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-               <ProjectConfiguration Include="Windows Vista Release|x64"> 
-                       <Configuration>Windows Vista Release</Configuration> 
-                       <Platform>x64</Platform> 
-               </ProjectConfiguration> 
-       </ItemGroup> 
-</Project>
\ No newline at end of file
diff --git a/proj/package/package.vcxproj b/proj/package/package.vcxproj
deleted file mode 100644 (file)
index 01468c6..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-       <Import Project="..\configs.props" />
-
-       <PropertyGroup Label="PropertySheets">
-               <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
-               <ConfigurationType>Utility</ConfigurationType>
-               <DriverType>Package</DriverType>
-               <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
-       </PropertyGroup>
-       <PropertyGroup Label="Globals">
-               <Configuration>Windows Vista Debug</Configuration>
-               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
-               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
-       </PropertyGroup>
-       
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-       
-       <PropertyGroup Label="Globals">
-               <ProjectGuid>{445FD18F-97E3-4E5D-825F-151026242C05}</ProjectGuid>
-       </PropertyGroup>
-       
-       <Import Project="..\targets.props" />
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
-
-       <PropertyGroup>
-               <EnableInf2cat>true</EnableInf2cat>
-               <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64</Inf2CatWindowsVersionList>
-               <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;7_x86;Server2008_x86;8_x86</Inf2CatWindowsVersionList>
-               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
-               <EnableDeployment>False</EnableDeployment>
-               <ImportToStore>False</ImportToStore>
-               <InstallMode>None</InstallMode>
-               <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>
-               <EnableVerifier>False</EnableVerifier>
-               <AllDrivers>False</AllDrivers>
-               <VerifyProjectOutput>True</VerifyProjectOutput>
-               <VerifyFlags>133563</VerifyFlags>
-               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
-               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
-               <PackageDir>..\..\xennet\$(DDKPlatform)</PackageDir>
-       </PropertyGroup>
-
-       <ItemGroup>
-               <ProjectReference Include="..\xennet\xennet.vcxproj">
-                       <Project>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</Project>
-               </ProjectReference>
-               <ProjectReference Include="..\xennet_coinst\xennet_coinst.vcxproj">
-                       <Project>{3EDD837A-C1BE-47D4-9603-16B61353670B}</Project>
-               </ProjectReference>
-       </ItemGroup>
-       <ItemGroup>
-               <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />
-               <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />
-       </ItemGroup>
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-       <ImportGroup Label="ExtensionTargets">
-       </ImportGroup>
-</Project>
\ No newline at end of file
diff --git a/proj/package/package.vcxproj.user b/proj/package/package.vcxproj.user
deleted file mode 100644 (file)
index 87e2dab..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <SignMode>TestSign</SignMode>
-    <TestCertificate>..\xennet.pfx</TestCertificate>
-    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/proj/targets.props b/proj/targets.props
deleted file mode 100644 (file)
index c8aba92..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> 
-               <TargetVersion>Windows8</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> 
-               <TargetVersion>Windows8</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> 
-               <TargetVersion>Windows8</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> 
-               <TargetVersion>Windows8</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup>
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> 
-               <TargetVersion>Windows7</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> 
-               <TargetVersion>Windows7</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> 
-               <TargetVersion>Windows7</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> 
-               <TargetVersion>Windows7</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup>
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> 
-               <TargetVersion>Vista</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> 
-               <TargetVersion>Vista</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> 
-               <TargetVersion>Vista</TargetVersion> 
-               <UseDebugLibraries>true</UseDebugLibraries> 
-       </PropertyGroup> 
-       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> 
-               <TargetVersion>Vista</TargetVersion> 
-               <UseDebugLibraries>false</UseDebugLibraries> 
-       </PropertyGroup>
-</Project>
diff --git a/proj/xennet.pfx b/proj/xennet.pfx
deleted file mode 100644 (file)
index 5b61f28..0000000
Binary files a/proj/xennet.pfx and /dev/null differ
diff --git a/proj/xennet.sln b/proj/xennet.sln
deleted file mode 100644 (file)
index b3da7b9..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 11
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}"
-       ProjectSection(ProjectDependencies) = postProject
-               {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B}
-       EndProjectSection
-EndProject
-Global
-       GlobalSection(SolutionConfigurationPlatforms) = preSolution
-               Windows 7 Debug|Win32 = Windows 7 Debug|Win32
-               Windows 7 Debug|x64 = Windows 7 Debug|x64
-               Windows 7 Release|Win32 = Windows 7 Release|Win32
-               Windows 7 Release|x64 = Windows 7 Release|x64
-               Windows 8 Debug|Win32 = Windows 8 Debug|Win32
-               Windows 8 Debug|x64 = Windows 8 Debug|x64
-               Windows 8 Release|Win32 = Windows 8 Release|Win32
-               Windows 8 Release|x64 = Windows 8 Release|x64
-               Windows Vista Debug|Win32 = Windows Vista Debug|Win32
-               Windows Vista Debug|x64 = Windows Vista Debug|x64
-               Windows Vista Release|Win32 = Windows Vista Release|Win32
-               Windows Vista Release|x64 = Windows Vista Release|x64
-       EndGlobalSection
-       GlobalSection(ProjectConfigurationPlatforms) = postSolution
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
-               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
-               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
-               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
-       EndGlobalSection
-       GlobalSection(SolutionProperties) = preSolution
-               HideSolutionNode = FALSE
-       EndGlobalSection
-EndGlobal
diff --git a/proj/xennet/xennet.vcxproj b/proj/xennet/xennet.vcxproj
deleted file mode 100644 (file)
index 9bcaf7c..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-       <Import Project="..\configs.props" />
-
-       <PropertyGroup Label="PropertySheets">
-               <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> 
-               <ConfigurationType>Driver</ConfigurationType>
-               <DriverType>WDM</DriverType>
-       </PropertyGroup>
-       <PropertyGroup Label="Globals">
-               <Configuration>Windows Vista Debug</Configuration>
-               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
-               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
-       </PropertyGroup>
-       
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-       
-       <PropertyGroup Label="Globals">
-               <ProjectGuid>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</ProjectGuid>
-       </PropertyGroup>
-       
-       <Import Project="..\targets.props" />
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
-
-       <PropertyGroup>
-               <IncludePath>..\..\include;$(IncludePath)</IncludePath>
-               <RunCodeAnalysis>true</RunCodeAnalysis>
-               <EnableInf2cat>false</EnableInf2cat>
-               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
-               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
-       </PropertyGroup>
-       
-       <ItemDefinitionGroup>
-               <ClCompile>
-                       <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-                       <WarningLevel>EnableAllWarnings</WarningLevel>
-                       <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
-                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
-                       <EnablePREfast>true</EnablePREfast>
-               </ClCompile>
-               <Link>
-                       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
-                       <AdditionalDependencies>$(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies)</AdditionalDependencies>
-                       <EnableCOMDATFolding>false</EnableCOMDATFolding>
-               </Link>
-               <Inf>
-                       <SpecifyArchitecture>true</SpecifyArchitecture>
-                       <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
-                       <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>
-                       <EnableVerbose>true</EnableVerbose>
-               </Inf>
-       </ItemDefinitionGroup>
-       <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
-               <ClCompile>
-                       <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-               </ClCompile>
-               <Inf>
-                       <Architecture>x86</Architecture>
-               </Inf>
-       </ItemDefinitionGroup>
-       <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
-               <ClCompile>
-                       <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-               </ClCompile>
-               <Inf>
-                       <Architecture>amd64</Architecture>
-               </Inf>
-       </ItemDefinitionGroup>
-
-       <ItemGroup>
-               <FilesToPackage Include="$(TargetPath)" />
-               <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
-               <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
-       </ItemGroup>
-       <ItemGroup>
-               <ClCompile Include="../../src/xennet/registry.c" />
-               <ClCompile Include="../../src/xennet/adapter.c" />
-               <ClCompile Include="../../src/xennet/main.c" />
-               <ClCompile Include="../../src/xennet/miniport.c" />
-               <ClCompile Include="../../src/xennet/receiver.c" />
-               <ClCompile Include="../../src/xennet/transmitter.c" />
-       </ItemGroup>
-       <ItemGroup>
-               <ResourceCompile Include="..\..\src\xennet\xennet.rc" />
-       </ItemGroup>
-       <ItemGroup>
-               <Inf Include="..\xennet.inf" />
-       </ItemGroup>
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
diff --git a/proj/xennet/xennet.vcxproj.user b/proj/xennet/xennet.vcxproj.user
deleted file mode 100644 (file)
index 87e2dab..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <SignMode>TestSign</SignMode>
-    <TestCertificate>..\xennet.pfx</TestCertificate>
-    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/proj/xennet_coinst/xennet_coinst.vcxproj b/proj/xennet_coinst/xennet_coinst.vcxproj
deleted file mode 100644 (file)
index 8adb56d..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-       <Import Project="..\configs.props" />
-
-       <PropertyGroup Label="PropertySheets">
-               <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset>
-               <ConfigurationType>DynamicLibrary</ConfigurationType>
-               <DriverType>WDM</DriverType>
-       </PropertyGroup>
-       <PropertyGroup Label="Globals">
-               <Configuration>Windows Vista Debug</Configuration>
-               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
-               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
-       </PropertyGroup>
-       
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-       
-       <PropertyGroup Label="Globals">
-               <ProjectGuid>{3EDD837A-C1BE-47D4-9603-16B61353670B}</ProjectGuid>
-       </PropertyGroup>
-       
-       <Import Project="..\targets.props" />
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
-
-       <PropertyGroup>
-               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
-               <IncludePath>..\..\include;$(IncludePath)</IncludePath>
-               <RunCodeAnalysis>true</RunCodeAnalysis>
-               <EnableInf2cat>false</EnableInf2cat>
-               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
-               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
-       </PropertyGroup>
-       
-       <ItemDefinitionGroup>
-               <ClCompile>
-                       <PreprocessorDefinitions>__MODULE__="XENNET_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>
-                       <WarningLevel>EnableAllWarnings</WarningLevel>
-                       <DisableSpecificWarnings>4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
-                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
-                       <EnablePREfast>true</EnablePREfast>
-                       <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
-                       <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>
-               </ClCompile>
-               <Link>
-                       <ModuleDefinitionFile>../../src/coinst/xennet_coinst.def</ModuleDefinitionFile>
-                       <AdditionalDependencies>setupapi.lib;iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
-               </Link>
-       </ItemDefinitionGroup>
-       <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
-               <ClCompile>
-                       <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-               </ClCompile>
-       </ItemDefinitionGroup>
-       <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
-               <ClCompile>
-                       <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-               </ClCompile>
-       </ItemDefinitionGroup>
-       
-       <ItemGroup>
-               <FilesToPackage Include="$(TargetPath)" />
-               <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
-               <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
-       </ItemGroup>
-       <ItemGroup>
-               <ClCompile Include="..\..\src\coinst\coinst.c" />
-       </ItemGroup>
-       <ItemGroup>
-               <None Include="..\..\src\coinst\xennet_coinst.def" />
-       </ItemGroup>
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
diff --git a/proj/xennet_coinst/xennet_coinst.vcxproj.user b/proj/xennet_coinst/xennet_coinst.vcxproj.user
deleted file mode 100644 (file)
index 87e2dab..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <SignMode>TestSign</SignMode>
-    <TestCertificate>..\xennet.pfx</TestCertificate>
-    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/src/xennet.pfx b/src/xennet.pfx
new file mode 100644 (file)
index 0000000..5b61f28
Binary files /dev/null and b/src/xennet.pfx differ
diff --git a/vs2012/configs.props b/vs2012/configs.props
new file mode 100644 (file)
index 0000000..2567bcf
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
+       <ItemGroup Label="ProjectConfigurations"> 
+               <ProjectConfiguration Include="Windows 8 Debug|Win32"> 
+                       <Configuration>Windows 8 Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Debug|Win32"> 
+                       <Configuration>Windows 7 Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Debug|Win32"> 
+                       <Configuration>Windows Vista Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Release|Win32"> 
+                       <Configuration>Windows 8 Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Release|Win32"> 
+                       <Configuration>Windows 7 Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Release|Win32"> 
+                       <Configuration>Windows Vista Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Debug|x64"> 
+                       <Configuration>Windows8 Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Debug|x64"> 
+                       <Configuration>Windows 7 Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Debug|x64"> 
+                       <Configuration>Windows Vista Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Release|x64"> 
+                       <Configuration>Windows 8 Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Release|x64"> 
+                       <Configuration>Windows 7 Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Release|x64"> 
+                       <Configuration>Windows Vista Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+       </ItemGroup> 
+</Project>
\ No newline at end of file
diff --git a/vs2012/package/package.vcxproj b/vs2012/package/package.vcxproj
new file mode 100644 (file)
index 0000000..01468c6
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+       <Import Project="..\configs.props" />
+
+       <PropertyGroup Label="PropertySheets">
+               <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset>
+               <ConfigurationType>Utility</ConfigurationType>
+               <DriverType>Package</DriverType>
+               <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
+       </PropertyGroup>
+       <PropertyGroup Label="Globals">
+               <Configuration>Windows Vista Debug</Configuration>
+               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
+               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
+       </PropertyGroup>
+       
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+       
+       <PropertyGroup Label="Globals">
+               <ProjectGuid>{445FD18F-97E3-4E5D-825F-151026242C05}</ProjectGuid>
+       </PropertyGroup>
+       
+       <Import Project="..\targets.props" />
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
+
+       <PropertyGroup>
+               <EnableInf2cat>true</EnableInf2cat>
+               <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64</Inf2CatWindowsVersionList>
+               <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;7_x86;Server2008_x86;8_x86</Inf2CatWindowsVersionList>
+               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+               <EnableDeployment>False</EnableDeployment>
+               <ImportToStore>False</ImportToStore>
+               <InstallMode>None</InstallMode>
+               <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>
+               <EnableVerifier>False</EnableVerifier>
+               <AllDrivers>False</AllDrivers>
+               <VerifyProjectOutput>True</VerifyProjectOutput>
+               <VerifyFlags>133563</VerifyFlags>
+               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+               <PackageDir>..\..\xennet\$(DDKPlatform)</PackageDir>
+       </PropertyGroup>
+
+       <ItemGroup>
+               <ProjectReference Include="..\xennet\xennet.vcxproj">
+                       <Project>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</Project>
+               </ProjectReference>
+               <ProjectReference Include="..\xennet_coinst\xennet_coinst.vcxproj">
+                       <Project>{3EDD837A-C1BE-47D4-9603-16B61353670B}</Project>
+               </ProjectReference>
+       </ItemGroup>
+       <ItemGroup>
+               <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />
+               <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />
+       </ItemGroup>
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+       <ImportGroup Label="ExtensionTargets">
+       </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/vs2012/package/package.vcxproj.user b/vs2012/package/package.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>
diff --git a/vs2012/targets.props b/vs2012/targets.props
new file mode 100644 (file)
index 0000000..c8aba92
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+</Project>
diff --git a/vs2012/xennet.sln b/vs2012/xennet.sln
new file mode 100644 (file)
index 0000000..7117370
--- /dev/null
@@ -0,0 +1,144 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 11
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}"
+       ProjectSection(ProjectDependencies) = postProject
+        {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}"
+       ProjectSection(ProjectDependencies) = postProject
+               {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B}
+        {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E}
+       EndProjectSection
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Windows 7 Debug|Win32 = Windows 7 Debug|Win32
+               Windows 7 Debug|x64 = Windows 7 Debug|x64
+               Windows 7 Release|Win32 = Windows 7 Release|Win32
+               Windows 7 Release|x64 = Windows 7 Release|x64
+               Windows 8 Debug|Win32 = Windows 8 Debug|Win32
+               Windows 8 Debug|x64 = Windows 8 Debug|x64
+               Windows 8 Release|Win32 = Windows 8 Release|Win32
+               Windows 8 Release|x64 = Windows 8 Release|x64
+               Windows Vista Debug|Win32 = Windows Vista Debug|Win32
+               Windows Vista Debug|x64 = Windows Vista Debug|x64
+               Windows Vista Release|Win32 = Windows Vista Release|Win32
+               Windows Vista Release|x64 = Windows Vista Release|x64
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Build.0 = Windows 8 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.Deploy.0 = Windows 8 Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/vs2012/xennet/xennet.vcxproj b/vs2012/xennet/xennet.vcxproj
new file mode 100644 (file)
index 0000000..db07e9b
--- /dev/null
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+       <Import Project="..\configs.props" />
+
+       <PropertyGroup Label="PropertySheets">
+               <PlatformToolset>WindowsKernelModeDriver8.0</PlatformToolset> 
+               <ConfigurationType>Driver</ConfigurationType>
+               <DriverType>WDM</DriverType>
+       </PropertyGroup>
+       <PropertyGroup Label="Globals">
+               <Configuration>Windows Vista Debug</Configuration>
+               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
+               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
+       </PropertyGroup>
+       
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+       
+       <PropertyGroup Label="Globals">
+               <ProjectGuid>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</ProjectGuid>
+       </PropertyGroup>
+       
+       <Import Project="..\targets.props" />
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
+
+       <PropertyGroup>
+               <IncludePath>..\..\include;$(IncludePath)</IncludePath>
+               <RunCodeAnalysis>true</RunCodeAnalysis>
+        <EnableInf2cat>false</EnableInf2cat>
+        <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets>
+               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+       </PropertyGroup>
+       
+    <ItemDefinitionGroup>
+        <CustomBuildStep>
+            <Command>echo "Build Inf"
+                powershell -Command "(Get-Content ..\..\src\xennet.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\xennet.inf"
+                echo "Build version header"
+                powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h"
+            </Command>
+            <Outputs>..\xennet.inf;..\..\include\version.h</Outputs>
+            <Inputs>..\..\src\xennet.inf;..\..\include\version.hx</Inputs>
+        </CustomBuildStep>
+               <ClCompile>
+                       <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+                       <WarningLevel>EnableAllWarnings</WarningLevel>
+                       <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
+                       <EnablePREfast>true</EnablePREfast>
+               </ClCompile>
+               <Link>
+                       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
+                       <AdditionalDependencies>$(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies)</AdditionalDependencies>
+                       <EnableCOMDATFolding>false</EnableCOMDATFolding>
+               </Link>
+               <Inf>
+                       <SpecifyArchitecture>true</SpecifyArchitecture>
+                       <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>
+                       <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>
+                       <EnableVerbose>true</EnableVerbose>
+               </Inf>
+       </ItemDefinitionGroup>
+       <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+               <ClCompile>
+                       <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+               </ClCompile>
+               <Inf>
+                       <Architecture>x86</Architecture>
+               </Inf>
+       </ItemDefinitionGroup>
+       <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
+               <ClCompile>
+                       <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+               </ClCompile>
+               <Inf>
+                       <Architecture>amd64</Architecture>
+               </Inf>
+       </ItemDefinitionGroup>
+
+       <ItemGroup>
+               <FilesToPackage Include="$(TargetPath)" />
+               <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
+               <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
+       </ItemGroup>
+       <ItemGroup>
+               <ClCompile Include="../../src/xennet/registry.c" />
+               <ClCompile Include="../../src/xennet/adapter.c" />
+               <ClCompile Include="../../src/xennet/main.c" />
+               <ClCompile Include="../../src/xennet/miniport.c" />
+               <ClCompile Include="../../src/xennet/receiver.c" />
+               <ClCompile Include="../../src/xennet/transmitter.c" />
+       </ItemGroup>
+       <ItemGroup>
+               <ResourceCompile Include="..\..\src\xennet\xennet.rc" />
+       </ItemGroup>
+       <ItemGroup>
+               <Inf Include="..\xennet.inf" />
+       </ItemGroup>
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
diff --git a/vs2012/xennet/xennet.vcxproj.user b/vs2012/xennet/xennet.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>
diff --git a/vs2012/xennet_coinst/xennet_coinst.vcxproj b/vs2012/xennet_coinst/xennet_coinst.vcxproj
new file mode 100644 (file)
index 0000000..8adb56d
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+       <Import Project="..\configs.props" />
+
+       <PropertyGroup Label="PropertySheets">
+               <PlatformToolset>WindowsApplicationForDrivers8.0</PlatformToolset>
+               <ConfigurationType>DynamicLibrary</ConfigurationType>
+               <DriverType>WDM</DriverType>
+       </PropertyGroup>
+       <PropertyGroup Label="Globals">
+               <Configuration>Windows Vista Debug</Configuration>
+               <Platform Condition="'$(Platform)' == ''">Win32</Platform> 
+               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 
+       </PropertyGroup>
+       
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+       
+       <PropertyGroup Label="Globals">
+               <ProjectGuid>{3EDD837A-C1BE-47D4-9603-16B61353670B}</ProjectGuid>
+       </PropertyGroup>
+       
+       <Import Project="..\targets.props" />
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
+
+       <PropertyGroup>
+               <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
+               <IncludePath>..\..\include;$(IncludePath)</IncludePath>
+               <RunCodeAnalysis>true</RunCodeAnalysis>
+               <EnableInf2cat>false</EnableInf2cat>
+               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+       </PropertyGroup>
+       
+       <ItemDefinitionGroup>
+               <ClCompile>
+                       <PreprocessorDefinitions>__MODULE__="XENNET_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>
+                       <WarningLevel>EnableAllWarnings</WarningLevel>
+                       <DisableSpecificWarnings>4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
+                       <EnablePREfast>true</EnablePREfast>
+                       <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
+                       <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>
+               </ClCompile>
+               <Link>
+                       <ModuleDefinitionFile>../../src/coinst/xennet_coinst.def</ModuleDefinitionFile>
+                       <AdditionalDependencies>setupapi.lib;iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
+               </Link>
+       </ItemDefinitionGroup>
+       <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+               <ClCompile>
+                       <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+               </ClCompile>
+       </ItemDefinitionGroup>
+       <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
+               <ClCompile>
+                       <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+               </ClCompile>
+       </ItemDefinitionGroup>
+       
+       <ItemGroup>
+               <FilesToPackage Include="$(TargetPath)" />
+               <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
+               <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
+       </ItemGroup>
+       <ItemGroup>
+               <ClCompile Include="..\..\src\coinst\coinst.c" />
+       </ItemGroup>
+       <ItemGroup>
+               <None Include="..\..\src\coinst\xennet_coinst.def" />
+       </ItemGroup>
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
\ No newline at end of file
diff --git a/vs2012/xennet_coinst/xennet_coinst.vcxproj.user b/vs2012/xennet_coinst/xennet_coinst.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>
diff --git a/vs2013/configs.props b/vs2013/configs.props
new file mode 100644 (file)
index 0000000..43987fb
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
+       <ItemGroup Label="ProjectConfigurations"> 
+               <ProjectConfiguration Include="Windows 8 Debug|Win32"> 
+                       <Configuration>Windows 8 Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Debug|Win32"> 
+                       <Configuration>Windows 7 Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Debug|Win32"> 
+                       <Configuration>Windows Vista Debug</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Release|Win32"> 
+                       <Configuration>Windows 8 Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Release|Win32"> 
+                       <Configuration>Windows 7 Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Release|Win32"> 
+                       <Configuration>Windows Vista Release</Configuration> 
+                       <Platform>Win32</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Debug|x64"> 
+                       <Configuration>Windows 8 Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Debug|x64"> 
+                       <Configuration>Windows 7 Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Debug|x64"> 
+                       <Configuration>Windows Vista Debug</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 8 Release|x64"> 
+                       <Configuration>Windows 8 Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows 7 Release|x64"> 
+                       <Configuration>Windows 7 Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+               <ProjectConfiguration Include="Windows Vista Release|x64"> 
+                       <Configuration>Windows Vista Release</Configuration> 
+                       <Platform>x64</Platform> 
+               </ProjectConfiguration> 
+       </ItemGroup> 
+</Project>
diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj
new file mode 100644 (file)
index 0000000..5788ad5
--- /dev/null
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <Import Project="..\configs.props" />\r
+  <PropertyGroup Label="PropertySheets">\r
+    <ConfigurationType>Utility</ConfigurationType>\r
+    <DriverType>Package</DriverType>\r
+    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <Configuration>Windows Vista Debug</Configuration>\r
+    <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+  </PropertyGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'">\r
+    <PlatformToolset>v120</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <ProjectGuid>{445FD18F-97E3-4E5D-825F-151026242C05}</ProjectGuid>\r
+  </PropertyGroup>\r
+  <Import Project="..\targets.props" />\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+  <PropertyGroup>\r
+    <EnableInf2cat>true</EnableInf2cat>\r
+    <Inf2CatWindowsVersionList Condition="'$(Platform)'=='x64'">Vista_x64;7_x64;Server2008_x64;Server2008R2_x64;Server8_x64</Inf2CatWindowsVersionList>\r
+    <Inf2CatWindowsVersionList Condition="'$(Platform)'=='Win32'">Vista_x86;7_x86;Server2008_x86;8_x86</Inf2CatWindowsVersionList>\r
+    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+    <EnableDeployment>False</EnableDeployment>\r
+    <ImportToStore>False</ImportToStore>\r
+    <InstallMode>None</InstallMode>\r
+    <ScriptDeviceQuery>%PathToInf%</ScriptDeviceQuery>\r
+    <EnableVerifier>False</EnableVerifier>\r
+    <AllDrivers>False</AllDrivers>\r
+    <VerifyProjectOutput>True</VerifyProjectOutput>\r
+    <VerifyFlags>133563</VerifyFlags>\r
+    <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+    <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+    <PackageDir>..\..\xennet\$(DDKPlatform)</PackageDir>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\xennet\xennet.vcxproj">\r
+      <Project>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</Project>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\xennet_coinst\xennet_coinst.vcxproj">\r
+      <Project>{3EDD837A-C1BE-47D4-9603-16B61353670B}</Project>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x86\dpinst.exe" Condition="'$(Platform)'=='Win32'" />\r
+    <FilesToPackage Include="$(KIT)\Redist\DIFx\dpinst\EngMui\x64\dpinst.exe" Condition="'$(Platform)'=='x64'" />\r
+  </ItemGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+  <ImportGroup Label="ExtensionTargets">\r
+  </ImportGroup>\r
+</Project>
\ No newline at end of file
diff --git a/vs2013/package/package.vcxproj.user b/vs2013/package/package.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>
diff --git a/vs2013/targets.props b/vs2013/targets.props
new file mode 100644 (file)
index 0000000..c8aba92
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'"> 
+               <TargetVersion>Windows8</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'"> 
+               <TargetVersion>Windows7</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>true</UseDebugLibraries> 
+       </PropertyGroup> 
+       <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'"> 
+               <TargetVersion>Vista</TargetVersion> 
+               <UseDebugLibraries>false</UseDebugLibraries> 
+       </PropertyGroup>
+</Project>
diff --git a/vs2013/xennet.sln b/vs2013/xennet.sln
new file mode 100644 (file)
index 0000000..24571f0
--- /dev/null
@@ -0,0 +1,139 @@
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio Express 2013 for Windows Desktop\r
+VisualStudioVersion = 12.0.21005.1\r
+MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet", "xennet\xennet.vcxproj", "{97D9942B-5EA3-488C-B512-C96E5D077F8E}"\r
+EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xennet_coinst", "xennet_coinst\xennet_coinst.vcxproj", "{3EDD837A-C1BE-47D4-9603-16B61353670B}"\r
+       ProjectSection(ProjectDependencies) = postProject\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E} = {97D9942B-5EA3-488C-B512-C96E5D077F8E}\r
+       EndProjectSection\r
+EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{445FD18F-97E3-4E5D-825F-151026242C05}"\r
+       ProjectSection(ProjectDependencies) = postProject\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B} = {3EDD837A-C1BE-47D4-9603-16B61353670B}\r
+       EndProjectSection\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Windows 7 Debug|Win32 = Windows 7 Debug|Win32\r
+               Windows 7 Debug|x64 = Windows 7 Debug|x64\r
+               Windows 7 Release|Win32 = Windows 7 Release|Win32\r
+               Windows 7 Release|x64 = Windows 7 Release|x64\r
+               Windows 8 Debug|Win32 = Windows 8 Debug|Win32\r
+               Windows 8 Debug|x64 = Windows 8 Debug|x64\r
+               Windows 8 Release|Win32 = Windows 8 Release|Win32\r
+               Windows 8 Release|x64 = Windows 8 Release|x64\r
+               Windows Vista Debug|Win32 = Windows Vista Debug|Win32\r
+               Windows Vista Debug|x64 = Windows Vista Debug|x64\r
+               Windows Vista Release|Win32 = Windows Vista Release|Win32\r
+               Windows Vista Release|x64 = Windows Vista Release|x64\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64\r
+               {97D9942B-5EA3-488C-B512-C96E5D077F8E}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64\r
+               {3EDD837A-C1BE-47D4-9603-16B61353670B}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|Win32.Deploy.0 = Windows 8 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Debug|x64.ActiveCfg = Windows 8 Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.ActiveCfg = Windows 8 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Build.0 = Windows 8 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|Win32.Deploy.0 = Windows 8 Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.ActiveCfg = Windows 8 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Build.0 = Windows 8 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows 8 Release|x64.Deploy.0 = Windows 8 Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64\r
+               {445FD18F-97E3-4E5D-825F-151026242C05}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+EndGlobal\r
diff --git a/vs2013/xennet/xennet.vcxproj b/vs2013/xennet/xennet.vcxproj
new file mode 100644 (file)
index 0000000..908bc2d
--- /dev/null
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <Import Project="..\configs.props" />\r
+  <PropertyGroup Label="PropertySheets">\r
+    <ConfigurationType>Driver</ConfigurationType>\r
+    <DriverType>WDM</DriverType>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <Configuration>Windows Vista Debug</Configuration>\r
+    <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+  </PropertyGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'">\r
+    <PlatformToolset>v120</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <ProjectGuid>{97D9942B-5EA3-488C-B512-C96E5D077F8E}</ProjectGuid>\r
+  </PropertyGroup>\r
+  <Import Project="..\targets.props" />\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+  <PropertyGroup>\r
+    <IncludePath>..\..\include;$(IncludePath)</IncludePath>\r
+    <RunCodeAnalysis>true</RunCodeAnalysis>\r
+    <EnableInf2cat>false</EnableInf2cat>\r
+    <CustomBuildBeforeTargets>ClCompile;StampInf</CustomBuildBeforeTargets>\r
+    <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+    <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+  </PropertyGroup>\r
+  <ItemDefinitionGroup>\r
+    <CustomBuildStep>\r
+      <Command>echo "Build Inf"
+                powershell -Command "(Get-Content ..\..\src\xennet.inf) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' | Set-Content ..\xennet.inf"
+                echo "Build version header"
+                powershell -Command "(Get-Content ..\..\include\version.hx) -replace '@MAJOR_VERSION@', '$(MAJOR_VERSION)' -replace '@MINOR_VERSION@', '$(MINOR_VERSION)' -replace '@MICRO_VERSION@','$(MICRO_VERSION)' -replace '@BUILD_NUMBER@','$(BUILD_NUMBER)' -replace '@COMPANY_NAME@','$(COMPANY_NAME)' -replace '@PRODUCT_NAME@','$(PRODUCT_NAME)' -replace '@DAY@',%24(Get-Date -format %25%25d) -replace '@MONTH@',%24(Get-Date -format %25%25M) -replace '@YEAR@',%24(Get-Date -format yyyy) | Set-Content ..\..\include\version.h"
+            </Command>\r
+      <Outputs>..\xennet.inf;..\..\include\version.h</Outputs>\r
+      <Inputs>..\..\src\xennet.inf;..\..\include\version.hx</Inputs>\r
+    </CustomBuildStep>\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <WarningLevel>EnableAllWarnings</WarningLevel>\r
+      <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+      <EnablePREfast>true</EnablePREfast>\r
+    </ClCompile>\r
+    <Link>\r
+      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>\r
+      <AdditionalDependencies>$(DDK_LIB_PATH)\ndis.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+      <EnableCOMDATFolding>false</EnableCOMDATFolding>\r
+    </Link>\r
+    <Inf>\r
+      <SpecifyArchitecture>true</SpecifyArchitecture>\r
+      <SpecifyDriverVerDirectiveVersion>true</SpecifyDriverVerDirectiveVersion>\r
+      <TimeStamp>$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION).$(BUILD_NUMBER)</TimeStamp>\r
+      <EnableVerbose>true</EnableVerbose>\r
+    </Inf>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+    </ClCompile>\r
+    <Inf>\r
+      <Architecture>x86</Architecture>\r
+    </Inf>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+    </ClCompile>\r
+    <Inf>\r
+      <Architecture>amd64</Architecture>\r
+    </Inf>\r
+  </ItemDefinitionGroup>\r
+  <ItemGroup>\r
+    <FilesToPackage Include="$(TargetPath)" />\r
+    <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />\r
+    <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ClCompile Include="../../src/xennet/registry.c" />\r
+    <ClCompile Include="../../src/xennet/adapter.c" />\r
+    <ClCompile Include="../../src/xennet/main.c" />\r
+    <ClCompile Include="../../src/xennet/miniport.c" />\r
+    <ClCompile Include="../../src/xennet/receiver.c" />\r
+    <ClCompile Include="../../src/xennet/transmitter.c" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ResourceCompile Include="..\..\src\xennet\xennet.rc" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Inf Include="..\xennet.inf" />\r
+  </ItemGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>
\ No newline at end of file
diff --git a/vs2013/xennet/xennet.vcxproj.user b/vs2013/xennet/xennet.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>
diff --git a/vs2013/xennet_coinst/xennet_coinst.vcxproj b/vs2013/xennet_coinst/xennet_coinst.vcxproj
new file mode 100644 (file)
index 0000000..7c8f7e2
--- /dev/null
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <Import Project="..\configs.props" />\r
+  <PropertyGroup Label="PropertySheets">\r
+    <ConfigurationType>DynamicLibrary</ConfigurationType>\r
+    <DriverType>WDM</DriverType>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <Configuration>Windows Vista Debug</Configuration>\r
+    <Platform Condition="'$(Platform)' == ''">Win32</Platform>\r
+    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+  </PropertyGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows8 Debug|x64'">\r
+    <PlatformToolset>v120</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'">\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+  </PropertyGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <ProjectGuid>{3EDD837A-C1BE-47D4-9603-16B61353670B}</ProjectGuid>\r
+  </PropertyGroup>\r
+  <Import Project="..\targets.props" />\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+  <PropertyGroup>\r
+    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>\r
+    <IncludePath>..\..\include;$(IncludePath)</IncludePath>\r
+    <RunCodeAnalysis>true</RunCodeAnalysis>\r
+    <EnableInf2cat>false</EnableInf2cat>\r
+    <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+    <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+  </PropertyGroup>\r
+  <ItemDefinitionGroup>\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__MODULE__="XENNET_COINST";%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <WarningLevel>EnableAllWarnings</WarningLevel>\r
+      <DisableSpecificWarnings>4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+      <EnablePREfast>true</EnablePREfast>\r
+      <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>\r
+      <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='false'">MultiThreaded</RuntimeLibrary>\r
+    </ClCompile>\r
+    <Link>\r
+      <ModuleDefinitionFile>../../src/coinst/xennet_coinst.def</ModuleDefinitionFile>\r
+      <AdditionalDependencies>setupapi.lib;iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+    </Link>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+    </ClCompile>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+    </ClCompile>\r
+  </ItemDefinitionGroup>\r
+  <ItemGroup>\r
+    <FilesToPackage Include="$(TargetPath)" />\r
+    <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />\r
+    <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ClCompile Include="..\..\src\coinst\coinst.c" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="..\..\src\coinst\xennet_coinst.def" />\r
+  </ItemGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>
\ No newline at end of file
diff --git a/vs2013/xennet_coinst/xennet_coinst.vcxproj.user b/vs2013/xennet_coinst/xennet_coinst.vcxproj.user
new file mode 100644 (file)
index 0000000..a5433e9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <SignMode>TestSign</SignMode>
+    <TestCertificate>..\..\src\xennet.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>