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
c6a8e9a5
Commit
c6a8e9a5
authored
Feb 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added IProvideClassInfo::GetClassInfo implementation.
parent
770f864a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
classinfo.c
dlls/ieframe/classinfo.c
+11
-3
ieframe.h
dlls/ieframe/ieframe.h
+4
-0
ieframe_main.c
dlls/ieframe/ieframe_main.c
+2
-0
No files found.
dlls/ieframe/classinfo.c
View file @
c6a8e9a5
...
...
@@ -52,11 +52,19 @@ static ULONG WINAPI ProvideClassInfo_Release(IProvideClassInfo2 *iface)
return
IWebBrowser_Release
(
&
This
->
IWebBrowser2_iface
);
}
static
HRESULT
WINAPI
ProvideClassInfo_GetClassInfo
(
IProvideClassInfo2
*
iface
,
LPTYPEINFO
*
ppTI
)
static
HRESULT
WINAPI
ProvideClassInfo_GetClassInfo
(
IProvideClassInfo2
*
iface
,
ITypeInfo
*
*
ppTI
)
{
WebBrowser
*
This
=
impl_from_IProvideClassInfo2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
ppTI
);
return
E_NOTIMPL
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ppTI
);
hres
=
get_typeinfo
(
This
->
version
>
1
?
WebBrowser_tid
:
WebBrowser_V1_tid
,
ppTI
);
if
(
FAILED
(
hres
))
return
hres
;
ITypeInfo_AddRef
(
*
ppTI
);
return
S_OK
;
}
static
HRESULT
WINAPI
ProvideClassInfo_GetGUID
(
IProvideClassInfo2
*
iface
,
...
...
dlls/ieframe/ieframe.h
View file @
c6a8e9a5
...
...
@@ -284,12 +284,16 @@ void register_iewindow_class(void) DECLSPEC_HIDDEN;
void
unregister_iewindow_class
(
void
)
DECLSPEC_HIDDEN
;
#define TID_LIST \
XCLSID(WebBrowser) \
XCLSID(WebBrowser_V1) \
XIID(IWebBrowser2)
typedef
enum
{
#define XIID(iface) iface ## _tid,
#define XCLSID(class) class ## _tid,
TID_LIST
#undef XIID
#undef XCLSID
LAST_tid
}
tid_t
;
...
...
dlls/ieframe/ieframe_main.c
View file @
c6a8e9a5
...
...
@@ -59,8 +59,10 @@ static ITypeInfo *typeinfos[LAST_tid];
static
REFIID
tid_ids
[]
=
{
#define XIID(iface) &IID_ ## iface,
#define XCLSID(class) &CLSID_ ## class,
TID_LIST
#undef XIID
#undef XCLSID
};
static
HRESULT
load_typelib
(
void
)
...
...
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