Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
46964179
Commit
46964179
authored
Nov 13, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Nov 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Support both v 2.x and 3.0 version independent clsids as well as the v…
msxml3: Support both v 2.x and 3.0 version independent clsids as well as the v 3.0 version dependent clsid.
parent
9e1284df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
factory.c
dlls/msxml3/factory.c
+3
-1
regsvr.c
dlls/msxml3/regsvr.c
+31
-0
No files found.
dlls/msxml3/factory.c
View file @
46964179
...
...
@@ -141,7 +141,9 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
TRACE
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
),
ppv
);
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_DOMDocument
)
)
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_DOMDocument
)
||
/* Version indep. v 2.x */
IsEqualGUID
(
rclsid
,
&
CLSID_DOMDocument2
)
||
/* Version indep. v 3.0 */
IsEqualGUID
(
rclsid
,
&
CLSID_DOMDocument30
)
)
/* Version dep. v 3.0 */
cf
=
(
IClassFactory
*
)
&
domdoccf
.
lpVtbl
;
if
(
!
cf
)
...
...
dlls/msxml3/regsvr.c
View file @
46964179
...
...
@@ -31,6 +31,11 @@
#include "msxml.h"
#include "xmldom.h"
#include "xmldso.h"
#include "msxml2.h"
/* undef the #define in msxml2 so that we can access the v.2 version
independent CLSID as well as the v.3 one. */
#undef CLSID_DOMDocument
#include "msxml_private.h"
...
...
@@ -529,6 +534,22 @@ static struct regsvr_coclass const coclass_list[] = {
"Microsoft.XMLDOM"
,
"1.0"
},
{
&
CLSID_DOMDocument2
,
"XML DOM Document"
,
NULL
,
"msxml3.dll"
,
"Both"
,
"Msxml2.DOMDocument"
,
"3.0"
},
{
&
CLSID_DOMDocument30
,
"XML DOM Document 3.0"
,
NULL
,
"msxml3.dll"
,
"Both"
,
"Msxml2.DOMDocument"
,
"3.0"
},
{
&
CLSID_DOMFreeThreadedDocument
,
"Free threaded XML DOM Document"
,
NULL
,
...
...
@@ -589,6 +610,16 @@ static struct progid const progid_list[] = {
&
CLSID_DOMDocument
,
"Microsoft.XMLDOM.1.0"
},
{
"Msxml2.DOMDocument"
,
"XML DOM Document"
,
&
CLSID_DOMDocument2
,
"Msxml2.DOMDocument.3.0"
},
{
"Msxml2.DOMDocument.3.0"
,
"XML DOM Document 3.0"
,
&
CLSID_DOMDocument30
,
NULL
},
{
"Microsoft.FreeThreadedXMLDOM"
,
"Free threaded XML DOM Document"
,
&
CLSID_DOMFreeThreadedDocument
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment