#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "netfw.h"
#include "natupnp.h"
#include "wine/debug.h"
#include "hnetcfg_private.h"
Go to the source code of this file.
|
| | WINE_DEFAULT_DEBUG_CHANNEL (hnetcfg) |
| |
| static hnetcfg_cf * | impl_from_IClassFactory (IClassFactory *iface) |
| |
| static HRESULT WINAPI | hnetcfg_cf_QueryInterface (IClassFactory *iface, REFIID riid, LPVOID *ppobj) |
| |
| static ULONG WINAPI | hnetcfg_cf_AddRef (IClassFactory *iface) |
| |
| static ULONG WINAPI | hnetcfg_cf_Release (IClassFactory *iface) |
| |
| static HRESULT WINAPI | hnetcfg_cf_CreateInstance (IClassFactory *iface, LPUNKNOWN pOuter, REFIID riid, LPVOID *ppobj) |
| |
| static HRESULT WINAPI | hnetcfg_cf_LockServer (IClassFactory *iface, BOOL dolock) |
| |
| BOOL WINAPI | DllMain (HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved) |
| |
| HRESULT WINAPI | DllGetClassObject (REFCLSID rclsid, REFIID iid, LPVOID *ppv) |
| |
◆ COBJMACROS
◆ fnCreateInstance
◆ DllGetClassObject()
Definition at line 135 of file hnetcfg.c.
136{
138
140
142 {
144 }
145 else if (
IsEqualGUID( rclsid, &CLSID_NetFwAuthorizedApplication ))
146 {
148 }
149 else if (
IsEqualGUID( rclsid, &CLSID_NetFwOpenPort ))
150 {
152 }
153 else if (
IsEqualGUID( rclsid, &CLSID_NetFwPolicy2 ))
154 {
156 }
158 {
160 }
162 {
164 }
165
167 return IClassFactory_QueryInterface(
cf, iid,
ppv );
168}
static hnetcfg_cf fw_policy2_cf
static hnetcfg_cf fw_app_cf
static hnetcfg_cf fw_rule_cf
static hnetcfg_cf fw_openport_cf
static hnetcfg_cf fw_manager_cf
static hnetcfg_cf upnpnat_cf
#define IsEqualGUID(rguid1, rguid2)
IClassFactory IClassFactory_iface
#define CLASS_E_CLASSNOTAVAILABLE
◆ DllMain()
Definition at line 119 of file hnetcfg.c.
120{
122
126 break;
130 break;
131 }
133}
static DWORD const fdwReason
void release_typelib(void)
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
◆ hnetcfg_cf_AddRef()
◆ hnetcfg_cf_CreateInstance()
Definition at line 71 of file hnetcfg.c.
73{
77
79
81
82 if (pOuter)
84
88
89 r = IUnknown_QueryInterface(
punk,
riid, ppobj );
92
93 IUnknown_Release(
punk );
95}
GLdouble GLdouble GLdouble r
static hnetcfg_cf * impl_from_IClassFactory(IClassFactory *iface)
#define CLASS_E_NOAGGREGATION
◆ hnetcfg_cf_LockServer()
Definition at line 97 of file hnetcfg.c.
98{
99 FIXME(
"(%p)->(%d)\n", iface, dolock);
101}
◆ hnetcfg_cf_QueryInterface()
Definition at line 48 of file hnetcfg.c.
49{
52 {
53 IClassFactory_AddRef( iface );
54 *ppobj = iface;
56 }
59}
const GUID IID_IClassFactory
◆ hnetcfg_cf_Release()
◆ impl_from_IClassFactory()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
| WINE_DEFAULT_DEBUG_CHANNEL |
( |
hnetcfg |
| ) |
|
◆ fw_app_cf
◆ fw_manager_cf
◆ fw_openport_cf
◆ fw_policy2_cf
◆ fw_rule_cf
◆ hnetcfg_cf_vtbl
Initial value:=
{
}
static ULONG WINAPI hnetcfg_cf_AddRef(IClassFactory *iface)
static HRESULT WINAPI hnetcfg_cf_LockServer(IClassFactory *iface, BOOL dolock)
static ULONG WINAPI hnetcfg_cf_Release(IClassFactory *iface)
static HRESULT WINAPI hnetcfg_cf_CreateInstance(IClassFactory *iface, LPUNKNOWN pOuter, REFIID riid, LPVOID *ppobj)
static HRESULT WINAPI hnetcfg_cf_QueryInterface(IClassFactory *iface, REFIID riid, LPVOID *ppobj)
Definition at line 103 of file hnetcfg.c.
◆ upnpnat_cf