winver.exe by Christoph.AT.ApiViewer.de
Modified: trunk/reactos/bootdata/packages/reactos.dff
Modified: trunk/reactos/subsys/system/directory.xml
Added: trunk/reactos/subsys/system/winver/
Added: trunk/reactos/subsys/system/winver/winver.c
Added: trunk/reactos/subsys/system/winver/winver.xml
_____
Modified: trunk/reactos/bootdata/packages/reactos.dff
--- trunk/reactos/bootdata/packages/reactos.dff 2005-10-06 19:24:15 UTC
(rev 18298)
+++ trunk/reactos/bootdata/packages/reactos.dff 2005-10-06 20:07:24 UTC
(rev 18299)
@@ -186,6 +186,7 @@
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
_____
Modified: trunk/reactos/subsys/system/directory.xml
--- trunk/reactos/subsys/system/directory.xml 2005-10-06 19:24:15 UTC
(rev 18298)
+++ trunk/reactos/subsys/system/directory.xml 2005-10-06 20:07:24 UTC
(rev 18299)
@@ -20,6 +20,9 @@
<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>
@@ -80,8 +83,8 @@
<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" />
_____
Added: trunk/reactos/subsys/system/winver/winver.c
--- trunk/reactos/subsys/system/winver/winver.c 2005-10-06 19:24:15 UTC
(rev 18298)
+++ trunk/reactos/subsys/system/winver/winver.c 2005-10-06 20:07:24 UTC
(rev 18299)
@@ -0,0 +1,8 @@
+#include <windows.h>
+#include <tchar.h>
+
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
lpCmdLine, int nCmdShow) {
+ static const WCHAR szROS[] = {
'R','e','a','c','t','O','S','\n',0
};
+ ShellAbout(0, szROS, 0, 0);
+ return 1;
+}
_____
Added: trunk/reactos/subsys/system/winver/winver.xml
--- trunk/reactos/subsys/system/winver/winver.xml 2005-10-06
19:24:15 UTC (rev 18298)
+++ trunk/reactos/subsys/system/winver/winver.xml 2005-10-06
20:07:24 UTC (rev 18299)
@@ -0,0 +1,9 @@
+<module name="winver" type="win32gui"
installbase="system32"
installname="winver.exe" usewrc="false">
+ <include base="winver">.</include>
+ <define name="__USE_W32API" />
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="_WIN32_IE">0x501</define>
+ <define name="_WIN32_WINNT">0x0501</define>
+ <file>winver.c</file>
+</module>
Show replies by date