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
8e5c32ac
Commit
8e5c32ac
authored
Aug 12, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partial implementation of DllRegisterServer.
parent
4d4cd39d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
main.c
dlls/msxml3/main.c
+20
-2
wine.inf
tools/wine.inf
+1
-0
No files found.
dlls/msxml3/main.c
View file @
8e5c32ac
...
...
@@ -25,6 +25,7 @@
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winreg.h"
#include "ole2.h"
#include "wine/debug.h"
...
...
@@ -58,8 +59,25 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return
TRUE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
static
HRESULT
add_key_val
(
LPCSTR
key
,
LPCSTR
valname
,
LPCSTR
value
)
{
FIXME
(
"
\n
"
);
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
;
}
tools/wine.inf
View file @
8e5c32ac
...
...
@@ -2052,6 +2052,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,mlang.dll,1
11,,mshtml.dll,1
11,,msi.dll,1
11,,msxml3.dll,1
11,,ole32.dll,1
11,,oleaut32.dll,1
11,,qcap.dll,1
...
...
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