#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) |
|
HRESULT WINAPI | DllCanUnloadNow (void) |
|
HRESULT WINAPI | DllRegisterServer (void) |
|
HRESULT WINAPI | DllUnregisterServer (void) |
|
◆ COBJMACROS
◆ fnCreateInstance
◆ DllCanUnloadNow()
◆ DllGetClassObject()
Definition at line 140 of file hnetcfg.c.
141{
143
145
147 {
149 }
150 else if (
IsEqualGUID( rclsid, &CLSID_NetFwAuthorizedApplication ))
151 {
153 }
154 else if (
IsEqualGUID( rclsid, &CLSID_NetFwOpenPort ))
155 {
157 }
158 else if (
IsEqualGUID( rclsid, &CLSID_NetFwPolicy2 ))
159 {
161 }
163 {
165 }
166
168 return IClassFactory_QueryInterface(
cf, iid,
ppv );
169}
static hnetcfg_cf fw_policy2_cf
static hnetcfg_cf fw_app_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 121 of file hnetcfg.c.
122{
124
125 switch(fdwReason) {
126 case DLL_WINE_PREATTACH:
131 break;
135 break;
136 }
138}
void release_typelib(void)
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
static HINSTANCE instance
◆ DllRegisterServer()
Definition at line 179 of file hnetcfg.c.
180{
182}
HRESULT __wine_register_resources(HMODULE module) DECLSPEC_HIDDEN
◆ DllUnregisterServer()
Definition at line 187 of file hnetcfg.c.
188{
190}
HRESULT __wine_unregister_resources(HMODULE module) DECLSPEC_HIDDEN
◆ hnetcfg_cf_AddRef()
◆ hnetcfg_cf_CreateInstance()
Definition at line 73 of file hnetcfg.c.
75{
79
81
83
84 if (pOuter)
86
87 r =
This->pfnCreateInstance( pOuter, (
LPVOID *)&punk );
90
91 r = IUnknown_QueryInterface( punk,
riid, ppobj );
94
95 IUnknown_Release( punk );
97}
GLdouble GLdouble GLdouble r
static hnetcfg_cf * impl_from_IClassFactory(IClassFactory *iface)
#define CLASS_E_NOAGGREGATION
◆ hnetcfg_cf_LockServer()
Definition at line 99 of file hnetcfg.c.
100{
101 FIXME(
"(%p)->(%d)\n", iface, dolock);
103}
◆ hnetcfg_cf_QueryInterface()
Definition at line 50 of file hnetcfg.c.
51{
54 {
55 IClassFactory_AddRef( iface );
56 *ppobj = iface;
58 }
61}
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
◆ 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 105 of file hnetcfg.c.
◆ instance
◆ upnpnat_cf