msxml3: Accept versioned XMLHTTP CLSIDs.

This commit is contained in:
Nikolay Sivov 2010-10-06 00:01:45 +04:00 committed by Alexandre Julliard
parent 59c5bd2956
commit 7ff3446be5
2 changed files with 39 additions and 3 deletions

View File

@ -253,7 +253,11 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID riid, void **ppv )
{ {
cf = (IClassFactory*) &saxreadcf.lpVtbl; cf = (IClassFactory*) &saxreadcf.lpVtbl;
} }
else if( IsEqualCLSID( rclsid, &CLSID_XMLHTTPRequest)) else if( IsEqualCLSID( rclsid, &CLSID_XMLHTTPRequest ) ||
IsEqualCLSID( rclsid, &CLSID_XMLHTTP26 ) ||
IsEqualCLSID( rclsid, &CLSID_XMLHTTP30 ) ||
IsEqualCLSID( rclsid, &CLSID_XMLHTTP40 ) ||
IsEqualCLSID( rclsid, &CLSID_XMLHTTP60 ))
{ {
cf = (IClassFactory*) &httpreqcf.lpVtbl; cf = (IClassFactory*) &httpreqcf.lpVtbl;
} }

View File

@ -1330,13 +1330,45 @@ coclass FreeThreadedDOMDocument30
} }
[ [
uuid(88d969c1-f192-11d4-a65f-0040963251e5), uuid(88d969c1-f192-11d4-a65f-0040963251e5)
] ]
coclass FreeThreadedDOMDocument40 coclass FreeThreadedDOMDocument40
{ {
[default] interface IXMLDOMDocument2; [default] interface IXMLDOMDocument2;
[default, source] dispinterface XMLDOMDocumentEvents; [default, source] dispinterface XMLDOMDocumentEvents;
}; }
[
uuid(f5078f1e-c551-11d3-89b9-0000f81fe221)
]
coclass XMLHTTP26
{
[default] interface IXMLHTTPRequest;
}
[
uuid(f5078f35-c551-11d3-89b9-0000f81fe221)
]
coclass XMLHTTP30
{
[default] interface IXMLHTTPRequest;
}
[
uuid(88d969c5-f192-11d4-a65f-0040963251e5)
]
coclass XMLHTTP40
{
[default] interface IXMLHTTPRequest;
}
[
uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
]
coclass XMLHTTP60
{
[default] interface IXMLHTTPRequest;
}
[ [
uuid(373984c9-b845-449b-91e7-45ac83036ade) uuid(373984c9-b845-449b-91e7-45ac83036ade)