msxml4: Added support for SAXXMLReader40.

This commit is contained in:
Alistair Leslie-Hughes 2010-02-13 22:59:18 +11:00 committed by Alexandre Julliard
parent 24db8d384c
commit dd40448707
3 changed files with 24 additions and 1 deletions

View File

@ -167,7 +167,8 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
cf = (IClassFactory*) &domdoccf.lpVtbl;
}
else if( IsEqualCLSID( rclsid, &CLSID_SAXXMLReader) ||
IsEqualCLSID( rclsid, &CLSID_SAXXMLReader30 ))
IsEqualCLSID( rclsid, &CLSID_SAXXMLReader30 ) ||
IsEqualCLSID( rclsid, &CLSID_SAXXMLReader40 ))
{
cf = (IClassFactory*) &saxreadcf.lpVtbl;
}

View File

@ -345,6 +345,14 @@ static struct regsvr_coclass const coclass_list[] = {
"Msxml2.DOMDocument",
"4.0"
},
{ &CLSID_SAXXMLReader40,
"SAX XML Reader 4.0",
NULL,
"msxml4.dll",
"Both",
"Msxml2.SAXXMLReader",
"4.0"
},
{ NULL } /* list terminator */
};
@ -357,6 +365,11 @@ static struct progid const progid_list[] = {
&CLSID_DOMDocument40,
NULL
},
{ "Msxml2.SAXXMLReader.4.0",
"SAX XML Reader 4.0",
&CLSID_SAXXMLReader40,
NULL
},
{ NULL } /* list terminator */
};

View File

@ -1979,6 +1979,15 @@ coclass SAXXMLReader30
interface IMXReaderControl;
};
[
uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
]
coclass SAXXMLReader40
{
[default] interface IVBSAXXMLReader;
interface ISAXXMLReader;
};
[
uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
]