From 7521295fba1871c3b4f2a5918e959b4a160450ea Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 25 Nov 2000 01:22:42 +0000 Subject: [PATCH] Added OLE32.DllRegisterServer stub. --- dlls/ole32/ole32.spec | 2 +- dlls/ole32/ole32_main.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index beda619adef..e83ac2457e1 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -205,7 +205,7 @@ debug_channels (ole relay storage) 191 stub CoSwitchCallContext 192 stdcall CreateErrorInfo(ptr) CreateErrorInfo 193 stub CreateObjrefMoniker -194 stub DllRegisterServer +194 stdcall DllRegisterServer() OLE32_DllRegisterServer 195 stdcall FreePropVariantArray(long ptr) FreePropVariantArray 196 stdcall GetErrorInfo(long ptr) GetErrorInfo 197 stub HACCEL_UserFree diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c index 198139f99b6..81f7ce8fcc3 100644 --- a/dlls/ole32/ole32_main.c +++ b/dlls/ole32/ole32_main.c @@ -3,6 +3,7 @@ * */ #include "windef.h" +#include "winerror.h" #include "ole32_main.h" #include "debugtools.h" @@ -35,3 +36,9 @@ BOOL WINAPI OLE32_DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImp } return TRUE; } + +HRESULT WINAPI OLE32_DllRegisterServer() { + /* FIXME: what Interfaces should we register ... */ + FIXME("(), stub!\n"); + return S_OK; +}