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
f4b7222b
Commit
f4b7222b
authored
Dec 09, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml4: Convert dll registration to the IRegistrar mechanism.
parent
5293d1fd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
4 deletions
+58
-4
Makefile.in
dlls/msxml4/Makefile.in
+2
-2
main.c
dlls/msxml4/main.c
+23
-2
msxml4_tlb.idl
dlls/msxml4/msxml4_tlb.idl
+33
-0
regsvr.c
dlls/msxml4/regsvr.c
+0
-0
No files found.
dlls/msxml4/Makefile.in
View file @
f4b7222b
...
...
@@ -3,10 +3,10 @@ MODULE = msxml4.dll
IMPORTS
=
ole32 advapi32
C_SRCS
=
\
main.c
\
regsvr.c
main.c
IDL_TLB_SRCS
=
msxml4_tlb.idl
IDL_R_SRCS
=
msxml4_tlb.idl
RC_SRCS
=
rsrc.rc
...
...
dlls/msxml4/main.c
View file @
f4b7222b
...
...
@@ -21,19 +21,40 @@
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
static
HINSTANCE
instance
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
instance
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
h
instance
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
instance
);
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* DllRegisterServer (MSXML4.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (MSXML4.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
dlls/msxml4/msxml4_tlb.idl
View file @
f4b7222b
...
...
@@ -1430,6 +1430,9 @@ coclass DOMDocument30
}
[
helpstring
(
"XML DOM Document 4.0"
),
progid
(
"Msxml2.DOMDocument.4.0"
),
threading
(
both
),
uuid
(
88
d969c0
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
DOMDocument40
...
...
@@ -1466,6 +1469,9 @@ coclass FreeThreadedDOMDocument30
}
[
helpstring
(
"Free threaded XML DOM Document 4.0"
),
progid
(
"Msxml2.FreeThreadedDOMDocument.4.0"
),
threading
(
both
),
uuid
(
88
d969c1
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
FreeThreadedDOMDocument40
...
...
@@ -1499,6 +1505,9 @@ coclass XMLHTTP30
}
[
helpstring
(
"XML HTTP 4.0"
),
progid
(
"Msxml2.XMLHTTP.4.0"
),
threading
(
apartment
),
uuid
(
88
d969c5
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
XMLHTTP40
...
...
@@ -1523,6 +1532,9 @@ coclass ServerXMLHTTP30
}
[
helpstring
(
"Server XML HTTP 4.0"
),
progid
(
"Msxml2.ServerXMLHTTP.4.0"
),
threading
(
apartment
),
uuid
(
88
d969c6
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
ServerXMLHTTP40
...
...
@@ -1555,6 +1567,9 @@ coclass XMLSchemaCache30
}
[
helpstring
(
"XML Schema Cache 4.0"
),
progid
(
"Msxml2.XMLSchemaCache.4.0"
),
threading
(
both
),
uuid
(
88
d969c2
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
XMLSchemaCache40
...
...
@@ -1587,6 +1602,9 @@ coclass XSLTemplate30
}
[
helpstring
(
"XSL Template 4.0"
),
progid
(
"Msxml2.XSLTemplate.4.0"
),
threading
(
both
),
uuid
(
88
d969c3
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
XSLTemplate40
...
...
@@ -3071,6 +3089,9 @@ coclass SAXXMLReader30
}
;
[
helpstring
(
"SAX XML Reader 4.0"
),
progid
(
"Msxml2.SAXXMLReader.4.0"
),
threading
(
both
),
uuid
(
7
c6e29bc
-
8b8b
-
4
c3d
-
859
e
-
af6cd158be0f
)
]
coclass
SAXXMLReader40
...
...
@@ -3120,6 +3141,9 @@ coclass MXHTMLWriter30
}
[
helpstring
(
"MXHTMLWriter 4.0"
),
progid
(
"Msxml2.MXHTMLWriter.4.0"
),
threading
(
both
),
uuid
(
88
d969c9
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
MXHTMLWriter40
...
...
@@ -3180,6 +3204,9 @@ coclass MXXMLWriter30
}
;
[
helpstring
(
"MXXMLWriter 4.0"
),
progid
(
"Msxml2.MXXMLWriter.4.0"
),
threading
(
both
),
uuid
(
88
d969c8
-
f192
-
11
d4
-
a65f
-
0040963251
e5
),
]
coclass
MXXMLWriter40
...
...
@@ -3209,6 +3236,9 @@ coclass MXNamespaceManager
}
[
helpstring
(
"MXNamespaceManager 4.0"
),
progid
(
"Msxml2.MXNamespaceManager.4.0"
),
threading
(
both
),
uuid
(
88
d969d6
-
f192
-
11
d4
-
a65f
-
0040963251
e5
)
]
coclass
MXNamespaceManager40
...
...
@@ -3228,6 +3258,9 @@ coclass SAXAttributes
}
[
helpstring
(
"SAXAttributes 4.0"
),
progid
(
"Msxml2.SAXAttributes.4.0"
),
threading
(
both
),
uuid
(
88
d969ca
-
f192
-
11
d4
-
a65f
-
0040963251
e5
),
]
coclass
SAXAttributes40
...
...
dlls/msxml4/regsvr.c
deleted
100644 → 0
View file @
5293d1fd
This diff is collapsed.
Click to expand it.
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