* include/aclui.h: Replace __OBJC__ guard with _OBJC_NO_COM.
* include/basetyps.h: Likewise. (_COM_interface): New define. (interface): Define to _COM_interface, conditional on !__OBJC__. Replace 'interface' with '_COM_interface', throughout. * include/comcat.h: Replace 'interface' with '_COM_interface', throughout. * include/commdlg.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/docobj.h: Replace 'interface' with '_COM_interface', throughout. * include/mshtml.h: Likewise. * include/oaidl.h: Likewise. * include/objfwd.h: Likewise. * include/objidl.h: Likewise. * include/ocidl.h: Likwise. * include/olectl.h: Likewise. * include/oleidl.h: Likewise. * include/shlobj.h: Likewise. * include/shlwapi.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/vfw.h: Likewise. * include/windows.h. Likewise. Add comment. * include/directx/d3d9.h: Replace 'interface' with '_COM_interface', throughout. * lib/test.c: Replace __OBJC__ guard with _OBJC_NO_COM. Add test for conflict with '@interface'
This commit is contained in:
@ -466,7 +466,7 @@ typedef struct tagPDW {
|
||||
HANDLE hPrintTemplate;
|
||||
HANDLE hSetupTemplate;
|
||||
} PRINTDLGW,*LPPRINTDLGW;
|
||||
#if (WINVER >= 0x0500) && !defined (__OBJC__)
|
||||
#if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
|
||||
#include <unknwn.h> /* for LPUNKNOWN */
|
||||
#include <prsht.h> /* for HPROPSHEETPAGE */
|
||||
typedef struct tagPRINTPAGERANGE {
|
||||
@ -540,7 +540,7 @@ BOOL WINAPI PrintDlgA(LPPRINTDLGA);
|
||||
BOOL WINAPI PrintDlgW(LPPRINTDLGW);
|
||||
HWND WINAPI ReplaceTextA(LPFINDREPLACEA);
|
||||
HWND WINAPI ReplaceTextW(LPFINDREPLACEW);
|
||||
#if (WINVER >= 0x0500) && !defined (__OBJC__)
|
||||
#if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
|
||||
HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA);
|
||||
HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW);
|
||||
#endif /* WINVER >= 0x0500 */
|
||||
@ -569,7 +569,7 @@ typedef PRINTDLGW PRINTDLG,*LPPRINTDLG;
|
||||
#define PageSetupDlg PageSetupDlgW
|
||||
#define PrintDlg PrintDlgW
|
||||
#define ReplaceText ReplaceTextW
|
||||
#if (WINVER >= 0x0500) && !defined (__OBJC__)
|
||||
#if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
|
||||
typedef PRINTDLGEXW PRINTDLGEX, *LPPRINTDLGEX;
|
||||
#define PrintDlgEx PrintDlgExW
|
||||
#endif /* WINVER >= 0x0500 */
|
||||
@ -597,7 +597,7 @@ typedef PRINTDLGA PRINTDLG,*LPPRINTDLG;
|
||||
#define PageSetupDlg PageSetupDlgA
|
||||
#define PrintDlg PrintDlgA
|
||||
#define ReplaceText ReplaceTextA
|
||||
#if (WINVER >= 0x0500) && !defined (__OBJC__)
|
||||
#if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
|
||||
typedef PRINTDLGEXA PRINTDLGEX, *LPPRINTDLGEX;
|
||||
#define PrintDlgEx PrintDlgExA
|
||||
#endif /* WINVER >= 0x0500 */
|
||||
|
Reference in New Issue
Block a user