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
07065b4d
Commit
07065b4d
authored
Jan 10, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl80: Skip NULL map entries in AtlComModuleRegisterServer.
parent
d3520ef4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
atl80.c
dlls/atl80/atl80.c
+11
-10
No files found.
dlls/atl80/atl80.c
View file @
07065b4d
...
...
@@ -37,18 +37,19 @@ HRESULT WINAPI AtlComModuleRegisterServer(_ATL_COM_MODULE *mod, BOOL bRegTypeLib
TRACE
(
"(%p %x %s)
\n
"
,
mod
,
bRegTypeLib
,
debugstr_guid
(
clsid
));
for
(
iter
=
mod
->
m_ppAutoObjMapFirst
;
iter
<
mod
->
m_ppAutoObjMapLast
;
iter
++
)
{
if
(
!
clsid
||
IsEqualCLSID
((
*
iter
)
->
pclsid
,
clsid
))
{
TRACE
(
"Registering clsid %s
\n
"
,
debugstr_guid
((
*
iter
)
->
pclsid
));
hres
=
(
*
iter
)
->
pfnUpdateRegistry
(
TRUE
);
if
(
!*
iter
||
(
clsid
&&
!
IsEqualCLSID
((
*
iter
)
->
pclsid
,
clsid
)))
continue
;
TRACE
(
"Registering clsid %s
\n
"
,
debugstr_guid
((
*
iter
)
->
pclsid
));
hres
=
(
*
iter
)
->
pfnUpdateRegistry
(
TRUE
);
if
(
FAILED
(
hres
))
return
hres
;
catmap
=
(
*
iter
)
->
pfnGetCategoryMap
();
if
(
catmap
)
{
hres
=
AtlRegisterClassCategoriesHelper
((
*
iter
)
->
pclsid
,
catmap
,
TRUE
);
if
(
FAILED
(
hres
))
return
hres
;
catmap
=
(
*
iter
)
->
pfnGetCategoryMap
();
if
(
catmap
)
{
hres
=
AtlRegisterClassCategoriesHelper
((
*
iter
)
->
pclsid
,
catmap
,
TRUE
);
if
(
FAILED
(
hres
))
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