From c8aedf9726e587b35bd91007a2b499d5cbd6ae73 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 26 Aug 2005 08:47:09 +0000 Subject: [PATCH] Add stub for CoAllowSetForegroundWindow. --- dlls/ole32/compobj.c | 10 ++++++++++ dlls/ole32/ole32.spec | 1 + 2 files changed, 11 insertions(+) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index fe2caa28d0b..8c7a8bd0441 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -2490,6 +2490,16 @@ BOOL WINAPI CoIsHandlerConnected(IUnknown *pUnk) return TRUE; } + +/*********************************************************************** + * CoAllowSetForegroundWindow [OLE32.@] + * + */ +HRESULT WINAPI CoAllowSetForegroundWindow(IUnknown *pUnk, void *pvReserved) +{ + FIXME("(%p, %p): stub\n", pUnk, pvReserved); + return S_OK; +} /*********************************************************************** * CoQueryProxyBlanket [OLE32.@] diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index 4d87e3d06bc..44aca558eb3 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -6,6 +6,7 @@ @ stdcall CLSIDFromProgID(wstr ptr) @ stdcall CLSIDFromString(wstr ptr) @ stdcall CoAddRefServerProcess() +@ stdcall CoAllowSetForegroundWindow(ptr ptr) @ stdcall CoBuildVersion() @ stdcall CoCopyProxy(ptr ptr) @ stdcall CoCreateFreeThreadedMarshaler(ptr ptr)