mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
wshom.ocx: Implement WshNetwork2_GetIDsOfNames.
This commit is contained in:
parent
04a84bc7e9
commit
5281889458
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue