static HRESULT WINAPI fw_apps_Invoke( INetFwAuthorizedApplications *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); ITypeInfo *typeinfo; HRESULT hr; TRACE("%p %d %s %d %d %p %p %p %p\n", This, dispIdMember, debugstr_guid(riid), lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr); hr = get_typeinfo( INetFwAuthorizedApplications_tid, &typeinfo ); if (SUCCEEDED(hr)) { hr = ITypeInfo_Invoke( typeinfo, &This->INetFwAuthorizedApplications_iface, dispIdMember, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr ); ITypeInfo_Release( typeinfo ); } return hr; }
static HRESULT WINAPI fw_apps_get__NewEnum( INetFwAuthorizedApplications *iface, IUnknown **newEnum ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p, %p\n", This, newEnum); return E_NOTIMPL; }
static HRESULT WINAPI fw_apps_Remove( INetFwAuthorizedApplications *iface, BSTR imageFileName ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p, %s\n", This, debugstr_w(imageFileName)); return S_OK; }
static HRESULT WINAPI fw_apps_Add( INetFwAuthorizedApplications *iface, INetFwAuthorizedApplication *app ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p, %p\n", This, app); return S_OK; }
static HRESULT WINAPI fw_apps_get_Count( INetFwAuthorizedApplications *iface, LONG *count ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p, %p\n", This, count); return E_NOTIMPL; }
static HRESULT WINAPI fw_apps_GetTypeInfoCount( INetFwAuthorizedApplications *iface, UINT *pctinfo ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p %p\n", This, pctinfo); return E_NOTIMPL; }
static HRESULT WINAPI fw_apps_Item( INetFwAuthorizedApplications *iface, BSTR imageFileName, INetFwAuthorizedApplication **app ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); TRACE("%p, %s, %p\n", This, debugstr_w(imageFileName), app); return NetFwAuthorizedApplication_create( NULL, (void **)app ); }
static HRESULT WINAPI fw_apps_GetTypeInfo( INetFwAuthorizedApplications *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); TRACE("%p %u %u %p\n", This, iTInfo, lcid, ppTInfo); return get_typeinfo( INetFwAuthorizedApplications_tid, ppTInfo ); }
static ULONG WINAPI fw_apps_Release( INetFwAuthorizedApplications *iface ) { fw_apps *fw_apps = impl_from_INetFwAuthorizedApplications( iface ); LONG refs = InterlockedDecrement( &fw_apps->refs ); if (!refs) { TRACE("destroying %p\n", fw_apps); HeapFree( GetProcessHeap(), 0, fw_apps ); } return refs; }
static HRESULT WINAPI fw_apps_GetIDsOfNames( INetFwAuthorizedApplications *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p %s %p %u %u %p\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId); return E_NOTIMPL; }
static HRESULT WINAPI fw_apps_Invoke( INetFwAuthorizedApplications *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); FIXME("%p %d %s %d %d %p %p %p %p\n", This, dispIdMember, debugstr_guid(riid), lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr); return E_NOTIMPL; }
static HRESULT WINAPI fw_apps_GetIDsOfNames( INetFwAuthorizedApplications *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); ITypeInfo *typeinfo; HRESULT hr; TRACE("%p %s %p %u %u %p\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId); hr = get_typeinfo( INetFwAuthorizedApplications_tid, &typeinfo ); if (SUCCEEDED(hr)) { hr = ITypeInfo_GetIDsOfNames( typeinfo, rgszNames, cNames, rgDispId ); ITypeInfo_Release( typeinfo ); } return hr; }
static HRESULT WINAPI fw_apps_QueryInterface( INetFwAuthorizedApplications *iface, REFIID riid, void **ppvObject ) { fw_apps *This = impl_from_INetFwAuthorizedApplications( iface ); TRACE("%p %s %p\n", This, debugstr_guid( riid ), ppvObject ); if ( IsEqualGUID( riid, &IID_INetFwAuthorizedApplications ) || IsEqualGUID( riid, &IID_IDispatch ) || IsEqualGUID( riid, &IID_IUnknown ) ) { *ppvObject = iface; } else { FIXME("interface %s not implemented\n", debugstr_guid(riid)); return E_NOINTERFACE; } INetFwAuthorizedApplications_AddRef( iface ); return S_OK; }
static ULONG WINAPI fw_apps_AddRef( INetFwAuthorizedApplications *iface ) { fw_apps *fw_apps = impl_from_INetFwAuthorizedApplications( iface ); return InterlockedIncrement( &fw_apps->refs ); }