msxml3: Store the DLL instance handle.
This commit is contained in:
parent
7d3d21a894
commit
865995cf1f
|
@ -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**);
|
||||
|
||||
|
|
Loading…
Reference in New Issue