Commit 865995cf authored by Adam Martinson's avatar Adam Martinson Committed by Alexandre Julliard

msxml3: Store the DLL instance handle.

parent 7d3d21a8
......@@ -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:
......
......@@ -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**);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment