Henri Verbeet : dxgi: Implement IDXGIFactory::GetParent().

Alexandre Julliard julliard at winehq.org
Thu Dec 3 10:29:53 CST 2009


Module: wine
Branch: master
Commit: 3543e3d8cc047b4f462680d74d025c49db6fb3bd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3543e3d8cc047b4f462680d74d025c49db6fb3bd

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Dec  3 11:38:21 2009 +0100

dxgi: Implement IDXGIFactory::GetParent().

---

 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 */




More information about the wine-cvs mailing list