Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
986b33d1
Commit
986b33d1
authored
Jul 24, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use general DLL registration framework to register CLSIDs and ProgID's.
parent
a652e285
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
31 deletions
+2
-31
Makefile.in
dlls/msxml3/Makefile.in
+2
-1
main.c
dlls/msxml3/main.c
+0
-30
regsvr.c
dlls/msxml3/regsvr.c
+0
-0
No files found.
dlls/msxml3/Makefile.in
View file @
986b33d1
...
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
msxml3.dll
IMPORTS
=
urlmon shlwapi oleaut32 ole32 advapi32 kernel32 ntdll
IMPORTS
=
urlmon shlwapi oleaut32 ole32
user32
advapi32 kernel32 ntdll
EXTRALIBS
=
-luuid
@XML2LIBS@ @XSLTLIBS@
EXTRAINCL
=
@XML2INCL@ @XSLTINCL@
...
...
@@ -19,6 +19,7 @@ C_SRCS = \
nodelist.c
\
nodemap.c
\
parseerror.c
\
regsvr.c
\
text.c
SUBDIRS
=
tests
...
...
dlls/msxml3/main.c
View file @
986b33d1
...
...
@@ -59,33 +59,3 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
}
return
TRUE
;
}
static
HRESULT
add_key_val
(
LPCSTR
key
,
LPCSTR
valname
,
LPCSTR
value
)
{
HKEY
hkey
;
if
(
RegCreateKeyA
(
HKEY_CLASSES_ROOT
,
key
,
&
hkey
)
!=
ERROR_SUCCESS
)
return
E_FAIL
;
RegSetValueA
(
hkey
,
valname
,
REG_SZ
,
value
,
strlen
(
value
)
+
1
);
RegCloseKey
(
hkey
);
return
S_OK
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
LONG
r
;
r
=
add_key_val
(
"CLSID
\\
{2933BF90-7B36-11D2-B20E-00C04F983E60}"
,
NULL
,
"XML DOM Document"
);
r
=
add_key_val
(
"CLSID
\\
{2933BF90-7B36-11D2-B20E-00C04F983E60}
\\
InProcServer32"
,
NULL
,
"msxml3.dll"
);
return
r
;
}
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
RegDeleteKeyA
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{2933BF90-7B36-11D2-B20E-00C04F983E60}
\\
InProcServer32"
);
RegDeleteKeyA
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{2933BF90-7B36-11D2-B20E-00C04F983E60}"
);
return
S_OK
;
}
dlls/msxml3/regsvr.c
0 → 100644
View file @
986b33d1
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