92 INetFwOpenPort_AddRef( iface );
115 TRACE(
"%p %u %u %p\n",
This, iTInfo, lcid, ppTInfo);
136 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
148 DISPPARAMS *pDispParams,
150 EXCEPINFO *pExcepInfo,
158 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
163 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwOpenPort_iface, dispIdMember,
164 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
237 This->protocol = ipProtocol;
258 This->port = portNumber;
364 TRACE(
"(%p,%p)\n", pUnkOuter, ppObj);
377 TRACE(
"returning iface %p\n", *ppObj);
432 INetFwOpenPorts_AddRef( iface );
455 TRACE(
"%p %u %u %p\n",
This, iTInfo, lcid, ppTInfo);
476 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
488 DISPPARAMS *pDispParams,
490 EXCEPINFO *pExcepInfo,
498 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
503 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwOpenPorts_iface, dispIdMember,
504 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
539 FIXME(
"%p, %d, %u\n",
This, portNumber, ipProtocol);
552 FIXME(
"%p, %d, %u, %p\n",
This, portNumber, ipProtocol, openPort);
557 INetFwOpenPort_put_Protocol( *openPort, ipProtocol );
558 INetFwOpenPort_put_Port( *openPort, portNumber );
593 TRACE(
"(%p,%p)\n", pUnkOuter, ppObj);
603 TRACE(
"returning iface %p\n", *ppObj);
632 TRACE(
"IProvideClassInfo not supported.\n");
640 IUPnPNAT_AddRef( iface );
674 TRACE(
"%p %u %u %p\n",
This, iTInfo, lcid, ppTInfo);
690 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
697 WORD wFlags, DISPPARAMS *pDispParams,
VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
705 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
710 hr = ITypeInfo_Invoke(
typeinfo, &
This->IUPnPNAT_iface, dispIdMember,
711 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
763 TRACE(
"(%p,%p)\n", outer,
object);
773 TRACE(
"returning iface %p\n", *
object);
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
static const struct INetFwOpenPortsVtbl fw_ports_vtbl
static HRESULT WINAPI upnpnat_GetTypeInfo(IUPnPNAT *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI fw_port_put_Name(INetFwOpenPort *iface, BSTR name)
static HRESULT WINAPI fw_port_put_Port(INetFwOpenPort *iface, LONG portNumber)
static const struct INetFwOpenPortVtbl fw_port_vtbl
static HRESULT WINAPI fw_port_get_BuiltIn(INetFwOpenPort *iface, VARIANT_BOOL *builtIn)
static HRESULT WINAPI upnpnat_Invoke(IUPnPNAT *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI upnpnat_GetTypeInfoCount(IUPnPNAT *iface, UINT *pctinfo)
static HRESULT WINAPI fw_ports_Remove(INetFwOpenPorts *iface, LONG portNumber, NET_FW_IP_PROTOCOL ipProtocol)
static HRESULT WINAPI upnpnat_get_StaticPortMappingCollection(IUPnPNAT *iface, IStaticPortMappingCollection **collection)
static HRESULT WINAPI fw_port_put_IpVersion(INetFwOpenPort *iface, NET_FW_IP_VERSION ipVersion)
static fw_port * impl_from_INetFwOpenPort(INetFwOpenPort *iface)
static HRESULT WINAPI fw_port_get_Port(INetFwOpenPort *iface, LONG *portNumber)
static HRESULT WINAPI fw_ports_Add(INetFwOpenPorts *iface, INetFwOpenPort *port)
static HRESULT WINAPI fw_ports_get__NewEnum(INetFwOpenPorts *iface, IUnknown **newEnum)
static ULONG WINAPI upnpnat_Release(IUPnPNAT *iface)
static HRESULT WINAPI fw_port_get_IpVersion(INetFwOpenPort *iface, NET_FW_IP_VERSION *ipVersion)
static ULONG WINAPI upnpnat_AddRef(IUPnPNAT *iface)
static HRESULT WINAPI fw_ports_Item(INetFwOpenPorts *iface, LONG portNumber, NET_FW_IP_PROTOCOL ipProtocol, INetFwOpenPort **openPort)
static HRESULT WINAPI fw_port_get_Name(INetFwOpenPort *iface, BSTR *name)
static HRESULT WINAPI fw_port_GetTypeInfo(INetFwOpenPort *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
HRESULT IUPnPNAT_create(IUnknown *outer, void **object)
HRESULT NetFwOpenPort_create(IUnknown *pUnkOuter, LPVOID *ppObj)
static HRESULT WINAPI upnpnat_GetIDsOfNames(IUPnPNAT *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fw_ports_GetTypeInfo(INetFwOpenPorts *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI fw_ports_get_Count(INetFwOpenPorts *iface, LONG *count)
static HRESULT WINAPI fw_port_GetIDsOfNames(INetFwOpenPort *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fw_ports_GetTypeInfoCount(INetFwOpenPorts *iface, UINT *pctinfo)
static HRESULT WINAPI upnpnat_get_NATEventManager(IUPnPNAT *iface, INATEventManager **manager)
static HRESULT WINAPI fw_ports_GetIDsOfNames(INetFwOpenPorts *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fw_port_QueryInterface(INetFwOpenPort *iface, REFIID riid, void **ppvObject)
static fw_ports * impl_from_INetFwOpenPorts(INetFwOpenPorts *iface)
static HRESULT WINAPI fw_port_GetTypeInfoCount(INetFwOpenPort *iface, UINT *pctinfo)
static HRESULT WINAPI upnpnat_get_DynamicPortMappingCollection(IUPnPNAT *iface, IDynamicPortMappingCollection **collection)
HRESULT NetFwOpenPorts_create(IUnknown *pUnkOuter, LPVOID *ppObj)
static const IUPnPNATVtbl upnpnat_vtbl
static ULONG WINAPI fw_ports_AddRef(INetFwOpenPorts *iface)
static ULONG WINAPI fw_port_Release(INetFwOpenPort *iface)
static HRESULT WINAPI fw_port_get_Scope(INetFwOpenPort *iface, NET_FW_SCOPE *scope)
static ULONG WINAPI fw_port_AddRef(INetFwOpenPort *iface)
static upnpnat * impl_from_IUPnPNAT(IUPnPNAT *iface)
static HRESULT WINAPI fw_port_get_Enabled(INetFwOpenPort *iface, VARIANT_BOOL *enabled)
static HRESULT WINAPI fw_port_put_Enabled(INetFwOpenPort *iface, VARIANT_BOOL enabled)
static HRESULT WINAPI fw_ports_QueryInterface(INetFwOpenPorts *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI fw_ports_Invoke(INetFwOpenPorts *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI fw_port_get_RemoteAddresses(INetFwOpenPort *iface, BSTR *remoteAddrs)
static HRESULT WINAPI fw_port_put_Scope(INetFwOpenPort *iface, NET_FW_SCOPE scope)
static ULONG WINAPI fw_ports_Release(INetFwOpenPorts *iface)
static HRESULT WINAPI fw_port_Invoke(INetFwOpenPort *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI fw_port_put_Protocol(INetFwOpenPort *iface, NET_FW_IP_PROTOCOL ipProtocol)
static HRESULT WINAPI fw_port_get_Protocol(INetFwOpenPort *iface, NET_FW_IP_PROTOCOL *ipProtocol)
static HRESULT WINAPI upnpnat_QueryInterface(IUPnPNAT *iface, REFIID riid, void **object)
static HRESULT WINAPI fw_port_put_RemoteAddresses(INetFwOpenPort *iface, BSTR remoteAddrs)
GLuint GLuint GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
enum NET_FW_IP_PROTOCOL_ NET_FW_IP_PROTOCOL
enum NET_FW_IP_VERSION_ NET_FW_IP_VERSION
enum NET_FW_SCOPE_ NET_FW_SCOPE
static ICollection collection
static VARIANTARG static DISPID
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
const GUID IID_IProvideClassInfo
#define IsEqualGUID(rguid1, rguid2)
INetFwOpenPort INetFwOpenPort_iface
NET_FW_IP_PROTOCOL protocol
INetFwOpenPorts INetFwOpenPorts_iface
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject