[PATCH 14/14] includes: Fix REFPROPVARIANT definition
Maarten Lankhorst (none)
mlankhorst at patser.
Wed Nov 11 07:36:17 CST 2009
---
include/propidl.idl | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/include/propidl.idl b/include/propidl.idl
index be67394..e2da625 100644
--- a/include/propidl.idl
+++ b/include/propidl.idl
@@ -206,7 +206,17 @@ interface IPropertyStorage : IUnknown
typedef struct tagPROPVARIANT *LPPROPVARIANT;
- cpp_quote("#define REFPROPVARIANT const PROPVARIANT *")
+ cpp_quote("#if 0")
+ typedef const PROPVARIANT * REFPROPVARIANT;
+ cpp_quote("#endif")
+ cpp_quote("#ifndef _REFPROPVARIANT_DEFINED")
+ cpp_quote("#define _REFPROPVARIANT_DEFINED")
+ cpp_quote("#ifdef __cplusplus")
+ cpp_quote("#define REFPROPVARIANT const PROPVARIANT &")
+ cpp_quote("#else")
+ cpp_quote("#define REFPROPVARIANT const PROPVARIANT * __MIDL_CONST")
+ cpp_quote("#endif")
+ cpp_quote("#endif")
cpp_quote("#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */")
cpp_quote("")
--
1.6.5.2
--------------040908090703050309070707--
More information about the wine-patches
mailing list