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
99af2f56
Commit
99af2f56
authored
Mar 03, 2011
by
Peter Schellenbach
Committed by
Alexandre Julliard
Mar 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Corrected registration flag inversion in RegisterActiveObject.
parent
7879b8e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
oleaut.c
dlls/oleaut32/oleaut.c
+4
-1
No files found.
dlls/oleaut32/oleaut.c
View file @
99af2f56
...
@@ -471,6 +471,7 @@ HRESULT WINAPI RegisterActiveObject(
...
@@ -471,6 +471,7 @@ HRESULT WINAPI RegisterActiveObject(
HRESULT
ret
;
HRESULT
ret
;
LPRUNNINGOBJECTTABLE
runobtable
;
LPRUNNINGOBJECTTABLE
runobtable
;
LPMONIKER
moniker
;
LPMONIKER
moniker
;
DWORD
rot_flags
=
ROTFLAGS_REGISTRATIONKEEPSALIVE
;
/* default registration is strong */
StringFromGUID2
(
rcid
,
guidbuf
,
39
);
StringFromGUID2
(
rcid
,
guidbuf
,
39
);
ret
=
CreateItemMoniker
(
pdelimiter
,
guidbuf
,
&
moniker
);
ret
=
CreateItemMoniker
(
pdelimiter
,
guidbuf
,
&
moniker
);
...
@@ -481,7 +482,9 @@ HRESULT WINAPI RegisterActiveObject(
...
@@ -481,7 +482,9 @@ HRESULT WINAPI RegisterActiveObject(
IMoniker_Release
(
moniker
);
IMoniker_Release
(
moniker
);
return
ret
;
return
ret
;
}
}
ret
=
IRunningObjectTable_Register
(
runobtable
,
dwFlags
,
punk
,
moniker
,
pdwRegister
);
if
(
dwFlags
==
ACTIVEOBJECT_WEAK
)
rot_flags
=
0
;
ret
=
IRunningObjectTable_Register
(
runobtable
,
rot_flags
,
punk
,
moniker
,
pdwRegister
);
IRunningObjectTable_Release
(
runobtable
);
IRunningObjectTable_Release
(
runobtable
);
IMoniker_Release
(
moniker
);
IMoniker_Release
(
moniker
);
return
ret
;
return
ret
;
...
...
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