fix all but about 8 out of 91 tests. Correct resource usage in xml, fix win32gui...
authorSteven Edwards <winehacker@gmail.com>
Mon, 14 Nov 2005 23:44:15 +0000 (23:44 +0000)
committerSteven Edwards <winehacker@gmail.com>
Mon, 14 Nov 2005 23:44:15 +0000 (23:44 +0000)
svn path=/trunk/; revision=19235

40 files changed:
rosapps/tests/alive/alive.xml
rosapps/tests/apc/apc.xml
rosapps/tests/apc2/apc2.xml
rosapps/tests/args/args.xml
rosapps/tests/atomtest/atomtest.xml
rosapps/tests/bench/bench.xml
rosapps/tests/capclock/capclock.rc
rosapps/tests/capclock/capclock.xml
rosapps/tests/carets/carets.xml
rosapps/tests/consume/consume.xml
rosapps/tests/copymove/copymove.xml
rosapps/tests/count/count.xml
rosapps/tests/create-links/create-links.xml
rosapps/tests/dirdlg/dirdlg.xml
rosapps/tests/directory.xml
rosapps/tests/diskspeed/diskspeed.xml
rosapps/tests/dnsapi/dnsapi.xml
rosapps/tests/fiber/fiber.xml
rosapps/tests/icontest/icontest.xml
rosapps/tests/isotest/isotest.xml
rosapps/tests/mdi/mdi.xml
rosapps/tests/miditest/miditest.rc
rosapps/tests/miditest/miditest.xml
rosapps/tests/moztest/moztest.xml
rosapps/tests/nameserverlist/nameserverlist.xml
rosapps/tests/noexecute/noexecute.xml
rosapps/tests/popupmenu/popupmenu.xml
rosapps/tests/sertest/sertest.c
rosapps/tests/sertest/sertest.xml
rosapps/tests/subclass/subclass.xml
rosapps/tests/suspend/suspend.c
rosapps/tests/tcpsvr/tcpsvr.xml
rosapps/tests/terminate/terminate.c
rosapps/tests/terminate/terminate.xml
rosapps/tests/threadwait/threadwait.c
rosapps/tests/threadwait/threadwait.xml
rosapps/tests/tokentest/tokentest.c
rosapps/tests/txtscale/txtscale.xml
rosapps/tests/vmtest/vmtest.xml
rosapps/tests/winhello/winhello.c

index 0701c11..e5d39c0 100644 (file)
@@ -1,4 +1,4 @@
-<module name="alive" type="win32gui" installbase="bin" installname="alive.exe">
+<module name="alive" type="win32cui" installbase="bin" installname="alive.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 4bca796..a0557d4 100644 (file)
@@ -1,4 +1,4 @@
-<module name="apc" type="win32gui" installbase="bin" installname="apc.exe">
+<module name="apc" type="win32cui" installbase="bin" installname="apc.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index f8fffa0..9f8ee1f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="apc2" type="win32gui" installbase="bin" installname="apc2.exe">
+<module name="apc2" type="win32cui" installbase="bin" installname="apc2.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 54c1bb4..b819892 100644 (file)
@@ -1,4 +1,4 @@
-<module name="args" type="win32gui" installbase="bin" installname="args.exe">
+<module name="args" type="win32cui" installbase="bin" installname="args.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 257ee1e..731d727 100644 (file)
@@ -1,4 +1,4 @@
-<module name="atomtest" type="win32gui" installbase="bin" installname="atomtest.exe">
+<module name="atomtest" type="win32cui" installbase="bin" installname="atomtest.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index addc835..edf7605 100644 (file)
@@ -1,4 +1,4 @@
-<module name="bench-thread" type="win32gui" installbase="bin" installname="bench-thread.exe">
+<module name="bench-thread" type="win32cui" installbase="bin" installname="bench-thread.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index e3aada7..e046542 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: capclock.rc,v 1.1 2004/10/21 05:11:59 sedwards Exp $ */
+/* $Id$ */
 
 #include <windows.h>
 
 
 #include <windows.h>
 
index 2bf2fb7..75cb985 100644 (file)
@@ -2,6 +2,7 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="capclock">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>capclock.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>capclock.c</file>
index e9aed6e..0e8394f 100644 (file)
@@ -2,9 +2,10 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="carets">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>ntdll</library>
        <file>carets.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>ntdll</library>
        <file>carets.c</file>
-       <efile>carets.rc</efile>
+       <file>carets.rc</file>
 </module>
 </module>
index e0eb8f8..47cbf66 100644 (file)
@@ -1,4 +1,4 @@
-<module name="consume" type="win32gui" installbase="bin" installname="consume.exe">
+<module name="consume" type="win32cui" installbase="bin" installname="consume.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 08b84c6..4fe0706 100644 (file)
@@ -1,4 +1,4 @@
-<module name="copymove" type="win32gui" installbase="bin" installname="copymove.exe">
+<module name="copymove" type="win32cui" installbase="bin" installname="copymove.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 2a72939..387be4d 100644 (file)
@@ -1,4 +1,4 @@
-<module name="count" type="win32gui" installbase="bin" installname="count.exe">
+<module name="count" type="win32cui" installbase="bin" installname="count.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 6838274..bc1e475 100644 (file)
@@ -1,4 +1,4 @@
-<module name="create-links" type="win32gui" installbase="bin" installname="create-links.exe">
+<module name="create-links" type="win32cui" installbase="bin" installname="create-links.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 79c58ac..9798f6b 100644 (file)
@@ -2,8 +2,9 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="dirdlg">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>dirdlg.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>dirdlg.c</file>
-       <efile>dirdlg.rc</efile>
+       <file>dirdlg.rc</file>
 </module>
 </module>
index c9d9734..20cabbb 100644 (file)
 
 <!-- fixme: regtest -->
 
 
 <!-- fixme: regtest -->
 
-<!--
 <directory name="sectest">
        <xi:include href="sectest/sectest.xml" />
 </directory>
 <directory name="sectest">
        <xi:include href="sectest/sectest.xml" />
 </directory>
        <xi:include href="shaptest/shaptest.xml" />
 </directory>
 
        <xi:include href="shaptest/shaptest.xml" />
 </directory>
 
-fixme: shm
+<!-- fixme: shm -->
 
 <directory name="statst">
        <xi:include href="statst/statst.xml" />
 
 <directory name="statst">
        <xi:include href="statst/statst.xml" />
@@ -241,9 +240,9 @@ fixme: shm
 <directory name="tmrqueue">
        <xi:include href="tmrqueue/tmrqueue.xml" />
 </directory>
 <directory name="tmrqueue">
        <xi:include href="tmrqueue/tmrqueue.xml" />
 </directory>
-<directory name="tokentest">
-       <xi:include href="tokentest/tokentest.xml" />
-</directory>
+
+<!-- fixme: tokentest -->
+
 <directory name="txtscale">
        <xi:include href="txtscale/txtscale.xml" />
 </directory>
 <directory name="txtscale">
        <xi:include href="txtscale/txtscale.xml" />
 </directory>
@@ -262,10 +261,8 @@ fixme: shm
 <directory name="wm_paint">
        <xi:include href="wm_paint/wm_paint.xml" />
 </directory>
 <directory name="wm_paint">
        <xi:include href="wm_paint/wm_paint.xml" />
 </directory>
-<directory name="wpickclick">
-       <xi:include href="wpickclick/wpickclick.xml" />
-</directory>
-<directory name="zwcontinue">
-       <xi:include href="zwcontinue/zwcontinue.xml" />
-</directory>
--->
+
+<!-- fixme: wpickclick.xml -->
+
+<!-- fixme: zwcontinue -->
+
index 7c224a0..9713d2a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="diskspeed" type="win32gui" installbase="bin" installname="diskspeed.exe">
+<module name="diskspeed" type="win32cui" installbase="bin" installname="diskspeed.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 53d4c6f..92aed4d 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dnsapitst" type="win32gui" installbase="bin" installname="dnsapitst.exe">
+<module name="dnsapitst" type="win32cui" installbase="bin" installname="dnsapitst.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 1d3c8bb..2f32d6c 100644 (file)
@@ -1,4 +1,4 @@
-<module name="fiber" type="win32gui" installbase="bin" installname="fiber.exe">
+<module name="fiber" type="win32cui" installbase="bin" installname="fiber.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 9fa0e9b..9223a2b 100644 (file)
@@ -2,9 +2,10 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="icontest">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>ntdll</library>
        <file>icontest.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>ntdll</library>
        <file>icontest.c</file>
-       <efile>icontest.rc</efile>
+       <file>icontest.rc</file>
 </module>
 </module>
index 8c7b4b7..5859084 100644 (file)
@@ -1,4 +1,4 @@
-<module name="isotest" type="win32gui" installbase="bin" installname="isotest.exe">
+<module name="isotest" type="win32cui" installbase="bin" installname="isotest.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index fc0ce3b..3a19e18 100644 (file)
@@ -2,10 +2,11 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="mdi">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>comctl32</library>
        <library>comdlg32</library>
        <file>mdi.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <library>comctl32</library>
        <library>comdlg32</library>
        <file>mdi.c</file>
-       <efile>mdi.rc</efile>
+       <file>mdi.rc</file>
 </module>
 </module>
index 310a893..46f1906 100644 (file)
@@ -1,5 +1,5 @@
 #include <windows.h>
 #include <windows.h>
-#include <reactos/resource.h>
+//#include <reactos/resource.h>
 #include "resource.h"
 
 IDR_MAINMENU MENU DISCARDABLE 
 #include "resource.h"
 
 IDR_MAINMENU MENU DISCARDABLE 
index 8c4dc78..0496cc9 100644 (file)
@@ -2,8 +2,8 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="miditest">.</include>
        <library>kernel32</library>
        <library>winmm</library>
        <file>miditest.c</file>
        <library>kernel32</library>
        <library>winmm</library>
        <file>miditest.c</file>
-       <efile>miditest.rc</efile>
 </module>
 </module>
index fe56aed..40cb603 100644 (file)
@@ -1,4 +1,4 @@
-<module name="moztest" type="win32gui" installbase="bin" installname="moztest.exe">
+<module name="moztest" type="win32cui" installbase="bin" installname="moztest.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 88341c9..df10511 100644 (file)
@@ -1,4 +1,4 @@
-<module name="nameserverlist" type="win32gui" installbase="bin" installname="nameserverlist.exe">
+<module name="nameserverlist" type="win32cui" installbase="bin" installname="nameserverlist.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 5213c5a..7adc14a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="noexecute" type="win32gui" installbase="bin" installname="noexecute.exe">
+<module name="noexecute" type="win32cui" installbase="bin" installname="noexecute.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 6977a0a..f627033 100644 (file)
@@ -2,8 +2,9 @@
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
+       <include base="popupmenu">.</include>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>popupmenu.c</file>
        <library>kernel32</library>
        <library>gdi32</library>
        <file>popupmenu.c</file>
-       <efile>popupmenu.rc</efile>
+       <file>popupmenu.rc</file>
 </module>
 </module>
index e6d7c4e..ea5cdbe 100644 (file)
@@ -1,6 +1,8 @@
 #include <windows.h>
 #include <stdio.h>
 
 #include <windows.h>
 #include <stdio.h>
 
+#include <tchar.h>
+
 #define BUFSIZE 128
 #define MAX_PORTNAME_LEN 20
 #define APP_VERSION_STR "0.01"
 #define BUFSIZE 128
 #define MAX_PORTNAME_LEN 20
 #define APP_VERSION_STR "0.01"
index ed3e506..26e6525 100644 (file)
@@ -1,4 +1,4 @@
-<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe">
+<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe" allowwarnings="true">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index d412d4f..cb58165 100644 (file)
@@ -1,4 +1,4 @@
-<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe">
+<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe" allowwarnings="true">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 15a245f..4706116 100644 (file)
@@ -1,11 +1,10 @@
 #define UNICODE
 
 #define UNICODE
 
-#define NTOS_MODE_USER
-#include <ntos.h>
 #include <windows.h>
 #include <stdio.h>
 #include <windows.h>
 #include <stdio.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
 
-#define DBG
 #define NDEBUG
 #include <debug.h>
 
 #define NDEBUG
 #include <debug.h>
 
index da334bb..54665b4 100644 (file)
@@ -1,8 +1,8 @@
-<module name="tcpsvr" type="win32gui" installbase="bin" installname="tcpsvr.exe">
+<module name="tcpsvr" type="win32cui" installbase="bin" installname="tcpsvr.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <library>kernel32</library>
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <library>kernel32</library>
-       <library>gdi32</library>
+       <library>ws2_32</library>
        <file>tcpsvr.c</file>
 </module>
        <file>tcpsvr.c</file>
 </module>
index eb46a74..9553194 100644 (file)
@@ -1,11 +1,10 @@
 #define UNICODE
 
 #define UNICODE
 
-#define NTOS_MODE_USER
-#include <ntos.h>
 #include <windows.h>
 #include <stdio.h>
 #include <windows.h>
 #include <stdio.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
 
-#define DBG
 #define NDEBUG
 #include <debug.h>
 
 #define NDEBUG
 #include <debug.h>
 
index 22b040b..6caca73 100644 (file)
@@ -1,4 +1,4 @@
-<module name="terminate" type="win32gui" installbase="bin" installname="terminate.exe">
+<module name="terminate" type="win32cui" installbase="bin" installname="terminate.exe">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 683bcc0..d359a41 100644 (file)
@@ -7,6 +7,9 @@
 #include <windows.h>
 #include <stdio.h>
 
 #include <windows.h>
 #include <stdio.h>
 
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
 DWORD __stdcall threadfunc(void* UNREFERENCED)
 {
        printf("Thread: Initialized\n");
 DWORD __stdcall threadfunc(void* UNREFERENCED)
 {
        printf("Thread: Initialized\n");
index 2b93226..a336d8c 100644 (file)
@@ -3,6 +3,6 @@
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <library>kernel32</library>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <library>kernel32</library>
-       <library>gdi32</library>
+       <library>ntdll</library>
        <file>threadwait.c</file>
 </module>
        <file>threadwait.c</file>
 </module>
index 16c1f41..7c04282 100644 (file)
@@ -5,6 +5,10 @@
 #include <windows.h>
 #include <stdlib.h>
 
 #include <windows.h>
 #include <stdlib.h>
 
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+
 #define INCLUDE_THE_DDK_HEADERS
 #ifdef INCLUDE_THE_DDK_HEADERS
 #include <ddk/ntddk.h>
 #define INCLUDE_THE_DDK_HEADERS
 #ifdef INCLUDE_THE_DDK_HEADERS
 #include <ddk/ntddk.h>
@@ -107,6 +111,7 @@ ZwCreateToken(
        );
 #define NT_SUCCESS(StatCode)  ((NTSTATUS)(StatCode) >= 0)
 #endif
        );
 #define NT_SUCCESS(StatCode)  ((NTSTATUS)(StatCode) >= 0)
 #endif
+
 #include <stdio.h>
 
 #define INITIAL_PRIV_ENABLED SE_PRIVILEGE_ENABLED_BY_DEFAULT|SE_PRIVILEGE_ENABLED
 #include <stdio.h>
 
 #define INITIAL_PRIV_ENABLED SE_PRIVILEGE_ENABLED_BY_DEFAULT|SE_PRIVILEGE_ENABLED
index dc03d54..54b8283 100644 (file)
@@ -4,6 +4,7 @@
        <define name="__USE_W32API" />
        <library>kernel32</library>
        <library>gdi32</library>
        <define name="__USE_W32API" />
        <library>kernel32</library>
        <library>gdi32</library>
+       <library>comctl32</library>
        <file>txtscale.cpp</file>
        <file>mk_font.cpp</file>
 </module>
        <file>txtscale.cpp</file>
        <file>mk_font.cpp</file>
 </module>
index 86aa057..09ad93b 100644 (file)
@@ -1,4 +1,4 @@
-<module name="vmtest" type="win32gui" installbase="bin" installname="vmtest.exe">
+<module name="vmtest" type="win32cui" installbase="bin" installname="vmtest.exe" allowwarnings="true">
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0501</define>
        <define name="__USE_W32API" />
index 184274f..02037cf 100644 (file)
  * ????????
  */
 
  * ????????
  */
 
+#ifndef VK_C
+#define VK_C 'C'
+#endif
+
 #include <windows.h>
 #include <stdio.h>
 #include <tchar.h>
 #include <windows.h>
 #include <stdio.h>
 #include <tchar.h>