#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 142 of file hnetcfg.c.
143{
145
147
149 {
151 }
152 else if (
IsEqualGUID( rclsid, &CLSID_NetFwAuthorizedApplication ))
153 {
155 }
156 else if (
IsEqualGUID( rclsid, &CLSID_NetFwOpenPort ))
157 {
159 }
160 else if (
IsEqualGUID( rclsid, &CLSID_NetFwPolicy2 ))
161 {
163 }
165 {
167 }
168
170 return IClassFactory_QueryInterface(
cf, iid,
ppv );
171}
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
126#ifndef __REACTOS__
127 case DLL_WINE_PREATTACH:
129#endif
133 break;
137 break;
138 }
140}
static DWORD const fdwReason
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 181 of file hnetcfg.c.
182{
184}
HRESULT __wine_register_resources(HMODULE module) DECLSPEC_HIDDEN
◆ DllUnregisterServer()
Definition at line 189 of file hnetcfg.c.
190{
192}
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