[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3][XenBus] Add resource file to coinstaller


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Fri, 10 Feb 2023 08:44:37 +0000
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Fri, 10 Feb 2023 08:45:50 +0000
  • Ironport-data: A9a23:gbPedaImJJTk8WD/FE+RrJUlxSXFcZb7ZxGr2PjKsXjdYENSgjICm 2EcCmCEPvvZN2Dxft8lb9m/9x8DsJCHxodmQVRlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHvykU7Ss1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpJrfPcwP9TlK6q4mhA5AVmPakjUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c5FATBuz dM9Awkvbz2mp+Wk54uUVupj05FLwMnDZOvzu1llxDDdS/0nXYrCU+PB4towMDUY354UW6yEP oxANGQpNU6bC/FMEg5/5JYWm/ilgD/kdjxEqHqepLYt4niVxwt0uFToGIuLJoTWG5gK9qqej kLq/n3EJghCDuGG5B+A73ugq/70kBquDer+E5Xnr6U30TV/3Fc7FxwQEEOl5PW0lEO6c9ZeM FAPvDojq7Ao806mRcW7WAe3yENopTZFBYAWSbdjrljQlOyNuV3x6nU4oiBpWtx3lPcZYBcT9 F6kuvPuFxtWn6GWRifInluLlg+aNS8QJG4EQCYLSwoZ/tXuyL0OYgLzosVLS/Ds0ICscd3k6 3XT9XVl2e1P5SIe///jlW0rlQ5AsXQgouQdwgzMFlyo4QpiDGJOT9z5sAOLhRqswWvwc7Vgg JTms5LGhAztJcvX/MBofAnqNO/B2hp9GGeA6WOD5rF4n9hXx1atfJpL/BZ1L1pzP8APdFfBO RGM5FIPu8MNYSX0N8ebhr5d7exwlsAM8vy8CZjpgidmOMAtJGdrAgkxDaJv44wduBd1yvxuU XtqWc2tEWwbGcxaIMmeHo8gPUsQ7nlmnwv7HMmrpylLJJLCPBZ5v59ZagrRBg34hYvYyDjoH yF3bpPalEUGALCvMkE6M+c7dDg3EJTyPriuw+Q/SwJJClcO9L0JYxMJ/Y4cRg==
  • Ironport-hdrordr: A9a23:vk4W5aA2nOHHvqjlHela55DYdb4zR+YMi2TDt3oddfWaSKylfq GV7ZImPHrP4gr5N0tOpTntAse9qDbnhPxICOoqTNCftWvdyQiVxehZhOOP/9SjIVyaygc078 xdmsNFebnN5DZB7PoT4GODYqkdKNvsytHXuQ8JpU0dPD2DaMtbnndE4h7wKDwOeOHfb6BJaa Z14KB81kKdUEVSVOuXLF8fUdPOotXa/aiWHSLvV3YcmXKzZSrD0s+BLySl
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/coinst/xenbus_coinst.rc                | 56 ++++++++++++++++++++++
 vs2015/xenbus_coinst/xenbus_coinst.vcxproj |  3 ++
 vs2017/xenbus_coinst/xenbus_coinst.vcxproj |  3 ++
 vs2019/xenbus_coinst/xenbus_coinst.vcxproj |  3 ++
 vs2022/xenbus_coinst/xenbus_coinst.vcxproj |  3 ++
 5 files changed, 68 insertions(+)
 create mode 100644 src/coinst/xenbus_coinst.rc

diff --git a/src/coinst/xenbus_coinst.rc b/src/coinst/xenbus_coinst.rc
new file mode 100644
index 0000000..7ff10e3
--- /dev/null
+++ b/src/coinst/xenbus_coinst.rc
@@ -0,0 +1,56 @@
+/* Copyright (c) Citrix Systems Inc.
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, 
+ * with or without modification, are permitted provided 
+ * that the following conditions are met:
+ * 
+ * *   Redistributions of source code must retain the above 
+ *     copyright notice, this list of conditions and the 
+ *     following disclaimer.
+ * *   Redistributions in binary form must reproduce the above 
+ *     copyright notice, this list of conditions and the 
+ *     following disclaimer in the documentation and/or other 
+ *     materials provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
+ * SUCH DAMAGE.
+ */
+
+#include <windows.h>
+#include <ntverp.h>
+
+
+#undef VER_COMPANYNAME_STR
+#undef VER_PRODUCTNAME_STR
+#undef VER_PRODUCTVERSION
+#undef VER_PRODUCTVERSION_STR
+
+#include <version.h>
+
+#define VER_COMPANYNAME_STR         VENDOR_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR      COPYRIGHT_STR
+
+#define VER_PRODUCTNAME_STR         "XENBUS_COINST"
+#define VER_PRODUCTVERSION          
MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
+#define VER_PRODUCTVERSION_STR      MAJOR_VERSION_STR "." MINOR_VERSION_STR 
"." MICRO_VERSION_STR "." BUILD_NUMBER_STR
+
+#define VER_INTERNALNAME_STR        "XENBUS_COINST.DLL"
+#define VER_FILEDESCRIPTION_STR     "XENBUS_COINST"
+
+#define VER_FILETYPE                VFT_DRV
+#define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
+
+#include <common.ver>
diff --git a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj 
b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj
index 3cdbaf3..1d51f96 100644
--- a/vs2015/xenbus_coinst/xenbus_coinst.vcxproj
+++ b/vs2015/xenbus_coinst/xenbus_coinst.vcxproj
@@ -57,5 +57,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenbus_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenbus_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2017/xenbus_coinst/xenbus_coinst.vcxproj 
b/vs2017/xenbus_coinst/xenbus_coinst.vcxproj
index df3cc04..7eeb228 100644
--- a/vs2017/xenbus_coinst/xenbus_coinst.vcxproj
+++ b/vs2017/xenbus_coinst/xenbus_coinst.vcxproj
@@ -57,5 +57,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenbus_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenbus_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2019/xenbus_coinst/xenbus_coinst.vcxproj 
b/vs2019/xenbus_coinst/xenbus_coinst.vcxproj
index b37e1a5..c4e47d0 100644
--- a/vs2019/xenbus_coinst/xenbus_coinst.vcxproj
+++ b/vs2019/xenbus_coinst/xenbus_coinst.vcxproj
@@ -63,5 +63,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenbus_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenbus_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2022/xenbus_coinst/xenbus_coinst.vcxproj 
b/vs2022/xenbus_coinst/xenbus_coinst.vcxproj
index b37e1a5..c4e47d0 100644
--- a/vs2022/xenbus_coinst/xenbus_coinst.vcxproj
+++ b/vs2022/xenbus_coinst/xenbus_coinst.vcxproj
@@ -63,5 +63,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenbus_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenbus_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
-- 
2.39.0.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.