Some minor addons to work around missing things in w32api.

svn path=/trunk/; revision=7593
This commit is contained in:
Steven Edwards 2004-01-12 23:44:24 +00:00
parent 4e26cd81eb
commit aa5d25239a
5 changed files with 35 additions and 5 deletions

View file

@ -1,4 +1,7 @@
/* $Id: commdlg.h,v 1.1 2004/01/02 19:49:44 gvg Exp $ */
/* $Id: commdlg.h,v 1.2 2004/01/12 23:44:24 sedwards Exp $ */
#define SAVE_DIALOG 1
#define OPEN_DIALOG 2
#if (WINVER >= 0x0500) && !defined (__OBJC__)
#include <objbase.h>

View file

@ -9,8 +9,10 @@
#ifndef __WINE_DLGS_H
#define __WINE_DLGS_H
#define OFN_DONTADDTORECENT 0x02000000
#define OFN_ENABLEINCLUDENOTIFY 0x00400000
#define NEWFILEOPENORD 1547
#include_next <dlgs.h>
#define NEWFILEOPENORD 1547
#endif /* __WINE_DLGS_H */

View file

@ -0,0 +1,17 @@
/*
* Compatibility header
*
* This header is wrapper to allow compilation of Wine DLLs under ReactOS
* build system. It contains definitions commonly refered to as Wineisms
* and definitions that are missing in w32api.
*/
#ifndef __WINE_GDI_H
#define __WINE_GDI_H
#define NTM_PS_OPENTYPE 0x00020000 /* wingdi.h */
#define NTM_TT_OPENTYPE 0x00040000 /* wingdi.h */
#define NTM_TYPE1 0x00100000 /* wingdi.h */
#include_next <wingdi.h>
#endif /* __WINE_GDI_H */

View file

@ -19,4 +19,8 @@
#ifndef __WINE_WINE_WINUSER16_H
#define __WINE_WINE_WINUSER16_H
#ifndef CB_SETITEMDATA16
#define CB_SETITEMDATA16 (WM_USER+17)
#endif
#endif /* __WINE_WINE_WINUSER16_H */

View file

@ -18,8 +18,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _WOWNT32_H_
#define _WOWNT32_H_
#ifndef WINE_WOWNT32_H_
#define WINE_WOWNT32_H_
#ifndef HWND_16
#define HWND_16(h32) (LOWORD(h32))
#endif
#endif /* _WOWNT32_H_ */