Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8141b99d
Commit
8141b99d
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 AtlModuleLoadTypeLib.
parent
19c2b0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
atl_main.c
dlls/atl/atl_main.c
+25
-8
No files found.
dlls/atl/atl_main.c
View file @
8141b99d
...
...
@@ -68,7 +68,7 @@ HRESULT WINAPI AtlModuleInit(_ATL_MODULEW* pM, _ATL_OBJMAP_ENTRYW* p, HINSTANCE
FIXME
(
"Unknown structure version (size %i)
\n
"
,
size
);
return
E_INVALIDARG
;
}
memset
(
pM
,
0
,
pM
->
cbSize
);
pM
->
cbSize
=
size
;
pM
->
m_hInst
=
h
;
...
...
@@ -97,11 +97,28 @@ HRESULT WINAPI AtlModuleInit(_ATL_MODULEW* pM, _ATL_OBJMAP_ENTRYW* p, HINSTANCE
return
S_OK
;
}
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszIndex
,
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszIndex
,
BSTR
*
pbstrPath
,
ITypeLib
**
ppTypeLib
)
{
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
pM
,
debugstr_w
(
lpszIndex
),
pbstrPath
,
ppTypeLib
);
return
E_FAIL
;
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
;
}
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULEW
*
pM
)
...
...
@@ -238,7 +255,7 @@ HRESULT WINAPI AtlInternalQueryInterface(LPVOID this, const _ATL_INTMAP_ENTRY* p
* AtlModuleRegisterServer [ATL.@]
*
*/
HRESULT
WINAPI
AtlModuleRegisterServer
(
_ATL_MODULEW
*
pM
,
BOOL
bRegTypeLib
,
const
CLSID
*
clsid
)
HRESULT
WINAPI
AtlModuleRegisterServer
(
_ATL_MODULEW
*
pM
,
BOOL
bRegTypeLib
,
const
CLSID
*
clsid
)
{
FIXME
(
"%p %d %s
\n
"
,
pM
,
bRegTypeLib
,
debugstr_guid
(
clsid
));
return
S_OK
;
...
...
@@ -362,7 +379,7 @@ HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW *pm, const CLSID *clsid)
*
* If the class name is NULL then it a class with a name of "ATLxxxxxxxx" is
* registered, where the x's represent an unique value.
*
*
*/
ATOM
WINAPI
AtlModuleRegisterWndClassInfoW
(
_ATL_MODULEW
*
pm
,
_ATL_WNDCLASSINFOW
*
wci
,
WNDPROC
*
pProc
)
{
...
...
@@ -432,8 +449,8 @@ void WINAPI AtlModuleAddCreateWndData(_ATL_MODULEW *pM, _AtlCreateWndData *pData
*
* NOTE: I failed to find any good description of this function.
* Tests show that this function extracts one of _AtlCreateWndData
* records from the current thread from a list
*
* records from the current thread from a list
*
*/
LPVOID
WINAPI
AtlModuleExtractCreateWndData
(
_ATL_MODULEW
*
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