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
131d9964
Commit
131d9964
authored
Nov 11, 2006
by
Andrey Turkin
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Implement AtlModuleRegisterServer.
parent
da7bdf74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
atl_main.c
dlls/atl/atl_main.c
+28
-1
No files found.
dlls/atl/atl_main.c
View file @
131d9964
...
...
@@ -257,7 +257,34 @@ HRESULT WINAPI AtlInternalQueryInterface(LPVOID this, const _ATL_INTMAP_ENTRY* p
*/
HRESULT
WINAPI
AtlModuleRegisterServer
(
_ATL_MODULEW
*
pM
,
BOOL
bRegTypeLib
,
const
CLSID
*
clsid
)
{
FIXME
(
"%p %d %s
\n
"
,
pM
,
bRegTypeLib
,
debugstr_guid
(
clsid
));
int
i
;
HRESULT
hRes
;
TRACE
(
"%p %d %s
\n
"
,
pM
,
bRegTypeLib
,
debugstr_guid
(
clsid
));
if
(
pM
==
NULL
)
return
E_INVALIDARG
;
for
(
i
=
0
;
pM
->
m_pObjMap
[
i
].
pclsid
!=
NULL
;
i
++
)
/* register CLSIDs */
{
if
(
!
clsid
||
IsEqualCLSID
(
pM
->
m_pObjMap
[
i
].
pclsid
,
clsid
))
{
const
_ATL_OBJMAP_ENTRYW
*
obj
=
&
pM
->
m_pObjMap
[
i
];
TRACE
(
"Registering clsid %s
\n
"
,
debugstr_guid
(
obj
->
pclsid
));
hRes
=
obj
->
pfnUpdateRegistry
(
TRUE
);
/* register */
if
(
FAILED
(
hRes
))
return
hRes
;
}
}
if
(
bRegTypeLib
)
{
hRes
=
AtlModuleRegisterTypeLib
(
pM
,
NULL
);
if
(
FAILED
(
hRes
))
return
hRes
;
}
return
S_OK
;
}
...
...
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