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
57fa2ddd
Commit
57fa2ddd
authored
Nov 26, 2022
by
Robert Wilhelm
Committed by
Alexandre Julliard
Nov 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom.ocx: Add IWshNetwork2 interface stub implementation.
parent
10d256c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
1 deletion
+84
-1
network.c
dlls/wshom.ocx/network.c
+84
-1
No files found.
dlls/wshom.ocx/network.c
View file @
57fa2ddd
...
...
@@ -17,13 +17,96 @@
*/
#include "wshom_private.h"
#include "wshom.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wshom
);
static
HRESULT
WINAPI
WshNetwork2_QueryInterface
(
IWshNetwork2
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
TRACE
(
"(IID_IUnknown %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDispatch
))
{
TRACE
(
"(IID_IDispatch %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IWshNetwork2
))
{
TRACE
(
"(IID_IWshNetwork2 %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
{
FIXME
(
"Unknown iface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
WshNetwork2_AddRef
(
IWshNetwork2
*
iface
)
{
TRACE
(
"()
\n
"
);
return
2
;
}
static
ULONG
WINAPI
WshNetwork2_Release
(
IWshNetwork2
*
iface
)
{
TRACE
(
"()
\n
"
);
return
2
;
}
static
HRESULT
WINAPI
WshNetwork2_GetTypeInfoCount
(
IWshNetwork2
*
iface
,
UINT
*
pctinfo
)
{
TRACE
(
"(%p)
\n
"
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
WshNetwork2_GetTypeInfo
(
IWshNetwork2
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
FIXME
(
"%p, %u, %lx, %p.
\n
"
,
iface
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
}
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
;
}
static
HRESULT
WINAPI
WshNetwork2_Invoke
(
IWshNetwork2
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
FIXME
(
"%p, %ld, %s, %lx, %d, %p, %p, %p, %p.
\n
"
,
iface
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshNetwork2_get_UserDomain
(
IWshNetwork2
*
iface
,
BSTR
*
UserDomain
)
{
FIXME
(
"(%p)
\n
"
,
UserDomain
);
return
E_NOTIMPL
;
}
static
const
IWshNetwork2Vtbl
WshNetwork2Vtbl
=
{
WshNetwork2_QueryInterface
,
WshNetwork2_AddRef
,
WshNetwork2_Release
,
WshNetwork2_GetTypeInfoCount
,
WshNetwork2_GetTypeInfo
,
WshNetwork2_GetIDsOfNames
,
WshNetwork2_Invoke
,
WshNetwork2_get_UserDomain
,
};
static
IWshNetwork2
WshNetwork2
=
{
&
WshNetwork2Vtbl
};
HRESULT
WINAPI
WshNetworkFactory_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
outer
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"(%p %s %p)
\n
"
,
outer
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
return
IWshNetwork2_QueryInterface
(
&
WshNetwork2
,
riid
,
ppv
);
}
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