Re: Alexandre Julliard : ole32: Register interfaces through dlldata. c as far as possible.
2008/12/3 Alexandre Julliard <julliard(a)winehq.org>:
/* from dlldata.c */ +extern HINSTANCE hProxyDll DECLSPEC_HIDDEN; +extern BOOL WINAPI OLE32_DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) DECLSPEC_HIDDEN;
Why declare OLE32_DllMain when it isn't used?
extern HRESULT WINAPI OLE32_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv) DECLSPEC_HIDDEN; +extern HRESULT WINAPI OLE32_DllRegisterServer(void) DECLSPEC_HIDDEN; +extern HRESULT WINAPI OLE32_DllUnregisterServer(void) DECLSPEC_HIDDEN;
-- Rob Shearman
"Rob Shearman" <robertshearman(a)gmail.com> writes:
2008/12/3 Alexandre Julliard <julliard(a)winehq.org>:
/* from dlldata.c */ +extern HINSTANCE hProxyDll DECLSPEC_HIDDEN; +extern BOOL WINAPI OLE32_DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) DECLSPEC_HIDDEN;
Why declare OLE32_DllMain when it isn't used?
No reason, I just declared all the functions that could be useful, but DllMain turned out to be not so useful in the end. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Rob Shearman