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
6dd19961
Commit
6dd19961
authored
Nov 30, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 30, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: second RegOpenKey should use CLSIDkey instead of HKEY_CLASSES_ROOT.
parent
8d01e080
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
compobj.c
ole/compobj.c
+4
-2
No files found.
ole/compobj.c
View file @
6dd19961
...
...
@@ -764,8 +764,7 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext,
if
(
hres
!=
ERROR_SUCCESS
)
return
REGDB_E_READREGDB
;
hres
=
RegOpenKeyEx32A
(
HKEY_CLASSES_ROOT
,
xclsid
,
0
,
KEY_QUERY_VALUE
,
&
key
);
hres
=
RegOpenKeyEx32A
(
CLSIDkey
,
xclsid
,
0
,
KEY_QUERY_VALUE
,
&
key
);
if
(
hres
!=
ERROR_SUCCESS
)
{
RegCloseKey
(
CLSIDkey
);
return
REGDB_E_CLASSNOTREG
;
...
...
@@ -789,6 +788,9 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext,
TRACE
(
ole
,
"couldn't find function DllGetClassObject in %s
\n
"
,
dllName
);
return
E_ACCESSDENIED
;
}
/* FIXME: Shouldn't we get a classfactory and use this to create
* the required object?
*/
return
DllGetClassObject
(
rclsid
,
iid
,
ppv
);
}
return
hres
;
...
...
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