From 90c0ccef037d0d9704e1ccc158bfa9a7bb34d9a9 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 28 Jul 2000 20:20:20 +0000 Subject: [PATCH] Added stub for OLE32.OleSetAutoConvert needed by Adobe Photoshop 4.0. --- dlls/ole32/ole2stubs.c | 8 ++++++++ dlls/ole32/ole32.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c index 80a4719eddf..b5423564905 100644 --- a/dlls/ole32/ole2stubs.c +++ b/dlls/ole32/ole2stubs.c @@ -65,6 +65,14 @@ HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew) return S_OK; } +/****************************************************************************** + * OleSetAutoConvert [OLE32.@] + */ +HRESULT WINAPI OleSetAutoConvert(REFCLSID clsidOld, REFCLSID clsidNew) +{ + FIXME("(%p,%p), stub!\n", clsidOld, clsidNew); + return S_OK; +} /****************************************************************************** * IsAccelerator [OLE32.75] diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index b104416781a..eec019c2e8b 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -129,7 +129,7 @@ import kernel32 123 stdcall OleRun(ptr) OleRun 124 stdcall OleSave(ptr ptr long) OleSave 125 stdcall OleSaveToStream(ptr ptr) OleSaveToStream -126 stub OleSetAutoConvert +126 stdcall OleSetAutoConvert(ptr ptr) OleSetAutoConvert 127 stdcall OleSetClipboard(ptr) OleSetClipboard 128 stdcall OleSetContainedObject(ptr long) OleSetContainedObject 129 stdcall OleSetMenuDescriptor(long long long ptr ptr) OleSetMenuDescriptor