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
52818894
Commit
52818894
authored
Dec 01, 2022
by
Robert Wilhelm
Committed by
Alexandre Julliard
Dec 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom.ocx: Implement WshNetwork2_GetIDsOfNames.
parent
04a84bc7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
network.c
dlls/wshom.ocx/network.c
+13
-2
wshom_main.c
dlls/wshom.ocx/wshom_main.c
+2
-1
wshom_private.h
dlls/wshom.ocx/wshom_private.h
+1
-0
No files found.
dlls/wshom.ocx/network.c
View file @
52818894
...
...
@@ -74,8 +74,19 @@ static HRESULT WINAPI WshNetwork2_GetTypeInfo(IWshNetwork2 *iface, UINT iTInfo,
static
HRESULT
WINAPI
WshNetwork2_GetIDsOfNames
(
IWshNetwork2
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
FIXME
(
"%p, %s, %p, %u, %lx, %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"%p, %s, %p, %u, %lx, %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
hr
=
get_typeinfo
(
IWshNetwork2_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
WshNetwork2_Invoke
(
IWshNetwork2
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
...
...
dlls/wshom.ocx/wshom_main.c
View file @
52818894
...
...
@@ -40,7 +40,8 @@ static REFIID tid_ids[] = {
&
IID_IWshEnvironment
,
&
IID_IWshExec
,
&
IID_IWshShell3
,
&
IID_IWshShortcut
&
IID_IWshShortcut
,
&
IID_IWshNetwork2
};
static
HRESULT
load_typelib
(
void
)
...
...
dlls/wshom.ocx/wshom_private.h
View file @
52818894
...
...
@@ -33,6 +33,7 @@ typedef enum tid_t {
IWshExec_tid
,
IWshShell3_tid
,
IWshShortcut_tid
,
IWshNetwork2_tid
,
LAST_tid
}
tid_t
;
...
...
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