Commit 52818894 authored by Robert Wilhelm's avatar Robert Wilhelm Committed by Alexandre Julliard

wshom.ocx: Implement WshNetwork2_GetIDsOfNames.

parent 04a84bc7
......@@ -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,
......
......@@ -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)
......
......@@ -33,6 +33,7 @@ typedef enum tid_t {
IWshExec_tid,
IWshShell3_tid,
IWshShortcut_tid,
IWshNetwork2_tid,
LAST_tid
} tid_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment