]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/commitdiff
Support Visual Studio 2013 & WDK 8.1
authorBen Chalmers <Ben.Chalmers@citrix.com>
Tue, 19 Aug 2014 09:55:38 +0000 (10:55 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 2 Sep 2014 15:11:51 +0000 (16:11 +0100)
Signed-off-by: Ben Chalmers <ben.chalmers@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
38 files changed:
build.py
include/version.hx [new file with mode: 0644]
proj/configs.props [deleted file]
proj/liteagent/LiteAgent.vcxproj [deleted file]
proj/liteagent/LiteAgent.vcxproj.user [deleted file]
proj/msbuild_dvl.bat [deleted file]
proj/msbuild_sdv.bat [deleted file]
proj/package/package.vcxproj [deleted file]
proj/package/package.vcxproj.user [deleted file]
proj/targets.props [deleted file]
proj/xeniface.pfx [deleted file]
proj/xeniface.sln [deleted file]
proj/xeniface/xeniface.vcxproj [deleted file]
proj/xeniface/xeniface.vcxproj.user [deleted file]
src/win32stubagent/WmiAccessor.cpp
src/xeniface.pfx [new file with mode: 0644]
vs2012/configs.props [new file with mode: 0644]
vs2012/liteagent/LiteAgent.vcxproj [new file with mode: 0644]
vs2012/liteagent/LiteAgent.vcxproj.user [new file with mode: 0644]
vs2012/msbuild_dvl.bat [new file with mode: 0644]
vs2012/msbuild_sdv.bat [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/xeniface.sln [new file with mode: 0644]
vs2012/xeniface/xeniface.vcxproj [new file with mode: 0644]
vs2012/xeniface/xeniface.vcxproj.user [new file with mode: 0644]
vs2013/configs.props [new file with mode: 0644]
vs2013/liteagent/LiteAgent.vcxproj [new file with mode: 0644]
vs2013/liteagent/LiteAgent.vcxproj.user [new file with mode: 0644]
vs2013/msbuild_dvl.bat [new file with mode: 0644]
vs2013/msbuild_sdv.bat [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/xeniface.sln [new file with mode: 0644]
vs2013/xeniface/xeniface.vcxproj [new file with mode: 0644]
vs2013/xeniface/xeniface.vcxproj.user [new file with mode: 0644]

index 763a8e30e00f88057cb515732cbca1ed10338583..f72f521d8c1bb2fc108c34a55734fde1b57a2de8 100644 (file)
--- a/build.py
+++ b/build.py
@@ -67,9 +67,9 @@ def make_header():
     file.close()
 
 
-def copy_inf(name):
+def copy_inf(name, vs):
     src = open('src\\%s.inf' % name, 'r')
-    dst = open('proj\\%s.inf' % name, 'w')
+    dst = open(vs+'\\%s.inf' % name, 'w')
 
     for line in src:
         line = re.sub('@MAJOR_VERSION@', os.environ['MAJOR_VERSION'], line)
@@ -149,11 +149,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
 
@@ -197,7 +197,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':
@@ -207,7 +207,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):
@@ -228,18 +228,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:
@@ -247,7 +247,7 @@ def sdv_clean(name):
     except OSError:
         pass
 
-    path = ['proj', name, 'refine.sdv']
+    path = [vs, name, 'refine.sdv']
     print(path)
 
     try:
@@ -255,7 +255,7 @@ def sdv_clean(name):
     except OSError:
         pass
 
-    path = ['proj', name, 'sdv-map.h']
+    path = [vs, name, 'sdv-map.h']
     print(path)
 
     try:
@@ -264,19 +264,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:
@@ -285,21 +285,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):
@@ -323,8 +323,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':
@@ -380,11 +380,30 @@ 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 = 'xeniface'
+    vs = getVsVersion()
 
     if 'COMPANY_NAME' not in os.environ.keys():
         os.environ['COMPANY_NAME'] = 'Xen Project'
@@ -409,24 +428,27 @@ if __name__ == '__main__':
         print(os.environ['GIT_REVISION'], file=revision)
         revision.close()
 
-    make_header()
+    #make_header()
 
-    copy_mof(driver)
+    #copy_mof(driver)
 
-    copy_inf(driver)
+    #copy_inf(driver, vs)
 
     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('xeniface', driver)
+        run_sdv('xeniface', 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..ea1d0af
--- /dev/null
@@ -0,0 +1,58 @@
+/* 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
+#define OBJECT_PREFIX_STR   "@OBJECT_PREFIX"\r
+#define OBJECT_GUID(_Name)  @OBJECT_PREFIX@ ## _Name ## _GUID\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/liteagent/LiteAgent.vcxproj b/proj/liteagent/LiteAgent.vcxproj
deleted file mode 100644 (file)
index e67918a..0000000
+++ /dev/null
@@ -1,251 +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="Debug|Win32">
-      <Configuration>Debug</Configuration>
-      <Platform>Win32</Platform>
-    </ProjectConfiguration>
-    <ProjectConfiguration Include="Debug|x64">
-      <Configuration>Debug</Configuration>
-      <Platform>x64</Platform>
-    </ProjectConfiguration>
-    <ProjectConfiguration Include="Release|Win32">
-      <Configuration>Release</Configuration>
-      <Platform>Win32</Platform>
-    </ProjectConfiguration>
-    <ProjectConfiguration Include="Release|x64">
-      <Configuration>Release</Configuration>
-      <Platform>x64</Platform>
-    </ProjectConfiguration>
-  </ItemGroup>
-  <PropertyGroup Label="Globals">
-    <ProjectGuid>{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}</ProjectGuid>
-    <Keyword>Win32Proj</Keyword>
-    <RootNamespace>StubAgent</RootNamespace>
-    <ProjectName>LiteAgent</ProjectName>
-  </PropertyGroup>
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
-    <ConfigurationType>Application</ConfigurationType>
-    <UseDebugLibraries>true</UseDebugLibraries>
-    <PlatformToolset>v110</PlatformToolset>
-    <CharacterSet>MultiByte</CharacterSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
-    <ConfigurationType>Application</ConfigurationType>
-    <UseDebugLibraries>true</UseDebugLibraries>
-    <PlatformToolset>v110</PlatformToolset>
-    <CharacterSet>MultiByte</CharacterSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
-    <ConfigurationType>Application</ConfigurationType>
-    <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v110</PlatformToolset>
-    <WholeProgramOptimization>true</WholeProgramOptimization>
-    <CharacterSet>MultiByte</CharacterSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
-    <ConfigurationType>Application</ConfigurationType>
-    <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v110</PlatformToolset>
-    <WholeProgramOptimization>true</WholeProgramOptimization>
-    <CharacterSet>MultiByte</CharacterSet>
-  </PropertyGroup>
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-  <ImportGroup Label="ExtensionSettings">
-  </ImportGroup>
-  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-  </ImportGroup>
-  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-  </ImportGroup>
-  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-  </ImportGroup>
-  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-  </ImportGroup>
-  <PropertyGroup Label="UserMacros" />
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
-    <LinkIncremental>true</LinkIncremental>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
-    <LinkIncremental>true</LinkIncremental>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <LinkIncremental>false</LinkIncremental>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
-    <LinkIncremental>false</LinkIncremental>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <IncludePath>..\..\include;$(IncludePath)</IncludePath>
-  </PropertyGroup>
-
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
-    <ClCompile>
-      <PrecompiledHeader>Use</PrecompiledHeader>
-      <WarningLevel>Level3</WarningLevel>
-      <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <SDLCheck>true</SDLCheck>
-      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
-    </ClCompile>
-    <Link>
-      <SubSystem>Windows</SubSystem>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
-    </Link>
-    <CustomBuildStep>
-        <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
-            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
-    </CustomBuildStep>
-    <CustomBuildStep>
-      <Message>Copying output files</Message>
-      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
-      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
-    </CustomBuildStep>
-  </ItemDefinitionGroup>
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
-    <ClCompile>
-      <PrecompiledHeader>Use</PrecompiledHeader>
-      <WarningLevel>Level3</WarningLevel>
-      <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <SDLCheck>true</SDLCheck>
-      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
-    </ClCompile>
-    <Link>
-      <SubSystem>Windows</SubSystem>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
-    </Link>
-    <CustomBuildStep>
-        <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
-            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
-    </CustomBuildStep>
-    <CustomBuildStep>
-      <Message>Copying output files</Message>
-      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
-      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
-    </CustomBuildStep>
-  </ItemDefinitionGroup>
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <ClCompile>
-      <WarningLevel>Level3</WarningLevel>
-      <PrecompiledHeader>Create</PrecompiledHeader>
-      <Optimization>MaxSpeed</Optimization>
-      <FunctionLevelLinking>true</FunctionLevelLinking>
-      <IntrinsicFunctions>true</IntrinsicFunctions>
-      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <SDLCheck>true</SDLCheck>
-      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <BrowseInformation>true</BrowseInformation>
-      <PreprocessToFile>false</PreprocessToFile>
-      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
-    </ClCompile>
-    <Link>
-      <SubSystem>Windows</SubSystem>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
-      <OptimizeReferences>true</OptimizeReferences>
-      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
-    </Link>
-    <CustomBuildStep>
-      <Message>Copying output files</Message>
-      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
-          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
-      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
-      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
-    </CustomBuildStep>
-  </ItemDefinitionGroup>
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
-    <ClCompile>
-      <WarningLevel>Level3</WarningLevel>
-      <PrecompiledHeader>Create</PrecompiledHeader>
-      <Optimization>MaxSpeed</Optimization>
-      <FunctionLevelLinking>true</FunctionLevelLinking>
-      <IntrinsicFunctions>true</IntrinsicFunctions>
-      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <SDLCheck>true</SDLCheck>
-      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <BrowseInformation>true</BrowseInformation>
-      <PreprocessToFile>false</PreprocessToFile>
-      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
-    </ClCompile>
-    <Link>
-      <SubSystem>Windows</SubSystem>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
-      <OptimizeReferences>true</OptimizeReferences>
-      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
-    </Link>
-    <CustomBuildStep>
-      <Message>Copying output files</Message>
-      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
-          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
-      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
-      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
-    </CustomBuildStep>
-  </ItemDefinitionGroup>
-  <ItemGroup>
-    <ClCompile Include="..\..\src\win32stubagent\errors.cpp">
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
-    </ClCompile>
-    <ClCompile Include="..\..\src\win32stubagent\stdafx.cpp">
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
-    </ClCompile>
-    <ClCompile Include="..\..\src\win32stubagent\WmiAccessor.cpp">
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
-    </ClCompile>
-    <ClCompile Include="..\..\src\win32stubagent\XSAccessor.cpp">
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
-    </ClCompile>
-    <ClCompile Include="..\..\src\win32stubagent\XService.cpp">
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
-    </ClCompile>
-  </ItemGroup>
-  <ItemGroup>
-    <ClInclude Include="..\..\src\win32stubagent\stdafx.h" />
-    <ClInclude Include="..\..\src\win32stubagent\WmiAccessor.h" />
-    <ClInclude Include="..\..\src\win32stubagent\XSAccessor.h" />
-    <ClInclude Include="..\..\src\win32stubagent\XService.h" />
-  </ItemGroup>
-  <ItemGroup>
-    <CustomBuild Include="..\..\src\win32stubagent\messages.mc">
-      <FileType>Document</FileType>
-      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mc %(FullPath)</Command>
-      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">mc %(FullPath)</Command>
-      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).rc;%(Filename).h</Outputs>
-      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Filename).rc;%(Filename).h</Outputs>
-      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mc %(FullPath)</Command>
-      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mc %(FullPath)</Command>
-      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Filename).rc;%(Filename).h</Outputs>
-      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).rc;%(Filename).h</Outputs>
-    </CustomBuild>
-  </ItemGroup>
-  <ItemGroup>
-    <ResourceCompile Include="..\..\src\win32stubagent\w32xagent.rc" />
-  </ItemGroup>
-  <ItemGroup>
-    <Image Include="..\..\src\win32stubagent\xen.ico" />
-  </ItemGroup>
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-  <ImportGroup Label="ExtensionTargets">
-  </ImportGroup>
-</Project>
diff --git a/proj/liteagent/LiteAgent.vcxproj.user b/proj/liteagent/LiteAgent.vcxproj.user
deleted file mode 100644 (file)
index a375ae3..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup />
-</Project>
\ No newline at end of file
diff --git a/proj/msbuild_dvl.bat b/proj/msbuild_dvl.bat
deleted file mode 100644 (file)
index 4c256b2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-call "%VS%\VC\vcvarsall.bat" x86
-echo msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
-msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
-if errorlevel 1 goto error
-exit 0
-
-:error
-exit 1
diff --git a/proj/msbuild_sdv.bat b/proj/msbuild_sdv.bat
deleted file mode 100644 (file)
index b3b7202..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-call "%VS%\VC\vcvarsall.bat" x86
-echo msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
-msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
-if errorlevel 1 goto error
-exit 0
-
-:error
-exit 1
diff --git a/proj/package/package.vcxproj b/proj/package/package.vcxproj
deleted file mode 100644 (file)
index 94f273a..0000000
+++ /dev/null
@@ -1,55 +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>{9B071A35-897C-477A-AEB7-95F77618A21D}</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>..\..\xeniface\$(DDKPlatform)</PackageDir>
-       </PropertyGroup>
-        <ItemGroup>
-                <ProjectReference Include="..\xeniface\xeniface.vcxproj">
-                        <Project>{22166290-65D8-49D2-BB88-33201797C7D8}</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 5abd8fd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
-  <PropertyGroup>\r
-    <SignMode>TestSign</SignMode>\r
-    <TestCertificate>..\xeniface.pfx</TestCertificate>\r
-    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>\r
-  </PropertyGroup>\r
-</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/xeniface.pfx b/proj/xeniface.pfx
deleted file mode 100644 (file)
index 4c6ea8d..0000000
Binary files a/proj/xeniface.pfx and /dev/null differ
diff --git a/proj/xeniface.sln b/proj/xeniface.sln
deleted file mode 100644 (file)
index 1913a5b..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xeniface", "xeniface\xeniface.vcxproj", "{22166290-65D8-49D2-BB88-33201797C7D8}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LiteAgent", "liteagent\LiteAgent.vcxproj", "{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{9B071A35-897C-477A-AEB7-95F77618A21D}"
-       ProjectSection(ProjectDependencies) = postProject
-               {22166290-65D8-49D2-BB88-33201797C7D8} = {22166290-65D8-49D2-BB88-33201797C7D8}
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B} = {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}
-       EndProjectSection
-EndProject
-Global
-       GlobalSection(SolutionConfigurationPlatforms) = preSolution
-               Debug|Win32 = Debug|Win32
-               Debug|x64 = Debug|x64
-               Release|Win32 = Release|Win32
-               Release|x64 = Release|x64
-               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 Developer Preview Debug|Win32 = Windows Developer Preview Debug|Win32
-               Windows Developer Preview Debug|x64 = Windows Developer Preview Debug|x64
-               Windows Developer Preview Release|Win32 = Windows Developer Preview Release|Win32
-               Windows Developer Preview Release|x64 = Windows Developer Preview 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
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Build.0 = Windows 8 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.ActiveCfg = Windows 8 Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.Build.0 = Windows 8 Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.ActiveCfg = Windows 8 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Build.0 = Windows 8 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Deploy.0 = Windows 8 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.ActiveCfg = Windows 8 Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.Build.0 = Windows 8 Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows Developer Preview Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.Build.0 = Windows Developer Preview Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.Deploy.0 = Windows Developer Preview Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.ActiveCfg = Windows Developer Preview Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.Build.0 = Windows Developer Preview Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.Deploy.0 = Windows Developer Preview Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.ActiveCfg = Windows Developer Preview Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.Build.0 = Windows Developer Preview Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.Deploy.0 = Windows Developer Preview Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.ActiveCfg = Windows Developer Preview Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.Build.0 = Windows Developer Preview Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.Deploy.0 = Windows Developer Preview Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
-               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.Build.0 = Windows Vista Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Build.0 = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.ActiveCfg = Windows Vista Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.Build.0 = Windows Vista Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows Developer Preview Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.Build.0 = Windows Developer Preview Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.Deploy.0 = Windows Developer Preview Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.ActiveCfg = Windows Developer Preview Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.Build.0 = Windows Developer Preview Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.Deploy.0 = Windows Developer Preview Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.ActiveCfg = Windows Developer Preview Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.Build.0 = Windows Developer Preview Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.Deploy.0 = Windows Developer Preview Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.ActiveCfg = Windows Developer Preview Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.Build.0 = Windows Developer Preview Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.Deploy.0 = Windows Developer Preview Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
-               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Build.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Deploy.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|x64.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Build.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Deploy.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|x64.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Build.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Deploy.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|x64.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Build.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Deploy.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|x64.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Build.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Deploy.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|x64.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Build.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Deploy.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|x64.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.ActiveCfg = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Build.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Deploy.0 = Debug|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.ActiveCfg = Debug|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Build.0 = Debug|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Deploy.0 = Debug|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.ActiveCfg = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Build.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Deploy.0 = Release|Win32
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.ActiveCfg = Release|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Build.0 = Release|x64
-               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Deploy.0 = Release|x64
-       EndGlobalSection
-       GlobalSection(SolutionProperties) = preSolution
-               HideSolutionNode = FALSE
-       EndGlobalSection
-EndGlobal
diff --git a/proj/xeniface/xeniface.vcxproj b/proj/xeniface/xeniface.vcxproj
deleted file mode 100644 (file)
index e4898a6..0000000
+++ /dev/null
@@ -1,100 +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>{22166290-65D8-49D2-BB88-33201797C7D8}</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__="XENIFACE";POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-                       <WarningLevel>EnableAllWarnings</WarningLevel>
-                       <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;%(DisableSpecificWarnings)</DisableSpecificWarnings>
-                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
-                       <EnablePREfast>true</EnablePREfast>
-               </ClCompile>
-               <Link>
-                       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
-                       <AdditionalDependencies>$(DDK_LIB_PATH)\ntstrsafe.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/xeniface/ioctls.c" />
-                <ClCompile Include="../../src/xeniface/wmi.c" />
-                <ClCompile Include="../../src/xeniface/driver.c" />
-                <ClCompile Include="../../src/xeniface/fdo.c" />
-                <ClCompile Include="../../src/xeniface/registry.c" />
-                <ClCompile Include="../../src\xeniface/thread.c" />
-       </ItemGroup>
-        <ItemGroup>
-                <Mofcomp Include="../../src/xeniface/wmi.mof">
-                        <CreateBinaryMofFile>$(IntDir)/wmi.bmf</CreateBinaryMofFile>
-                </Mofcomp>
-        </ItemGroup>
-        <ItemGroup>
-                <Wmimofck Include="$(IntDir)\wmi.bmf">
-                        <HeaderOutputFile>..\..\src\xeniface\wmi_generated.h</HeaderOutputFile>
-                </Wmimofck>
-        </ItemGroup>
-       <ItemGroup>
-               <ResourceCompile Include="..\..\src\xeniface\xeniface.rc" />
-       </ItemGroup>
-       <ItemGroup>
-               <Inf Include="..\xeniface.inf" />
-       </ItemGroup>
-       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
\ No newline at end of file
diff --git a/proj/xeniface/xeniface.vcxproj.user b/proj/xeniface/xeniface.vcxproj.user
deleted file mode 100644 (file)
index f82be50..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>..\xeniface.pfx</TestCertificate>
-    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
-  </PropertyGroup>
-</Project>
\ No newline at end of file
index ad1636e8e776235fafb8c1c8bf7082f73095f4a7..b4b09f2deb553073bf04fec898ab1d95580b1adb 100644 (file)
@@ -1026,7 +1026,7 @@ char* WmiSessionGetEntry(WMIAccessor** wmi, void **sessionhandle,
     if (setVariantString(&vpath, path))
         goto setvpath;
 
-    IWbemClassObject *outMethodInst;
+    IWbemClassObject *outMethodInst = NULL;
 
     IWbemClassObject *inMethodInst = sessionMethodStart( wmi, L"GetValue");
     if (inMethodInst == NULL) 
diff --git a/src/xeniface.pfx b/src/xeniface.pfx
new file mode 100644 (file)
index 0000000..4c6ea8d
Binary files /dev/null and b/src/xeniface.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/liteagent/LiteAgent.vcxproj b/vs2012/liteagent/LiteAgent.vcxproj
new file mode 100644 (file)
index 0000000..e67918a
--- /dev/null
@@ -0,0 +1,251 @@
+<?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="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>StubAgent</RootNamespace>
+    <ProjectName>LiteAgent</ProjectName>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v110</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+
+  <PropertyGroup>
+    <IncludePath>..\..\include;$(IncludePath)</IncludePath>
+  </PropertyGroup>
+
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+    <CustomBuildStep>
+        <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
+    </CustomBuildStep>
+    <CustomBuildStep>
+      <Message>Copying output files</Message>
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
+    </CustomBuildStep>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+    <CustomBuildStep>
+        <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
+    </CustomBuildStep>
+    <CustomBuildStep>
+      <Message>Copying output files</Message>
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
+    </CustomBuildStep>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>Create</PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <BrowseInformation>true</BrowseInformation>
+      <PreprocessToFile>false</PreprocessToFile>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+    <CustomBuildStep>
+      <Message>Copying output files</Message>
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
+    </CustomBuildStep>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>Create</PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <BrowseInformation>true</BrowseInformation>
+      <PreprocessToFile>false</PreprocessToFile>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+    <CustomBuildStep>
+      <Message>Copying output files</Message>
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>
+    </CustomBuildStep>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="..\..\src\win32stubagent\errors.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
+    </ClCompile>
+    <ClCompile Include="..\..\src\win32stubagent\stdafx.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
+    </ClCompile>
+    <ClCompile Include="..\..\src\win32stubagent\WmiAccessor.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
+    </ClCompile>
+    <ClCompile Include="..\..\src\win32stubagent\XSAccessor.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
+    </ClCompile>
+    <ClCompile Include="..\..\src\win32stubagent\XService.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\src\win32stubagent\stdafx.h" />
+    <ClInclude Include="..\..\src\win32stubagent\WmiAccessor.h" />
+    <ClInclude Include="..\..\src\win32stubagent\XSAccessor.h" />
+    <ClInclude Include="..\..\src\win32stubagent\XService.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <CustomBuild Include="..\..\src\win32stubagent\messages.mc">
+      <FileType>Document</FileType>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mc %(FullPath)</Command>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">mc %(FullPath)</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).rc;%(Filename).h</Outputs>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Filename).rc;%(Filename).h</Outputs>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mc %(FullPath)</Command>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mc %(FullPath)</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Filename).rc;%(Filename).h</Outputs>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).rc;%(Filename).h</Outputs>
+    </CustomBuild>
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\win32stubagent\w32xagent.rc" />
+  </ItemGroup>
+  <ItemGroup>
+    <Image Include="..\..\src\win32stubagent\xen.ico" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
diff --git a/vs2012/liteagent/LiteAgent.vcxproj.user b/vs2012/liteagent/LiteAgent.vcxproj.user
new file mode 100644 (file)
index 0000000..a375ae3
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+</Project>
\ No newline at end of file
diff --git a/vs2012/msbuild_dvl.bat b/vs2012/msbuild_dvl.bat
new file mode 100644 (file)
index 0000000..4c256b2
--- /dev/null
@@ -0,0 +1,8 @@
+call "%VS%\VC\vcvarsall.bat" x86
+echo msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
+msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
+if errorlevel 1 goto error
+exit 0
+
+:error
+exit 1
diff --git a/vs2012/msbuild_sdv.bat b/vs2012/msbuild_sdv.bat
new file mode 100644 (file)
index 0000000..b3b7202
--- /dev/null
@@ -0,0 +1,8 @@
+call "%VS%\VC\vcvarsall.bat" x86
+echo msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
+msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
+if errorlevel 1 goto error
+exit 0
+
+:error
+exit 1
diff --git a/vs2012/package/package.vcxproj b/vs2012/package/package.vcxproj
new file mode 100644 (file)
index 0000000..94f273a
--- /dev/null
@@ -0,0 +1,55 @@
+<?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>{9B071A35-897C-477A-AEB7-95F77618A21D}</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>..\..\xeniface\$(DDKPlatform)</PackageDir>
+       </PropertyGroup>
+        <ItemGroup>
+                <ProjectReference Include="..\xeniface\xeniface.vcxproj">
+                        <Project>{22166290-65D8-49D2-BB88-33201797C7D8}</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..9cd9ae7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <SignMode>TestSign</SignMode>\r
+    <TestCertificate>..\..\src\xeniface.pfx</TestCertificate>\r
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>\r
+  </PropertyGroup>\r
+</Project>\r
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/xeniface.sln b/vs2012/xeniface.sln
new file mode 100644 (file)
index 0000000..1913a5b
--- /dev/null
@@ -0,0 +1,165 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xeniface", "xeniface\xeniface.vcxproj", "{22166290-65D8-49D2-BB88-33201797C7D8}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LiteAgent", "liteagent\LiteAgent.vcxproj", "{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{9B071A35-897C-477A-AEB7-95F77618A21D}"
+       ProjectSection(ProjectDependencies) = postProject
+               {22166290-65D8-49D2-BB88-33201797C7D8} = {22166290-65D8-49D2-BB88-33201797C7D8}
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B} = {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}
+       EndProjectSection
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Win32 = Debug|Win32
+               Debug|x64 = Debug|x64
+               Release|Win32 = Release|Win32
+               Release|x64 = Release|x64
+               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 Developer Preview Debug|Win32 = Windows Developer Preview Debug|Win32
+               Windows Developer Preview Debug|x64 = Windows Developer Preview Debug|x64
+               Windows Developer Preview Release|Win32 = Windows Developer Preview Release|Win32
+               Windows Developer Preview Release|x64 = Windows Developer Preview 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
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.ActiveCfg = Windows 8 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Build.0 = Windows 8 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Deploy.0 = Windows 8 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.ActiveCfg = Windows 8 Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.Build.0 = Windows 8 Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.ActiveCfg = Windows 8 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Build.0 = Windows 8 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Deploy.0 = Windows 8 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.ActiveCfg = Windows 8 Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.Build.0 = Windows 8 Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows Developer Preview Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.Build.0 = Windows Developer Preview Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.Deploy.0 = Windows Developer Preview Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.ActiveCfg = Windows Developer Preview Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.Build.0 = Windows Developer Preview Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.Deploy.0 = Windows Developer Preview Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.ActiveCfg = Windows Developer Preview Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.Build.0 = Windows Developer Preview Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.Deploy.0 = Windows Developer Preview Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.ActiveCfg = Windows Developer Preview Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.Build.0 = Windows Developer Preview Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.Deploy.0 = Windows Developer Preview Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.Build.0 = Windows Vista Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Build.0 = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.ActiveCfg = Windows Vista Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.Build.0 = Windows Vista Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows Developer Preview Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.Build.0 = Windows Developer Preview Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.Deploy.0 = Windows Developer Preview Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.ActiveCfg = Windows Developer Preview Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.Build.0 = Windows Developer Preview Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.Deploy.0 = Windows Developer Preview Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.ActiveCfg = Windows Developer Preview Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.Build.0 = Windows Developer Preview Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.Deploy.0 = Windows Developer Preview Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.ActiveCfg = Windows Developer Preview Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.Build.0 = Windows Developer Preview Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.Deploy.0 = Windows Developer Preview Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Build.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Deploy.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|x64.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Build.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Deploy.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|x64.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Build.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Deploy.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|x64.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Build.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Deploy.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|x64.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Build.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Deploy.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|x64.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Build.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Deploy.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|x64.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.ActiveCfg = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Build.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Deploy.0 = Debug|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.ActiveCfg = Debug|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Build.0 = Debug|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Deploy.0 = Debug|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.ActiveCfg = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Build.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Deploy.0 = Release|Win32
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.ActiveCfg = Release|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Build.0 = Release|x64
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Deploy.0 = Release|x64
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/vs2012/xeniface/xeniface.vcxproj b/vs2012/xeniface/xeniface.vcxproj
new file mode 100644 (file)
index 0000000..b0e8ef5
--- /dev/null
@@ -0,0 +1,113 @@
+<?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>{22166290-65D8-49D2-BB88-33201797C7D8}</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;MofComp;StampInf</CustomBuildBeforeTargets>
+               <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>
+               <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>
+       </PropertyGroup>
+       
+    <ItemDefinitionGroup>
+        <CustomBuildStep>
+            <Command>echo "Build Inf"
+                powershell -Command "(Get-Content ..\..\src\xeniface.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 ..\..\vs2012\xeniface.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) -replace '@OBJECT_PREFIX@','$(OBJECT_PREFIX)' | Set-Content ..\..\include\version.h"
+                echo "Modify mof"
+                powershell -Command "(Get-Content ..\..\src\xeniface.mof)  -replace '@OBJECT_PREFIX@','$(OBJECT_PREFIX)' | Set-Content ..\..\src\xeniface\wmi.mof"
+            </Command>
+            <Outputs>..\..\vs2012\xeniface.inf;..\..\include\version.h;..\..\src\xeniface\wmi.mof</Outputs>
+            <Inputs>..\..\src\xeniface.inf;..\..\include\version.hx;..\..\src\xeniface.mof</Inputs>
+        </CustomBuildStep>
+        
+               <ClCompile>
+                       <PreprocessorDefinitions>__MODULE__="XENIFACE";POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+                       <WarningLevel>EnableAllWarnings</WarningLevel>
+                       <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+                       <MultiProcessorCompilation>true</MultiProcessorCompilation>
+                       <EnablePREfast>true</EnablePREfast>
+               </ClCompile>
+               <Link>
+                       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
+                       <AdditionalDependencies>$(DDK_LIB_PATH)\ntstrsafe.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/xeniface/ioctls.c" />
+                <ClCompile Include="../../src/xeniface/wmi.c" />
+                <ClCompile Include="../../src/xeniface/driver.c" />
+                <ClCompile Include="../../src/xeniface/fdo.c" />
+                <ClCompile Include="../../src/xeniface/registry.c" />
+                <ClCompile Include="../../src\xeniface/thread.c" />
+       </ItemGroup>
+        <ItemGroup>
+                <Mofcomp Include="../../src/xeniface/wmi.mof">
+                        <CreateBinaryMofFile>$(IntDir)/wmi.bmf</CreateBinaryMofFile>
+                </Mofcomp>
+        </ItemGroup>
+        <ItemGroup>
+                <Wmimofck Include="$(IntDir)\wmi.bmf">
+                        <HeaderOutputFile>..\..\src\xeniface\wmi_generated.h</HeaderOutputFile>
+                </Wmimofck>
+        </ItemGroup>
+       <ItemGroup>
+               <ResourceCompile Include="..\..\src\xeniface\xeniface.rc" />
+       </ItemGroup>
+       <ItemGroup>
+               <Inf Include="..\xeniface.inf" />
+       </ItemGroup>
+       <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project>
diff --git a/vs2012/xeniface/xeniface.vcxproj.user b/vs2012/xeniface/xeniface.vcxproj.user
new file mode 100644 (file)
index 0000000..6a435fd
--- /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\xeniface.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/liteagent/LiteAgent.vcxproj b/vs2013/liteagent/LiteAgent.vcxproj
new file mode 100644 (file)
index 0000000..fc27097
--- /dev/null
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <ItemGroup Label="ProjectConfigurations">\r
+    <ProjectConfiguration Include="Debug|Win32">\r
+      <Configuration>Debug</Configuration>\r
+      <Platform>Win32</Platform>\r
+    </ProjectConfiguration>\r
+    <ProjectConfiguration Include="Debug|x64">\r
+      <Configuration>Debug</Configuration>\r
+      <Platform>x64</Platform>\r
+    </ProjectConfiguration>\r
+    <ProjectConfiguration Include="Release|Win32">\r
+      <Configuration>Release</Configuration>\r
+      <Platform>Win32</Platform>\r
+    </ProjectConfiguration>\r
+    <ProjectConfiguration Include="Release|x64">\r
+      <Configuration>Release</Configuration>\r
+      <Platform>x64</Platform>\r
+    </ProjectConfiguration>\r
+  </ItemGroup>\r
+  <PropertyGroup Label="Globals">\r
+    <ProjectGuid>{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}</ProjectGuid>\r
+    <Keyword>Win32Proj</Keyword>\r
+    <RootNamespace>StubAgent</RootNamespace>\r
+    <ProjectName>LiteAgent</ProjectName>\r
+  </PropertyGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+    <ConfigurationType>Application</ConfigurationType>\r
+    <UseDebugLibraries>true</UseDebugLibraries>\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+    <CharacterSet>MultiByte</CharacterSet>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+    <ConfigurationType>Application</ConfigurationType>\r
+    <UseDebugLibraries>true</UseDebugLibraries>\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+    <CharacterSet>MultiByte</CharacterSet>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+    <ConfigurationType>Application</ConfigurationType>\r
+    <UseDebugLibraries>false</UseDebugLibraries>\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+    <WholeProgramOptimization>true</WholeProgramOptimization>\r
+    <CharacterSet>MultiByte</CharacterSet>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+    <ConfigurationType>Application</ConfigurationType>\r
+    <UseDebugLibraries>false</UseDebugLibraries>\r
+    <PlatformToolset>WindowsApplicationForDrivers8.1</PlatformToolset>\r
+    <WholeProgramOptimization>true</WholeProgramOptimization>\r
+    <CharacterSet>MultiByte</CharacterSet>\r
+  </PropertyGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+  <ImportGroup Label="ExtensionSettings">\r
+  </ImportGroup>\r
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+  </ImportGroup>\r
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\r
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+  </ImportGroup>\r
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+  </ImportGroup>\r
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+  </ImportGroup>\r
+  <PropertyGroup Label="UserMacros" />\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+    <LinkIncremental>true</LinkIncremental>\r
+    <OutDir>$(SolutionDir)$(Platform)\$(ConfigurationName)\</OutDir>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+    <LinkIncremental>true</LinkIncremental>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+    <LinkIncremental>false</LinkIncremental>\r
+    <OutDir>$(SolutionDir)$(Platform)\$(ConfigurationName)\</OutDir>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+    <LinkIncremental>false</LinkIncremental>\r
+  </PropertyGroup>\r
+  <PropertyGroup>\r
+    <IncludePath>..\..\include;$(IncludePath)</IncludePath>\r
+  </PropertyGroup>\r
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+    <ClCompile>\r
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+      <WarningLevel>Level3</WarningLevel>\r
+      <Optimization>Disabled</Optimization>\r
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <SDLCheck>true</SDLCheck>\r
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;$(SDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>\r
+      <PrecompiledHeaderFile />\r
+      <PrecompiledHeaderOutputFile />\r
+    </ClCompile>\r
+    <Link>\r
+      <SubSystem>Windows</SubSystem>\r
+      <GenerateDebugInformation>true</GenerateDebugInformation>\r
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+    </Link>\r
+    <CustomBuildStep>\r
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>\r
+    </CustomBuildStep>\r
+    <CustomBuildStep>\r
+      <Message>Copying output files</Message>\r
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>\r
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>\r
+    </CustomBuildStep>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+    <ClCompile>\r
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+      <WarningLevel>Level3</WarningLevel>\r
+      <Optimization>Disabled</Optimization>\r
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <SDLCheck>true</SDLCheck>\r
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;$(SDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>\r
+      <PrecompiledHeaderFile />\r
+      <PrecompiledHeaderOutputFile />\r
+    </ClCompile>\r
+    <Link>\r
+      <SubSystem>Windows</SubSystem>\r
+      <GenerateDebugInformation>true</GenerateDebugInformation>\r
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+    </Link>\r
+    <CustomBuildStep>\r
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+            xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>\r
+    </CustomBuildStep>\r
+    <CustomBuildStep>\r
+      <Message>Copying output files</Message>\r
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>\r
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>\r
+    </CustomBuildStep>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+    <ClCompile>\r
+      <WarningLevel>Level3</WarningLevel>\r
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+      <Optimization>MaxSpeed</Optimization>\r
+      <FunctionLevelLinking>true</FunctionLevelLinking>\r
+      <IntrinsicFunctions>true</IntrinsicFunctions>\r
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <SDLCheck>true</SDLCheck>\r
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;$(SDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+      <BrowseInformation>true</BrowseInformation>\r
+      <PreprocessToFile>false</PreprocessToFile>\r
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>\r
+    </ClCompile>\r
+    <Link>\r
+      <SubSystem>Windows</SubSystem>\r
+      <GenerateDebugInformation>true</GenerateDebugInformation>\r
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+      <OptimizeReferences>true</OptimizeReferences>\r
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+    </Link>\r
+    <CustomBuildStep>\r
+      <Message>Copying output files</Message>\r
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>\r
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>\r
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>\r
+    </CustomBuildStep>\r
+  </ItemDefinitionGroup>\r
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+    <ClCompile>\r
+      <WarningLevel>Level3</WarningLevel>\r
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>\r
+      <Optimization>MaxSpeed</Optimization>\r
+      <FunctionLevelLinking>true</FunctionLevelLinking>\r
+      <IntrinsicFunctions>true</IntrinsicFunctions>\r
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <SDLCheck>true</SDLCheck>\r
+      <AdditionalIncludeDirectories>..\..\include;$(SolutionDir)\liteagent;$(SDK_INC_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+      <BrowseInformation>true</BrowseInformation>\r
+      <PreprocessToFile>false</PreprocessToFile>\r
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>\r
+    </ClCompile>\r
+    <Link>\r
+      <SubSystem>Windows</SubSystem>\r
+      <GenerateDebugInformation>true</GenerateDebugInformation>\r
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+      <OptimizeReferences>true</OptimizeReferences>\r
+      <AdditionalDependencies>Powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+    </Link>\r
+    <CustomBuildStep>\r
+      <Message>Copying output files</Message>\r
+      <Command>xcopy /y $(TargetPath) $(SolutionDir)\..\xeniface\$(PlatformTarget)\
+          xcopy /y $(TargetDir)LiteAgent.pdb $(SolutionDir)\..\xeniface\$(PlatformTarget)\</Command>\r
+      <Outputs>$(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetFileName);(SolutionDir)\..\xeniface\$(PlatformTarget)$(TargetName).pdb;%(Outputs)</Outputs>\r
+      <Inputs>$(TargetPath);$(TargetDir)$(TargetName).pdb</Inputs>\r
+    </CustomBuildStep>\r
+  </ItemDefinitionGroup>\r
+  <ItemGroup>\r
+    <ClCompile Include="..\..\src\win32stubagent\errors.cpp">\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
+    </ClCompile>\r
+    <ClCompile Include="..\..\src\win32stubagent\stdafx.cpp">\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
+    </ClCompile>\r
+    <ClCompile Include="..\..\src\win32stubagent\WmiAccessor.cpp">\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
+    </ClCompile>\r
+    <ClCompile Include="..\..\src\win32stubagent\XSAccessor.cpp">\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
+    </ClCompile>\r
+    <ClCompile Include="..\..\src\win32stubagent\XService.cpp">\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>\r
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
+      <PreprocessToFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreprocessToFile>\r
+    </ClCompile>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ClInclude Include="..\..\src\win32stubagent\stdafx.h" />\r
+    <ClInclude Include="..\..\src\win32stubagent\WmiAccessor.h" />\r
+    <ClInclude Include="..\..\src\win32stubagent\XSAccessor.h" />\r
+    <ClInclude Include="..\..\src\win32stubagent\XService.h" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <CustomBuild Include="..\..\src\win32stubagent\messages.mc">\r
+      <FileType>Document</FileType>\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mc %(FullPath)</Command>\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">mc %(FullPath)</Command>\r
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).rc;%(Filename).h</Outputs>\r
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Filename).rc;%(Filename).h</Outputs>\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mc %(FullPath)</Command>\r
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mc %(FullPath)</Command>\r
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Filename).rc;%(Filename).h</Outputs>\r
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).rc;%(Filename).h</Outputs>\r
+    </CustomBuild>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ResourceCompile Include="..\..\src\win32stubagent\w32xagent.rc" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Image Include="..\..\src\win32stubagent\xen.ico" />\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/liteagent/LiteAgent.vcxproj.user b/vs2013/liteagent/LiteAgent.vcxproj.user
new file mode 100644 (file)
index 0000000..a375ae3
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+</Project>
\ No newline at end of file
diff --git a/vs2013/msbuild_dvl.bat b/vs2013/msbuild_dvl.bat
new file mode 100644 (file)
index 0000000..4c256b2
--- /dev/null
@@ -0,0 +1,8 @@
+call "%VS%\VC\vcvarsall.bat" x86
+echo msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
+msbuild.exe "%SDV_PROJ%" /t:dvl /p:Configuration="Windows 8 Release" /p:Platform=x64
+if errorlevel 1 goto error
+exit 0
+
+:error
+exit 1
diff --git a/vs2013/msbuild_sdv.bat b/vs2013/msbuild_sdv.bat
new file mode 100644 (file)
index 0000000..b3b7202
--- /dev/null
@@ -0,0 +1,8 @@
+call "%VS%\VC\vcvarsall.bat" x86
+echo msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
+msbuild.exe "%SDV_PROJ%" /t:sdv /p:Inputs="%SDV_ARG%" /p:Configuration="Windows 8 Release" /p:Platform=x64
+if errorlevel 1 goto error
+exit 0
+
+:error
+exit 1
diff --git a/vs2013/package/package.vcxproj b/vs2013/package/package.vcxproj
new file mode 100644 (file)
index 0000000..f219527
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.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|Win32'">\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|Win32'">\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)'=='Windows 7 Debug|Win32'">\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 Release|x64'">\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 Release|x64'">\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 Debug|x64'">\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>{9B071A35-897C-477A-AEB7-95F77618A21D}</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>..\..\xeniface\$(DDKPlatform)</PackageDir>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\xeniface\xeniface.vcxproj">\r
+      <Project>{22166290-65D8-49D2-BB88-33201797C7D8}</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..9cd9ae7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <SignMode>TestSign</SignMode>\r
+    <TestCertificate>..\..\src\xeniface.pfx</TestCertificate>\r
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>\r
+  </PropertyGroup>\r
+</Project>\r
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/xeniface.sln b/vs2013/xeniface.sln
new file mode 100644 (file)
index 0000000..a0f20ad
--- /dev/null
@@ -0,0 +1,162 @@
+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}") = "xeniface", "xeniface\xeniface.vcxproj", "{22166290-65D8-49D2-BB88-33201797C7D8}"\r
+EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LiteAgent", "liteagent\LiteAgent.vcxproj", "{2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}"\r
+EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "package", "package\package.vcxproj", "{9B071A35-897C-477A-AEB7-95F77618A21D}"\r
+       ProjectSection(ProjectDependencies) = postProject\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B} = {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}\r
+       EndProjectSection\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Win32 = Debug|Win32\r
+               Debug|x64 = Debug|x64\r
+               Release|Win32 = Release|Win32\r
+               Release|x64 = Release|x64\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 Developer Preview Debug|Win32 = Windows Developer Preview Debug|Win32\r
+               Windows Developer Preview Debug|x64 = Windows Developer Preview Debug|x64\r
+               Windows Developer Preview Release|Win32 = Windows Developer Preview Release|Win32\r
+               Windows Developer Preview Release|x64 = Windows Developer Preview 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
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|Win32.Deploy.0 = Windows 8 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.ActiveCfg = Windows 8 Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Debug|x64.Build.0 = Windows 8 Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.ActiveCfg = Windows 8 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Build.0 = Windows 8 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|Win32.Deploy.0 = Windows 8 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.ActiveCfg = Windows 8 Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Release|x64.Build.0 = Windows 8 Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|Win32.Build.0 = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.ActiveCfg = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Debug|x64.Build.0 = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Developer Preview Release|x64.Build.0 = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64\r
+               {22166290-65D8-49D2-BB88-33201797C7D8}.Windows Vista Release|x64.Deploy.0 = Windows Vista Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Build.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|Win32.Deploy.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Debug|x64.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Build.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|Win32.Deploy.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Release|x64.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Build.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|Win32.Deploy.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|x64.ActiveCfg = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|x64.Build.0 = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Debug|x64.Deploy.0 = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Build.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|Win32.Deploy.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|x64.ActiveCfg = Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|x64.Build.0 = Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows 7 Release|x64.Deploy.0 = Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Build.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|Win32.Deploy.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Debug|x64.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Build.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|Win32.Deploy.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Developer Preview Release|x64.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.ActiveCfg = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Build.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|Win32.Deploy.0 = Debug|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.ActiveCfg = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Build.0 = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Debug|x64.Deploy.0 = Debug|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.ActiveCfg = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Build.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|Win32.Deploy.0 = Release|Win32\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.ActiveCfg = Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Build.0 = Release|x64\r
+               {2E61D2CC-865E-442C-8C83-B8DAFD7BBD3B}.Windows Vista Release|x64.Deploy.0 = Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Release|x64.Build.0 = Windows Vista Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.ActiveCfg = Windows 7 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Build.0 = Windows 7 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|Win32.Deploy.0 = Windows 7 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.ActiveCfg = Windows 7 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Build.0 = Windows 7 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Debug|x64.Deploy.0 = Windows 7 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.ActiveCfg = Windows 7 Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Build.0 = Windows 7 Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|Win32.Deploy.0 = Windows 7 Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.ActiveCfg = Windows 7 Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Build.0 = Windows 7 Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows 7 Release|x64.Deploy.0 = Windows 7 Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.ActiveCfg = Windows 8 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Debug|x64.Build.0 = Windows 8 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.ActiveCfg = Windows 8 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|Win32.Build.0 = Windows 8 Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.ActiveCfg = Windows 8 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Developer Preview Release|x64.Build.0 = Windows 8 Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.ActiveCfg = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Build.0 = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|Win32.Deploy.0 = Windows Vista Debug|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.ActiveCfg = Windows Vista Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Build.0 = Windows Vista Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Debug|x64.Deploy.0 = Windows Vista Debug|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.ActiveCfg = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Build.0 = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|Win32.Deploy.0 = Windows Vista Release|Win32\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.ActiveCfg = Windows Vista Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.Windows Vista Release|x64.Build.0 = Windows Vista Release|x64\r
+               {9B071A35-897C-477A-AEB7-95F77618A21D}.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/xeniface/xeniface.vcxproj b/vs2013/xeniface/xeniface.vcxproj
new file mode 100644 (file)
index 0000000..82a1dc4
--- /dev/null
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.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|Win32'">\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|Win32'">\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)'=='Windows 7 Debug|Win32'">\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 Release|x64'">\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 Release|x64'">\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 Debug|x64'">\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>{22166290-65D8-49D2-BB88-33201797C7D8}</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;MofComp;StampInf</CustomBuildBeforeTargets>\r
+    <IntDir>..\$(ProjectName)\$(ConfigurationName)\$(Platform)\</IntDir>\r
+    <OutDir>..\$(ConfigurationName)\$(Platform)\</OutDir>\r
+  </PropertyGroup>\r
+  <ItemDefinitionGroup>\r
+      <CustomBuildStep>\r
+            <Command>echo "Build Inf"\r
+                 powershell -Command "(Get-Content ..\..\src\xeniface.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 ..\..\vs2013\xeniface.inf"\r
+                echo "Build version header"\r
+                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) -replace '@OBJECT_PREFIX@','$(OBJECT_PREFIX)' | Set-Content ..\..\include\version.h"\r
+                echo "Modify mof"\r
+                powershell -Command "(Get-Content ..\..\src\xeniface.mof)  -replace '@OBJECT_PREFIX@','$(OBJECT_PREFIX)' | Set-Content ..\..\src\xeniface\wmi.mof"\r
+            </Command>\r
+            <Outputs>..\..\vs2013\xeniface.inf;..\..\include\version.h;..\..\src\xeniface\wmi.mof</Outputs>\r
+            <Inputs>..\..\src\xeniface.inf;..\..\include\version.hx;..\..\src\xeniface.mof</Inputs>\r
+        </CustomBuildStep>\r
+    <ClCompile>\r
+      <PreprocessorDefinitions>__MODULE__="XENIFACE";POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <WarningLevel>EnableAllWarnings</WarningLevel>\r
+      <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
+      <EnablePREfast>true</EnablePREfast>\r
+    </ClCompile>\r
+    <Link>\r
+      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>\r
+      <AdditionalDependencies>$(DDK_LIB_PATH)\ntstrsafe.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
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|Win32'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|Win32'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|Win32'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|Win32'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|Win32'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|Win32'" />\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
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Release|x64'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Debug|x64'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows Vista Release|x64'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Release|x64'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 7 Debug|x64'" />\r
+      <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'" />\r
+      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Windows 8 Debug|x64'" />\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/xeniface/ioctls.c" />\r
+    <ClCompile Include="../../src/xeniface/wmi.c" />\r
+    <ClCompile Include="../../src/xeniface/driver.c" />\r
+    <ClCompile Include="../../src/xeniface/fdo.c" />\r
+    <ClCompile Include="../../src/xeniface/registry.c" />\r
+    <ClCompile Include="../../src\xeniface/thread.c" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Mofcomp Include="../../src/xeniface/wmi.mof">\r
+      <CreateBinaryMofFile>$(IntDir)/wmi.bmf</CreateBinaryMofFile>\r
+    </Mofcomp>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Wmimofck Include="$(IntDir)\wmi.bmf">\r
+      <HeaderOutputFile>..\..\src\xeniface\wmi_generated.h</HeaderOutputFile>\r
+    </Wmimofck>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ResourceCompile Include="..\..\src\xeniface\xeniface.rc" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Inf Include="..\xeniface.inf" />\r
+  </ItemGroup>\r
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+</Project>\r
diff --git a/vs2013/xeniface/xeniface.vcxproj.user b/vs2013/xeniface/xeniface.vcxproj.user
new file mode 100644 (file)
index 0000000..6a435fd
--- /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\xeniface.pfx</TestCertificate>
+    <TimeStampServer>http://timestamp.verisign.com/scripts/timstamp.dll</TimeStampServer>
+  </PropertyGroup>
+</Project>