It seems that msxml2.h is manually generated and therefore many CLSIDs
and IIDs are missing. For example, I had to add the following
definitions for one of my projects:

DEFINE_GUID(IID_ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81, 0xc0,
0xcd, 0xc7, 0xbd, 0x2a, 0x08, 0x02);
DEFINE_GUID(CLSID_SAXXMLReader30, 0x3124c396, 0xfb13, 0x4836, 0xa6,
0xad, 0x13, 0x17, 0xf1, 0x71, 0x36, 0x88);
DEFINE_GUID(IID_ISAXContentHandler, 0x1545cdfa, 0x9e4e, 0x4497, 0xa8,
0xa4, 0x2b, 0xf7, 0xd0, 0x11, 0x2c, 0x44);
DEFINE_GUID(IID_ISAXErrorHandler, 0xa60511c4, 0xccf5, 0x479e, 0x98,
0xa3, 0xdc, 0x8d, 0xc5, 0x45, 0xb7, 0xd0);
DEFINE_GUID(IID_ISAXLexicalHandler, 0x7f85d5f5, 0x47a8, 0x4497, 0xbd,
0xa5, 0x84, 0xba, 0x04, 0x81, 0x9e, 0xa6);

I suppose it's a wasted effort to manually add the other missing IDs, so
I'm not sending a patch (as suggested in the IRC channel). It seems
better to automatically generate the header with Wine's IDL compiler.
However, I'm not a mingw-w64 developer and could live with the current
#if defined(__MINGW64__) || defined(__MINGW32__) in my code.

- Matthias-Christian Ott

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to