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
6a3f4b8e
Commit
6a3f4b8e
authored
Feb 10, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Remove no longer necessary call to CoInitialize().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ae5f9454
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
dllfunc.c
dlls/strmbase/dllfunc.c
+0
-6
No files found.
dlls/strmbase/dllfunc.c
View file @
6a3f4b8e
...
...
@@ -149,8 +149,6 @@ HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
if
(
bRegister
)
hr
=
SetupRegisterAllClasses
(
g_Templates
,
g_cTemplates
,
szFileName
,
TRUE
);
CoInitialize
(
NULL
);
TRACE
(
"Getting IFilterMapper2
\r\n
"
);
hr
=
CoCreateInstance
(
&
CLSID_FilterMapper2
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IFilterMapper2
,
(
void
**
)
&
pIFM2
);
...
...
@@ -162,10 +160,6 @@ HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
if
(
pIFM2
)
IFilterMapper2_Release
(
pIFM2
);
/* and clear up */
CoFreeUnusedLibraries
();
CoUninitialize
();
/* if unregistering, unregister all OLE servers */
if
(
SUCCEEDED
(
hr
)
&&
!
bRegister
)
hr
=
SetupRegisterAllClasses
(
g_Templates
,
g_cTemplates
,
szFileName
,
FALSE
);
...
...
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