msxml3: Store the DLL instance handle.

This commit is contained in:
Adam Martinson 2010-11-09 21:40:34 -06:00 committed by Alexandre Julliard
parent 7d3d21a894
commit 865995cf1f
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(msxml);
HINSTANCE MSXML_hInstance = NULL;
#ifdef HAVE_LIBXML2
void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg, va_list ap)
@ -190,6 +192,8 @@ static void init_libxslt(void)
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
MSXML_hInstance = hInstDLL;
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:

View File

@ -98,6 +98,8 @@ typedef struct {
dispex_dynamic_data_t *dynamic_data;
} DispatchEx;
extern HINSTANCE MSXML_hInstance;
void init_dispex(DispatchEx*,IUnknown*,dispex_static_data_t*);
BOOL dispex_query_interface(DispatchEx*,REFIID,void**);