2010-08-25 Ali Sabil <asabil@users.sourceforge.net>

* include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.
This commit is contained in:
Chris Sutcliffe 2010-08-26 02:13:12 +00:00
parent aec4fa1895
commit 8ea817cb14
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-08-25 Ali Sabil <asabil@users.sourceforge.net>
* include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.
2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shlwapi (ASSOCDATA): Update definition.

View File

@ -217,6 +217,14 @@ DECLARE_INTERFACE_(IPropertyBag,IUnknown)
};
#undef INTERFACE
#ifdef COBJMACROS
#define IPropertyBag_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
#define IPropertyBag_AddRef(T) (T)->lpVtbl->AddRef(T)
#define IPropertyBag_Release(T) (T)->lpVtbl->Release(T)
#define IPropertyBag_Read(T,a,b,c) (T)->lpVtbl->Read(T,a,b,c)
#define IPropertyBag_Write(T,a,b) (T)->lpVtbl->Write(T,a,b)
#endif
EXTERN_C const IID IID_IPropertyBag2;
#define INTERFACE IPropertyBag2
DECLARE_INTERFACE_(IPropertyBag2,IUnknown)
@ -232,6 +240,17 @@ DECLARE_INTERFACE_(IPropertyBag2,IUnknown)
};
#undef INTERFACE
#ifdef COBJMACROS
#define IPropertyBag2_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
#define IPropertyBag2_AddRef(T) (T)->lpVtbl->AddRef(T)
#define IPropertyBag2_Release(T) (T)->lpVtbl->Release(T)
#define IPropertyBag2_Read(T,a,b,c,d,e) (T)->lpVtbl->Read(T,a,b,c,d,e)
#define IPropertyBag2_Write(T,a,b,c) (T)->lpVtbl->Write(T,a,b,c)
#define IPropertyBag2_CountProperties(T,a) (T)->lpVtbl->CountProperties(T,a)
#define IPropertyBag2_GetPropertyInfo(T,a,b,c,d) (T)->lpVtbl->GetPropertyInfo(T,a,b,c,d)
#define IPropertyBag2_LoadObject(T,a,b,c,d) (T)->lpVtbl->LoadObject(T,a,b,c,d)
#endif
EXTERN_C const IID IID_IPersistPropertyBag;
#define INTERFACE IPersistPropertyBag
DECLARE_INTERFACE_(IPersistPropertyBag,IPersist)