mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[COMDLG32_WINETEST] Add a PCH.
This commit is contained in:
parent
71ddf5374a
commit
0622ce1775
7 changed files with 31 additions and 67 deletions
|
@ -7,10 +7,15 @@ list(APPEND SOURCE
|
|||
fontdlg.c
|
||||
itemdlg.c
|
||||
printdlg.c
|
||||
testlist.c)
|
||||
precomp.h)
|
||||
|
||||
add_executable(comdlg32_winetest
|
||||
${SOURCE}
|
||||
testlist.c
|
||||
rsrc.rc)
|
||||
|
||||
add_executable(comdlg32_winetest ${SOURCE} rsrc.rc)
|
||||
target_link_libraries(comdlg32_winetest uuid)
|
||||
set_module_type(comdlg32_winetest win32cui)
|
||||
add_importlibs(comdlg32_winetest comdlg32 winspool user32 gdi32 ole32 shell32 msvcrt kernel32)
|
||||
add_pch(comdlg32_winetest precomp.h SOURCE)
|
||||
add_rostests_file(TARGET comdlg32_winetest)
|
||||
|
|
|
@ -19,24 +19,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
//#include <windows.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
#include <wingdi.h>
|
||||
#include <objbase.h>
|
||||
#include <cderr.h>
|
||||
#include <dlgs.h>
|
||||
#include <commdlg.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#include <shlguid.h>
|
||||
#define COBJMACROS
|
||||
#include <shobjidl.h>
|
||||
|
||||
#include <ole2.h>
|
||||
#include <reactos/undocuser.h>
|
||||
|
||||
|
|
|
@ -19,16 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
//#include "windows.h"
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <cderr.h>
|
||||
#include <commdlg.h>
|
||||
#include "precomp.h"
|
||||
|
||||
static UINT ID_FINDMSGSTRING;
|
||||
|
||||
|
|
|
@ -19,21 +19,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#include "precomp.h"
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
//#include <stdarg.h>
|
||||
|
||||
//#include "windef.h"
|
||||
//#include "winbase.h"
|
||||
//#include "winerror.h"
|
||||
#include <wingdi.h>
|
||||
#include <winspool.h>
|
||||
#include <winuser.h>
|
||||
//#include "objbase.h"
|
||||
|
||||
#include <commdlg.h>
|
||||
|
||||
static int get_dpiy(void)
|
||||
{
|
||||
|
|
|
@ -19,15 +19,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
#define COBJMACROS
|
||||
#define CONST_VTABLE
|
||||
#include "precomp.h"
|
||||
|
||||
#include <wincon.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
#define IDT_CHANGEFILETYPE 500
|
||||
|
|
18
modules/rostests/winetests/comdlg32/precomp.h
Normal file
18
modules/rostests/winetests/comdlg32/precomp.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef _COMDLG32_WINETEST_PRECOMP_H_
|
||||
#define _COMDLG32_WINETEST_PRECOMP_H_
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
#define COBJMACROS
|
||||
#define CONST_VTABLE
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
#include <wingdi.h>
|
||||
#include <objbase.h>
|
||||
#include <cderr.h>
|
||||
#include <commdlg.h>
|
||||
#include <dlgs.h>
|
||||
|
||||
#endif /* !_COMDLG32_WINETEST_PRECOMP_H_ */
|
|
@ -20,25 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define COBJMACROS
|
||||
#define CONST_VTABLE
|
||||
#define WIN32_NO_STATUS
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
//#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
//#include "windef.h"
|
||||
//#include "winbase.h"
|
||||
//#include "winerror.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <objbase.h>
|
||||
|
||||
#include <cderr.h>
|
||||
#include <commdlg.h>
|
||||
#include <dlgs.h>
|
||||
#include "precomp.h"
|
||||
|
||||
/* ########################### */
|
||||
|
||||
|
|
Loading…
Reference in a new issue