Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/DragSource.d @ 43:b98647bc0aef
swt win compiles for d2+phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 17:08:05 +0100 |
parents | d46287db17ed |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/DragSource.d Wed Mar 25 16:13:14 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/DragSource.d Wed Mar 25 17:08:05 2009 +0100 @@ -632,7 +632,7 @@ * Ownership of ppvObject transfers from callee to caller so reference count on ppvObject * must be incremented before returning. Caller is responsible for releasing ppvObject. */ -private HRESULT QueryInterface(REFIID riid, void** ppvObject) { +private HRESULT QueryInterface(REFCIID riid, void** ppvObject) { if (riid is null || ppvObject is null) return COM.E_INVALIDARG; @@ -739,7 +739,7 @@ this(DragSource p) { parent = p; } extern (Windows): // interface of IUnknown - HRESULT QueryInterface(REFIID riid, void ** ppvObject) { return parent.QueryInterface(riid, ppvObject); } + HRESULT QueryInterface(REFCIID riid, void ** ppvObject) { return parent.QueryInterface(riid, ppvObject); } ULONG AddRef() { return parent.AddRef(); } ULONG Release() { return parent.Release(); } @@ -754,7 +754,7 @@ this(DragSource p) { parent = p; } extern (Windows): // interface of IUnknown - HRESULT QueryInterface(REFIID riid, void ** ppvObject) { return parent.QueryInterface(riid, ppvObject); } + HRESULT QueryInterface(REFCIID riid, void ** ppvObject) { return parent.QueryInterface(riid, ppvObject); } ULONG AddRef() { return parent.AddRef(); } ULONG Release() { return parent.Release(); }