Author: janderwald
Date: Fri Jun 23 21:39:04 2006
New Revision: 22528
URL:
http://svn.reactos.org/svn/reactos?rev=22528&view=rev
Log:
replace DECL_WINELIB_TYPE_AW macros with typedefs
thnx to Greatlord for reviewing patch
Modified:
trunk/reactos/include/objsel.h
trunk/reactos/include/reactos/wine/msacm.h
Modified: trunk/reactos/include/objsel.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/objsel.h?rev=22528…
==============================================================================
--- trunk/reactos/include/objsel.h (original)
+++ trunk/reactos/include/objsel.h Fri Jun 23 21:39:04 2006
@@ -20,6 +20,9 @@
#ifdef __cplusplus
extern "C" {
#endif
+
+#include <objidl.h>
+#include <oaidl.h>
/* the PSDK headers defines it as EXTERN_C const GUID CLSID_DsObjectPicker = {...},
* but that's not a good idea when EXTERN_C is extern... */
@@ -164,7 +167,7 @@
STDMETHOD_(ULONG,Release)(THIS) PURE;
/*** IDsObjectPicker methods ***/
STDMETHOD_(HRESULT,Initialize)(THIS_ PDSOP_INIT_INFO pInitInfo) PURE;
- STDMETHOD_(HRESULT,InvokeDialog)(THIS_ HWND hwndParent, IDataObject** ppdoSelections)
PURE;
+ STDMETHOD_(HRESULT,InvokeDialog)(THIS_ HWND hwndParent, IDataObject **
ppdoSelections) PURE;
};
#undef INTERFACE
Modified: trunk/reactos/include/reactos/wine/msacm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/msacm…
==============================================================================
--- trunk/reactos/include/reactos/wine/msacm.h (original)
+++ trunk/reactos/include/reactos/wine/msacm.h Fri Jun 23 21:39:04 2006
@@ -318,9 +318,15 @@
WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
} ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW, *LPACMDRIVERDETAILSW;
-DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS)
-DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS)
-DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMDRIVERDETAILSW ACMDRIVERDETAILS;
+typedef PACMDRIVERDETAILSW PACMDRIVERDETAILS;
+typedef LPACMDRIVERDETAILSW LPACMDRIVERDETAILS;
+#else
+typedef struct ACMDRIVERDETAILSA ACMDRIVERDETAILS;
+typedef PACMDRIVERDETAILSA PACMDRIVERDETAILS;
+typedef LPACMDRIVERDETAILSA LPACMDRIVERDETAILS;
+#endif
typedef struct _ACMFILTERCHOOSEA
{
@@ -374,9 +380,15 @@
ACMFILTERCHOOSEHOOKPROCW pfnHook;
} ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW, *LPACMFILTERCHOOSEW;
-DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE)
-DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE)
-DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFILTERCHOOSEW ACMFILTERCHOOSE;
+typedef PACMFILTERCHOOSEW PACMFILTERCHOOSE;
+typedef LPACMFILTERCHOOSEW LPACMFILTERCHOOSE;
+#else
+typedef struct ACMFILTERCHOOSEA ACMFILTERCHOOSE;
+typedef PACMFILTERCHOOSEA PACMFILTERCHOOSE;
+typedef LPACMFILTERCHOOSEA LPACMFILTERCHOOSE;
+#endif
typedef struct _ACMFILTERDETAILSA
{
@@ -400,9 +412,15 @@
WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
} ACMFILTERDETAILSW, *PACMFILTERDETAILSW, *LPACMFILTERDETAILSW;
-DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS)
-DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS)
-DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFILTERDETAILSW ACMFILTERDETAILS;
+typedef PACMFILTERDETAILSW PACMFILTERDETAILS;
+typedef LPACMFILTERDETAILSW LPACMFILTERDETAILS;
+#else
+typedef struct ACMFILTERDETAILSA ACMFILTERDETAILS;
+typedef PACMFILTERDETAILSA PACMFILTERDETAILS;
+typedef LPACMFILTERDETAILSA LPACMFILTERDETAILS;
+#endif
typedef struct _ACMFILTERTAGDETAILSA
{
@@ -426,9 +444,15 @@
WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
} ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW, *LPACMFILTERTAGDETAILSW;
-DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS)
-DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS)
-DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFILTERTAGDETAILSW ACMFILTERTAGDETAILS;
+typedef PACMFILTERTAGDETAILSW PACMFILTERTAGDETAILS;
+typedef LPACMFILTERTAGDETAILSW LPACMFILTERTAGDETAILS;
+#else
+typedef struct ACMFILTERTAGDETAILSA ACMFILTERTAGDETAILS;
+typedef PACMFILTERTAGDETAILSA PACMFILTERTAGDETAILS;
+typedef LPACMFILTERTAGDETAILSA LPACMFILTERTAGDETAILS;
+#endif
typedef struct _ACMFORMATCHOOSEA
{
@@ -482,9 +506,15 @@
ACMFORMATCHOOSEHOOKPROCW pfnHook;
} ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW, *LPACMFORMATCHOOSEW;
-DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE)
-DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE)
-DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFORMATCHOOSEW ACMFORMATCHOOSE;
+typedef PACMFORMATCHOOSEW PACMFORMATCHOOSE;
+typedef LPACMFORMATCHOOSEW LPACMFORMATCHOOSE;
+#else
+typedef struct ACMFORMATCHOOSEA ACMFORMATCHOOSE;
+typedef PACMFORMATCHOOSEA PACMFORMATCHOOSE;
+typedef LPACMFORMATCHOOSEA LPACMFORMATCHOOSE;
+#endif
typedef struct _ACMFORMATDETAILSA
{
@@ -508,9 +538,15 @@
WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
} ACMFORMATDETAILSW, *PACMFORMATDETAILSW, *LPACMFORMATDETAILSW;
-DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS)
-DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS)
-DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFORMATDETAILSW ACMFORMATDETAILS;
+typedef PACMFORMATDETAILSW PACMFORMATDETAILS;
+typedef LPACMFORMATDETAILSW LPACMFORMATDETAILS;
+#else
+typedef struct ACMFORMATDETAILSA ACMFORMATDETAILS;
+typedef PACMFORMATDETAILSA PACMFORMATDETAILS;
+typedef LPACMFORMATDETAILSA LPACMFORMATDETAILS;
+#endif
typedef struct _ACMFORMATTAGDETAILSA
{
@@ -534,9 +570,15 @@
WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
} ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW, *LPACMFORMATTAGDETAILSW;
-DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS)
-DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS)
-DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS)
+#if defined(UNICODE) || defined (_UNICODE)
+typedef struct ACMFORMATTAGDETAILSW ACMFORMATTAGDETAILS;
+typedef PACMFORMATTAGDETAILSW PACMFORMATTAGDETAILS;
+typedef LPACMFORMATTAGDETAILSW LPACMFORMATTAGDETAILS;
+#else
+typedef struct ACMFORMATTAGDETAILSA ACMFORMATTAGDETAILS;
+typedef PACMFORMATTAGDETAILSA PACMFORMATTAGDETAILS;
+typedef LPACMFORMATTAGDETAILSA LPACMFORMATTAGDETAILS;
+#endif
typedef struct _ACMSTREAMHEADER
{