[PATCH 3/5] dxgi: Implement IDXGIFactory::GetParent().

Henri Verbeet hverbeet at codeweavers.com
Thu Dec 3 04:38:21 CST 2009


---
 dlls/dxgi/factory.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index 33c1576..150e40c 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -110,9 +110,11 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_GetPrivateData(IWineDXGIFactory *i
 
 static HRESULT STDMETHODCALLTYPE dxgi_factory_GetParent(IWineDXGIFactory *iface, REFIID riid, void **parent)
 {
-    FIXME("iface %p, riid %s, parent %p stub!\n", iface, debugstr_guid(riid), parent);
+    WARN("iface %p, riid %s, parent %p.\n", iface, debugstr_guid(riid), parent);
 
-    return E_NOTIMPL;
+    *parent = NULL;
+
+    return E_NOINTERFACE;
 }
 
 /* IDXGIFactory methods */
-- 
1.6.4.4




More information about the wine-patches mailing list