2008/12/3 Alexandre Julliard julliard@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" robertshearman@gmail.com writes:
2008/12/3 Alexandre Julliard julliard@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.