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
010e311b
Commit
010e311b
authored
Oct 22, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Oct 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Warn when CoRegisterClassObject fails.
parent
7b07e015
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
atl_main.c
dlls/atl/atl_main.c
+7
-4
No files found.
dlls/atl/atl_main.c
View file @
010e311b
...
...
@@ -179,7 +179,6 @@ HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEW *pM, DWORD dwClsContex
DWORD
dwFlags
)
{
_ATL_OBJMAP_ENTRYW_V1
*
obj
;
HRESULT
hRes
=
S_OK
;
int
i
=
0
;
TRACE
(
"(%p %i %i)
\n
"
,
pM
,
dwClsContext
,
dwFlags
);
...
...
@@ -199,15 +198,19 @@ HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEW *pM, DWORD dwClsContex
(
LPVOID
*
)
&
pUnknown
);
if
(
SUCCEEDED
(
rc
)
)
{
CoRegisterClassObject
(
obj
->
pclsid
,
pUnknown
,
dwClsContext
,
dwFlags
,
&
obj
->
dwRegister
);
rc
=
CoRegisterClassObject
(
obj
->
pclsid
,
pUnknown
,
dwClsContext
,
dwFlags
,
&
obj
->
dwRegister
);
if
(
FAILED
(
rc
)
)
WARN
(
"Failed to register object %i: 0x%08x
\n
"
,
i
,
rc
);
if
(
pUnknown
)
IUnknown_Release
(
pUnknown
);
}
}
}
return
hRes
;
return
S_OK
;
}
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULEW
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
)
...
...
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