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
da7bdf74
Commit
da7bdf74
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 AtlRegisterLoadTypeLib.
parent
8141b99d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
atl_main.c
dlls/atl/atl_main.c
+19
-2
atlbase.h
dlls/atl/atlbase.h
+1
-0
No files found.
dlls/atl/atl_main.c
View file @
da7bdf74
...
...
@@ -341,8 +341,25 @@ HRESULT WINAPI AtlModuleGetClassObject(_ATL_MODULEW *pm, REFCLSID rclsid,
*/
HRESULT
WINAPI
AtlModuleRegisterTypeLib
(
_ATL_MODULEW
*
pm
,
LPCOLESTR
lpszIndex
)
{
FIXME
(
"%p %s
\n
"
,
pm
,
debugstr_w
(
lpszIndex
));
return
E_FAIL
;
HRESULT
hRes
;
BSTR
path
;
ITypeLib
*
typelib
;
TRACE
(
"%p %s
\n
"
,
pm
,
debugstr_w
(
lpszIndex
));
if
(
!
pm
)
return
E_INVALIDARG
;
hRes
=
AtlModuleLoadTypeLib
(
pm
,
lpszIndex
,
&
path
,
&
typelib
);
if
(
SUCCEEDED
(
hRes
))
{
hRes
=
RegisterTypeLib
(
typelib
,
path
,
NULL
);
/* FIXME: pass help directory */
ITypeLib_Release
(
typelib
);
SysFreeString
(
path
);
}
return
hRes
;
}
/***********************************************************************
...
...
dlls/atl/atlbase.h
View file @
da7bdf74
...
...
@@ -154,6 +154,7 @@ LPVOID WINAPI AtlModuleExtractCreateWndData(_ATL_MODULEW *pM);
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULEW
*
pM
,
_ATL_OBJMAP_ENTRYW
*
p
,
HINSTANCE
h
);
HRESULT
WINAPI
AtlModuleRegisterClassObjects
(
_ATL_MODULEW
*
pM
,
DWORD
dwClsContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
AtlModuleRegisterServer
(
_ATL_MODULEW
*
pM
,
BOOL
bRegTypeLib
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleRegisterTypeLib
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszIndex
);
HRESULT
WINAPI
AtlModuleUnregisterServer
(
_ATL_MODULEW
*
pM
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleUpdateRegistryFromResourceD
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszRes
,
BOOL
bRegister
,
struct
_ATL_REGMAP_ENTRY
*
pMapEntries
,
IRegistrar
*
pReg
);
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULEW
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
);
...
...
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