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
9e2d5cae
Commit
9e2d5cae
authored
Dec 11, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Reimplemented AtlModuleLoadTypeLib on top of AtlLoadTypeLib.
parent
b09af0d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
atl_main.c
dlls/atl/atl_main.c
+1
-14
No files found.
dlls/atl/atl_main.c
View file @
9e2d5cae
...
...
@@ -111,25 +111,12 @@ static _ATL_OBJMAP_ENTRYW_V1 *get_objmap_entry( _ATL_MODULEW *mod, unsigned int
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszIndex
,
BSTR
*
pbstrPath
,
ITypeLib
**
ppTypeLib
)
{
HRESULT
hRes
;
OLECHAR
path
[
MAX_PATH
+
8
];
/* leave some space for index */
TRACE
(
"(%p, %s, %p, %p)
\n
"
,
pM
,
debugstr_w
(
lpszIndex
),
pbstrPath
,
ppTypeLib
);
if
(
!
pM
)
return
E_INVALIDARG
;
GetModuleFileNameW
(
pM
->
m_hInstTypeLib
,
path
,
MAX_PATH
);
if
(
lpszIndex
)
lstrcatW
(
path
,
lpszIndex
);
hRes
=
LoadTypeLib
(
path
,
ppTypeLib
);
if
(
FAILED
(
hRes
))
return
hRes
;
*
pbstrPath
=
SysAllocString
(
path
);
return
S_OK
;
return
AtlLoadTypeLib
(
pM
->
m_hInstTypeLib
,
lpszIndex
,
pbstrPath
,
ppTypeLib
);
}
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULE
*
pM
)
...
...
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