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
d1e309ab
Commit
d1e309ab
authored
May 04, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Added IDispatch support for IShellWindows.
parent
a6163247
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
12 deletions
+39
-12
desktop.c
programs/explorer/desktop.c
+39
-12
No files found.
programs/explorer/desktop.c
View file @
d1e309ab
...
...
@@ -67,13 +67,13 @@ static unsigned int nb_launchers, nb_allocated;
static
REFIID
tid_ids
[]
=
{
&
IID_
NULL
,
&
IID_
IShellWindows
,
&
IID_IWebBrowser2
};
typedef
enum
{
NULL
_tid
,
IShellWindows
_tid
,
IWebBrowser2_tid
,
LAST_tid
}
tid_t
;
...
...
@@ -1071,24 +1071,39 @@ static ULONG WINAPI shellwindows_Release(IShellWindows *iface)
static
HRESULT
WINAPI
shellwindows_GetTypeInfoCount
(
IShellWindows
*
iface
,
UINT
*
pctinfo
)
{
FIXME
(
"%p
\n
"
,
pctinfo
);
return
E_NOTIMPL
;
TRACE
(
"%p
\n
"
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
shellwindows_GetTypeInfo
(
IShellWindows
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
FIXME
(
"%u 0x%x
%p
\n
"
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
TRACE
(
"%d %d
%p
\n
"
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IShellWindows_tid
,
ppTInfo
)
;
}
static
HRESULT
WINAPI
shellwindows_GetIDsOfNames
(
IShellWindows
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
FIXME
(
"%s %p %u 0x%x %p
\n
"
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"%s %p %d %d %p
\n
"
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
return
E_INVALIDARG
;
hr
=
get_typeinfo
(
IShellWindows_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
shellwindows_Invoke
(
IShellWindows
*
iface
,
...
...
@@ -1096,9 +1111,21 @@ static HRESULT WINAPI shellwindows_Invoke(IShellWindows *iface,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
FIXME
(
"0x%x %s 0x%x 0x%x %p %p %p %p
\n
"
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"%d %s %d %08x %p %p %p %p
\n
"
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
get_typeinfo
(
IShellWindows_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
shellwindows_get_Count
(
IShellWindows
*
iface
,
LONG
*
count
)
...
...
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