diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index d71fb040835..529fd966843 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -152,7 +152,7 @@ static tid_id_t tid_ids[] = { { &IID_IVBMXNamespaceManager, LibXml2 } }; -inline REFIID get_riid_from_tid(tid_t tid) +const IID *get_riid_from_tid(tid_t tid) { return tid_ids[tid].iid; } diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index 10067a6c70e..bb517a7e29d 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -157,7 +157,7 @@ extern HINSTANCE MSXML_hInstance DECLSPEC_HIDDEN; void init_dispex(DispatchEx*,IUnknown*,dispex_static_data_t*) DECLSPEC_HIDDEN; void release_dispex(DispatchEx*) DECLSPEC_HIDDEN; BOOL dispex_query_interface(DispatchEx*,REFIID,void**) DECLSPEC_HIDDEN; -REFIID get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN; +const IID *get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN; /* memory allocation functions */