Module: wine Branch: master Commit: ae6aa1c8a4787c26110eeb863d2eac52ded57553 URL: https://gitlab.winehq.org/wine/wine/-/commit/ae6aa1c8a4787c26110eeb863d2eac5... Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon May 27 17:26:29 2024 +1000 include: Add IFACEMETHOD macros. --- include/objbase.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/objbase.h b/include/objbase.h index bae8de54bab..024d96ca7da 100644 --- a/include/objbase.h +++ b/include/objbase.h @@ -210,6 +210,11 @@ #define DECLARE_INTERFACE_(iface,ibase) interface DECLSPEC_NOVTABLE iface : public ibase #define DECLARE_INTERFACE_IID_(iface, ibase, iid) interface DECLSPEC_UUID(iid) DECLSPEC_NOVTABLE iface : public ibase +#define IFACEMETHOD(method) STDMETHOD(method) +#define IFACEMETHOD_(type,method) STDMETHOD_(type,method) +#define IFACEMETHODV(method) STDMETHODV(method) +#define IFACEMETHODV_(type,method) STDMETHODV_(type,method) + #define BEGIN_INTERFACE #define END_INTERFACE @@ -253,6 +258,11 @@ #define BEGIN_INTERFACE #define END_INTERFACE +#define IFACEMETHOD(method) STDMETHOD(method) +#define IFACEMETHOD_(type,method) STDMETHOD_(type,method) +#define IFACEMETHODV(method) STDMETHODV(method) +#define IFACEMETHODV_(type,method) STDMETHODV_(type,method) + #endif /* __cplusplus && !CINTERFACE */ #ifndef __IRpcStubBuffer_FWD_DEFINED__