From 714c60f081101d004a7deb5ac90314a351f49fbe Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Tue, 17 May 2005 14:33:17 +0000 Subject: [PATCH] Add Wine-only type checking for DllRegisterServer and DllUnregisterServer. --- include/objbase.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/objbase.h b/include/objbase.h index 8bad522c58c..b25b4a58bb3 100644 --- a/include/objbase.h +++ b/include/objbase.h @@ -416,6 +416,13 @@ INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax); HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv); HRESULT WINAPI DllCanUnloadNow(void); +/* shouldn't be here, but is nice for type checking */ +#ifdef __WINESRC__ +HRESULT WINAPI DllRegisterServer(void); +HRESULT WINAPI DllUnregisterServer(void); +#endif + + /***************************************************************************** * Data Object */