Commit d476a4ca authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Use STDMETHOD when returning HRESULT.

parent cd8c46f9
...@@ -708,7 +708,7 @@ DECLARE_INTERFACE(IXACTWaveBank) ...@@ -708,7 +708,7 @@ DECLARE_INTERFACE(IXACTWaveBank)
#define INTERFACE IXACTEngine #define INTERFACE IXACTEngine
DECLARE_INTERFACE_(IXACTEngine,IUnknown) DECLARE_INTERFACE_(IXACTEngine,IUnknown)
{ {
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID iid, void **out) PURE; STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE; STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE; STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetRendererCount)(THIS_ XACTINDEX *count) PURE; STDMETHOD(GetRendererCount)(THIS_ XACTINDEX *count) PURE;
......
...@@ -664,7 +664,7 @@ DECLARE_INTERFACE(IXACT3WaveBank) ...@@ -664,7 +664,7 @@ DECLARE_INTERFACE(IXACT3WaveBank)
DECLARE_INTERFACE_(IXACT3Engine,IUnknown) DECLARE_INTERFACE_(IXACT3Engine,IUnknown)
{ {
/*** IUnknown methods ***/ /*** IUnknown methods ***/
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE; STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE; STDMETHOD_(ULONG,Release)(THIS) PURE;
/*** IXACT3Engine methods ***/ /*** IXACT3Engine methods ***/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment