winver.exe by Christoph.AT.ApiViewer.de
authorAndrew Munger <waxdragon@gmail.com>
Thu, 6 Oct 2005 20:07:24 +0000 (20:07 +0000)
committerAndrew Munger <waxdragon@gmail.com>
Thu, 6 Oct 2005 20:07:24 +0000 (20:07 +0000)
svn path=/trunk/; revision=18299

reactos/bootdata/packages/reactos.dff
reactos/subsys/system/directory.xml
reactos/subsys/system/winver/winver.c [new file with mode: 0644]
reactos/subsys/system/winver/winver.xml [new file with mode: 0644]

index 9496031..7277a2a 100755 (executable)
@@ -186,6 +186,7 @@ subsys\system\userinit\userinit.exe     1
 subsys\system\vmwinst\vmwinst.exe       1
 subsys\system\winlogon\winlogon.exe     1
 subsys\system\winefile\winefile.exe     1
 subsys\system\vmwinst\vmwinst.exe       1
 subsys\system\winlogon\winlogon.exe     1
 subsys\system\winefile\winefile.exe     1
+subsys\system\winver\winver.exe         1
 subsys\system\dhcp\dhcp.exe             1
 subsys\system\sm\sm.exe                 1
 subsys\system\expand\expand.exe         1
 subsys\system\dhcp\dhcp.exe             1
 subsys\system\sm\sm.exe                 1
 subsys\system\expand\expand.exe         1
index 2c8c235..e231a12 100644 (file)
@@ -20,6 +20,9 @@
 <directory name="explorer">
        <xi:include href="explorer/explorer.xml" />
 </directory>
 <directory name="explorer">
        <xi:include href="explorer/explorer.xml" />
 </directory>
+<directory name="hostname">
+       <xi:include href="hostname/hostname.xml" />
+</directory>
 <directory name="ibrowser">
        <xi:include href="ibrowser/ibrowser.xml" />
 </directory>
 <directory name="ibrowser">
        <xi:include href="ibrowser/ibrowser.xml" />
 </directory>
@@ -80,8 +83,8 @@
 <directory name="winlogon">
        <xi:include href="winlogon/winlogon.xml" />
 </directory>
 <directory name="winlogon">
        <xi:include href="winlogon/winlogon.xml" />
 </directory>
-<directory name="hostname">
-       <xi:include href="hostname/hostname.xml" />
+<directory name="winver">
+       <xi:include href="winver/winver.xml" />
 </directory>
 <directory name="welcome">
        <xi:include href="welcome/welcome.xml" />
 </directory>
 <directory name="welcome">
        <xi:include href="welcome/welcome.xml" />
diff --git a/reactos/subsys/system/winver/winver.c b/reactos/subsys/system/winver/winver.c
new file mode 100644 (file)
index 0000000..73e5c2e
--- /dev/null
@@ -0,0 +1,8 @@
+#include <windows.h>\r
+#include <tchar.h>\r
+\r
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {\r
+  static const WCHAR szROS[] = { 'R','e','a','c','t','O','S','\n',0 };\r
+  ShellAbout(0, szROS, 0, 0);\r
+  return 1;\r
+}\r
diff --git a/reactos/subsys/system/winver/winver.xml b/reactos/subsys/system/winver/winver.xml
new file mode 100644 (file)
index 0000000..6deef2f
--- /dev/null
@@ -0,0 +1,9 @@
+<module name="winver" type="win32gui" installbase="system32" installname="winver.exe" usewrc="false">\r
+       <include base="winver">.</include>\r
+       <define name="__USE_W32API" />\r
+       <define name="UNICODE" />\r
+       <define name="_UNICODE" />\r
+       <define name="_WIN32_IE">0x501</define>\r
+       <define name="_WIN32_WINNT">0x0501</define>\r
+      <file>winver.c</file>    \r
+</module>\r