>From 012526c83bc6394e4801c05d69496b3e31ed10e3 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Wed, 12 Oct 2011 20:49:18 +1100
Subject: [PATCH] Add stub DllGetClassObject
To: wine-patches <wine-patches@winehq.org>

---
 dlls/itircl/itircl.spec   |    2 +-
 dlls/itircl/itircl_main.c |   12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/dlls/itircl/itircl.spec b/dlls/itircl/itircl.spec
index a9b7505..b16365d 100644
--- a/dlls/itircl/itircl.spec
+++ b/dlls/itircl/itircl.spec
@@ -1,4 +1,4 @@
 @ stdcall -private DllCanUnloadNow()
-@ stub DllGetClassObject
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
 @ stdcall -private DllRegisterServer()
 @ stdcall -private DllUnregisterServer()
diff --git a/dlls/itircl/itircl_main.c b/dlls/itircl/itircl_main.c
index e2f1ed3..b5ad3a2 100644
--- a/dlls/itircl/itircl_main.c
+++ b/dlls/itircl/itircl_main.c
@@ -73,3 +73,15 @@ HRESULT WINAPI DllCanUnloadNow(void)
 {
     return S_FALSE;
 }
+
+/***********************************************************************
+ *              DllGetClassObject (ITIRCL.@)
+ */ 
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
+{
+    FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+    if(!ppv)
+        return E_INVALIDARG;
+
+    return CLASS_E_CLASSNOTAVAILABLE;
+}
-- 
1.7.4.1

