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
b09af0d0
Commit
b09af0d0
authored
Dec 11, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlLoadTypeLib implementation (based on AtlModuleLoadTypeLib).
parent
77c7fcdc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
atl.c
dlls/atl100/atl.c
+23
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atlbase.h
include/atlbase.h
+1
-0
No files found.
dlls/atl100/atl.c
View file @
b09af0d0
...
...
@@ -265,6 +265,29 @@ void WINAPI AtlCallTermFunc(_ATL_MODULE *pM)
}
/***********************************************************************
* AtlLoadTypeLib [atl100.@]
*/
HRESULT
WINAPI
AtlLoadTypeLib
(
HINSTANCE
inst
,
LPCOLESTR
lpszIndex
,
BSTR
*
pbstrPath
,
ITypeLib
**
ppTypeLib
)
{
OLECHAR
path
[
MAX_PATH
+
8
];
/* leave some space for index */
HRESULT
hres
;
TRACE
(
"(%p %s %p %p)
\n
"
,
inst
,
debugstr_w
(
lpszIndex
),
pbstrPath
,
ppTypeLib
);
GetModuleFileNameW
(
inst
,
path
,
MAX_PATH
);
if
(
lpszIndex
)
lstrcatW
(
path
,
lpszIndex
);
hres
=
LoadTypeLib
(
path
,
ppTypeLib
);
if
(
FAILED
(
hres
))
return
hres
;
*
pbstrPath
=
SysAllocString
(
path
);
return
S_OK
;
}
/***********************************************************************
* AtlGetVersion [atl100.@]
*/
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
...
...
dlls/atl100/atl100.spec
View file @
b09af0d0
...
...
@@ -38,7 +38,7 @@
52 stub AtlIPersistPropertyBag_Load
53 stub AtlIPersistPropertyBag_Save
54 stub AtlGetObjectSourceInterface
56 st
ub AtlLoadTypeLib
56 st
dcall AtlLoadTypeLib(long wstr ptr ptr)
58 stdcall AtlModuleAddTermFunc(ptr ptr long)
59 stub AtlAxCreateControlLic
60 stub AtlAxCreateControlLicEx
...
...
include/atlbase.h
View file @
b09af0d0
...
...
@@ -211,5 +211,6 @@ HRESULT WINAPI AtlUnadvise(IUnknown *pUnkCP, const IID * iid, DWORD dw);
HRESULT
WINAPI
AtlUnmarshalPtr
(
IStream
*
pStream
,
const
IID
*
iid
,
IUnknown
**
ppUnk
);
HRESULT
WINAPI
AtlCreateRegistrar
(
IRegistrar
**
);
HRESULT
WINAPI
AtlUpdateRegistryFromResourceD
(
HINSTANCE
,
LPCOLESTR
,
BOOL
,
struct
_ATL_REGMAP_ENTRY
*
,
IRegistrar
*
);
HRESULT
WINAPI
AtlLoadTypeLib
(
HINSTANCE
,
LPCOLESTR
,
BSTR
*
,
ITypeLib
**
);
#endif
/* __WINE_ATLBASE_H__ */
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