ReactOS  0.4.13-dev-259-g5ca9c9c
apps.c File Reference
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "ole2.h"
#include "netfw.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "hnetcfg_private.h"
Include dependency graph for apps.c:

Go to the source code of this file.

Classes

struct  fw_app
 
struct  fw_apps
 

Macros

#define COBJMACROS
 

Typedefs

typedef struct fw_app fw_app
 
typedef struct fw_apps fw_apps
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (hnetcfg)
 
static fw_appimpl_from_INetFwAuthorizedApplication (INetFwAuthorizedApplication *iface)
 
static ULONG WINAPI fw_app_AddRef (INetFwAuthorizedApplication *iface)
 
static ULONG WINAPI fw_app_Release (INetFwAuthorizedApplication *iface)
 
static HRESULT WINAPI fw_app_QueryInterface (INetFwAuthorizedApplication *iface, REFIID riid, void **ppvObject)
 
static HRESULT WINAPI fw_app_GetTypeInfoCount (INetFwAuthorizedApplication *iface, UINT *pctinfo)
 
HRESULT get_typeinfo (enum type_id tid, ITypeInfo **ret)
 
void release_typelib (void)
 
static HRESULT WINAPI fw_app_GetTypeInfo (INetFwAuthorizedApplication *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI fw_app_GetIDsOfNames (INetFwAuthorizedApplication *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI fw_app_Invoke (INetFwAuthorizedApplication *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI fw_app_get_Name (INetFwAuthorizedApplication *iface, BSTR *name)
 
static HRESULT WINAPI fw_app_put_Name (INetFwAuthorizedApplication *iface, BSTR name)
 
static HRESULT WINAPI fw_app_get_ProcessImageFileName (INetFwAuthorizedApplication *iface, BSTR *imageFileName)
 
static HRESULT WINAPI fw_app_put_ProcessImageFileName (INetFwAuthorizedApplication *iface, BSTR imageFileName)
 
static HRESULT WINAPI fw_app_get_IpVersion (INetFwAuthorizedApplication *iface, NET_FW_IP_VERSION *ipVersion)
 
static HRESULT WINAPI fw_app_put_IpVersion (INetFwAuthorizedApplication *iface, NET_FW_IP_VERSION ipVersion)
 
static HRESULT WINAPI fw_app_get_Scope (INetFwAuthorizedApplication *iface, NET_FW_SCOPE *scope)
 
static HRESULT WINAPI fw_app_put_Scope (INetFwAuthorizedApplication *iface, NET_FW_SCOPE scope)
 
static HRESULT WINAPI fw_app_get_RemoteAddresses (INetFwAuthorizedApplication *iface, BSTR *remoteAddrs)
 
static HRESULT WINAPI fw_app_put_RemoteAddresses (INetFwAuthorizedApplication *iface, BSTR remoteAddrs)
 
static HRESULT WINAPI fw_app_get_Enabled (INetFwAuthorizedApplication *iface, VARIANT_BOOL *enabled)
 
static HRESULT WINAPI fw_app_put_Enabled (INetFwAuthorizedApplication *iface, VARIANT_BOOL enabled)
 
HRESULT NetFwAuthorizedApplication_create (IUnknown *pUnkOuter, LPVOID *ppObj)
 
static fw_appsimpl_from_INetFwAuthorizedApplications (INetFwAuthorizedApplications *iface)
 
static ULONG WINAPI fw_apps_AddRef (INetFwAuthorizedApplications *iface)
 
static ULONG WINAPI fw_apps_Release (INetFwAuthorizedApplications *iface)
 
static HRESULT WINAPI fw_apps_QueryInterface (INetFwAuthorizedApplications *iface, REFIID riid, void **ppvObject)
 
static HRESULT WINAPI fw_apps_GetTypeInfoCount (INetFwAuthorizedApplications *iface, UINT *pctinfo)
 
static HRESULT WINAPI fw_apps_GetTypeInfo (INetFwAuthorizedApplications *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI fw_apps_GetIDsOfNames (INetFwAuthorizedApplications *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI fw_apps_Invoke (INetFwAuthorizedApplications *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI fw_apps_get_Count (INetFwAuthorizedApplications *iface, LONG *count)
 
static HRESULT WINAPI fw_apps_Add (INetFwAuthorizedApplications *iface, INetFwAuthorizedApplication *app)
 
static HRESULT WINAPI fw_apps_Remove (INetFwAuthorizedApplications *iface, BSTR imageFileName)
 
static HRESULT WINAPI fw_apps_Item (INetFwAuthorizedApplications *iface, BSTR imageFileName, INetFwAuthorizedApplication **app)
 
static HRESULT WINAPI fw_apps_get__NewEnum (INetFwAuthorizedApplications *iface, IUnknown **newEnum)
 
HRESULT NetFwAuthorizedApplications_create (IUnknown *pUnkOuter, LPVOID *ppObj)
 

Variables

static ITypeLibtypelib
 
static ITypeInfotypeinfo [last_tid]
 
static REFIID tid_id []
 
static const struct INetFwAuthorizedApplicationVtbl fw_app_vtbl
 
static const struct INetFwAuthorizedApplicationsVtbl fw_apps_vtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 23 of file apps.c.

Typedef Documentation

◆ fw_app

typedef struct fw_app fw_app

◆ fw_apps

Function Documentation

◆ fw_app_AddRef()

static ULONG WINAPI fw_app_AddRef ( INetFwAuthorizedApplication iface)
static

Definition at line 49 of file apps.c.

51 {
53  return InterlockedIncrement( &fw_app->refs );
54 }
LONG refs
Definition: apps.c:40
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define InterlockedIncrement
Definition: armddk.h:53

◆ fw_app_get_Enabled()

static HRESULT WINAPI fw_app_get_Enabled ( INetFwAuthorizedApplication iface,
VARIANT_BOOL enabled 
)
static

Definition at line 345 of file apps.c.

348 {
350 
351  FIXME("%p, %p\n", This, enabled);
352 
353  *enabled = VARIANT_FALSE;
354  return S_OK;
355 }
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glext.h:7750
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59

◆ fw_app_get_IpVersion()

static HRESULT WINAPI fw_app_get_IpVersion ( INetFwAuthorizedApplication iface,
NET_FW_IP_VERSION ipVersion 
)
static

Definition at line 281 of file apps.c.

284 {
286 
287  TRACE("%p, %p\n", This, ipVersion);
288 
289  if (!ipVersion)
290  return E_POINTER;
291  *ipVersion = NET_FW_IP_VERSION_ANY;
292  return S_OK;
293 }
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ fw_app_get_Name()

static HRESULT WINAPI fw_app_get_Name ( INetFwAuthorizedApplication iface,
BSTR name 
)
static

Definition at line 230 of file apps.c.

233 {
235 
236  FIXME("%p, %p\n", This, name);
237  return E_NOTIMPL;
238 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99
Definition: name.c:36

◆ fw_app_get_ProcessImageFileName()

static HRESULT WINAPI fw_app_get_ProcessImageFileName ( INetFwAuthorizedApplication iface,
BSTR imageFileName 
)
static

Definition at line 250 of file apps.c.

253 {
255 
256  FIXME("%p, %p\n", This, imageFileName);
257 
258  if (!imageFileName)
259  return E_POINTER;
260 
261  *imageFileName = SysAllocString( This->filename );
262  return *imageFileName || !This->filename ? S_OK : E_OUTOFMEMORY;
263 }
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define FIXME(fmt,...)
Definition: debug.h:110
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ fw_app_get_RemoteAddresses()

static HRESULT WINAPI fw_app_get_RemoteAddresses ( INetFwAuthorizedApplication iface,
BSTR remoteAddrs 
)
static

Definition at line 325 of file apps.c.

328 {
330 
331  FIXME("%p, %p\n", This, remoteAddrs);
332  return E_NOTIMPL;
333 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_app_get_Scope()

static HRESULT WINAPI fw_app_get_Scope ( INetFwAuthorizedApplication iface,
NET_FW_SCOPE scope 
)
static

Definition at line 305 of file apps.c.

308 {
310 
311  FIXME("%p, %p\n", This, scope);
312  return E_NOTIMPL;
313 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_app_GetIDsOfNames()

static HRESULT WINAPI fw_app_GetIDsOfNames ( INetFwAuthorizedApplication iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 179 of file apps.c.

186 {
189  HRESULT hr;
190 
191  TRACE("%p %s %p %u %u %p\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId);
192 
194  if (SUCCEEDED(hr))
195  {
196  hr = ITypeInfo_GetIDsOfNames( typeinfo, rgszNames, cNames, rgDispId );
197  ITypeInfo_Release( typeinfo );
198  }
199  return hr;
200 }
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
LONG HRESULT
Definition: typedefs.h:77
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
static ITypeInfo * typeinfo[last_tid]
Definition: apps.c:106
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ fw_app_GetTypeInfo()

static HRESULT WINAPI fw_app_GetTypeInfo ( INetFwAuthorizedApplication iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 167 of file apps.c.

172 {
174 
175  TRACE("%p %u %u %p\n", This, iTInfo, lcid, ppTInfo);
177 }
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44

◆ fw_app_GetTypeInfoCount()

static HRESULT WINAPI fw_app_GetTypeInfoCount ( INetFwAuthorizedApplication iface,
UINT pctinfo 
)
static

Definition at line 94 of file apps.c.

97 {
99 
100  TRACE("%p %p\n", This, pctinfo);
101  *pctinfo = 1;
102  return S_OK;
103 }
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59

◆ fw_app_Invoke()

static HRESULT WINAPI fw_app_Invoke ( INetFwAuthorizedApplication iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 202 of file apps.c.

212 {
215  HRESULT hr;
216 
217  TRACE("%p %d %s %d %d %p %p %p %p\n", This, dispIdMember, debugstr_guid(riid),
218  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
219 
221  if (SUCCEEDED(hr))
222  {
223  hr = ITypeInfo_Invoke( typeinfo, &This->INetFwAuthorizedApplication_iface, dispIdMember,
224  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
225  ITypeInfo_Release( typeinfo );
226  }
227  return hr;
228 }
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
LONG HRESULT
Definition: typedefs.h:77
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
static ITypeInfo * typeinfo[last_tid]
Definition: apps.c:106
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ fw_app_put_Enabled()

static HRESULT WINAPI fw_app_put_Enabled ( INetFwAuthorizedApplication iface,
VARIANT_BOOL  enabled 
)
static

Definition at line 357 of file apps.c.

360 {
362 
363  FIXME("%p, %d\n", This, enabled);
364  return S_OK;
365 }
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glext.h:7750
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59

◆ fw_app_put_IpVersion()

static HRESULT WINAPI fw_app_put_IpVersion ( INetFwAuthorizedApplication iface,
NET_FW_IP_VERSION  ipVersion 
)
static

Definition at line 295 of file apps.c.

298 {
300 
301  TRACE("%p, %u\n", This, ipVersion);
302  return S_OK;
303 }
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59

◆ fw_app_put_Name()

static HRESULT WINAPI fw_app_put_Name ( INetFwAuthorizedApplication iface,
BSTR  name 
)
static

Definition at line 240 of file apps.c.

243 {
245 
246  FIXME("%p, %s\n", This, debugstr_w(name));
247  return S_OK;
248 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59
Definition: name.c:36

◆ fw_app_put_ProcessImageFileName()

static HRESULT WINAPI fw_app_put_ProcessImageFileName ( INetFwAuthorizedApplication iface,
BSTR  imageFileName 
)
static

Definition at line 265 of file apps.c.

268 {
270 
271  FIXME("%p, %s\n", This, debugstr_w(imageFileName));
272 
273  if (!imageFileName || !imageFileName[0])
274  return E_INVALIDARG;
275 
276  SysFreeString( This->filename );
277  This->filename = SysAllocString( imageFileName );
278  return This->filename ? S_OK : E_OUTOFMEMORY;
279 }
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_INVALIDARG
Definition: ddrawi.h:101
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274

◆ fw_app_put_RemoteAddresses()

static HRESULT WINAPI fw_app_put_RemoteAddresses ( INetFwAuthorizedApplication iface,
BSTR  remoteAddrs 
)
static

Definition at line 335 of file apps.c.

338 {
340 
341  FIXME("%p, %s\n", This, debugstr_w(remoteAddrs));
342  return E_NOTIMPL;
343 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_app_put_Scope()

static HRESULT WINAPI fw_app_put_Scope ( INetFwAuthorizedApplication iface,
NET_FW_SCOPE  scope 
)
static

Definition at line 315 of file apps.c.

318 {
320 
321  FIXME("%p, %u\n", This, scope);
322  return S_OK;
323 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:37
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define S_OK
Definition: intsafe.h:59

◆ fw_app_QueryInterface()

static HRESULT WINAPI fw_app_QueryInterface ( INetFwAuthorizedApplication iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 70 of file apps.c.

74 {
76 
77  TRACE("%p %s %p\n", This, debugstr_guid( riid ), ppvObject );
78 
79  if ( IsEqualGUID( riid, &IID_INetFwAuthorizedApplication ) ||
82  {
83  *ppvObject = iface;
84  }
85  else
86  {
87  FIXME("interface %s not implemented\n", debugstr_guid(riid));
88  return E_NOINTERFACE;
89  }
90  INetFwAuthorizedApplication_AddRef( iface );
91  return S_OK;
92 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
const GUID IID_IUnknown
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
const GUID IID_IDispatch
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ fw_app_Release()

static ULONG WINAPI fw_app_Release ( INetFwAuthorizedApplication iface)
static

Definition at line 56 of file apps.c.

58 {
61  if (!refs)
62  {
63  TRACE("destroying %p\n", fw_app);
66  }
67  return refs;
68 }
LONG refs
Definition: apps.c:40
long LONG
Definition: pedump.c:60
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
#define GetProcessHeap()
Definition: compat.h:395
BSTR filename
Definition: apps.c:41
static fw_app * impl_from_INetFwAuthorizedApplication(INetFwAuthorizedApplication *iface)
Definition: apps.c:44
#define InterlockedDecrement
Definition: armddk.h:52
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ fw_apps_Add()

static HRESULT WINAPI fw_apps_Add ( INetFwAuthorizedApplications iface,
INetFwAuthorizedApplication app 
)
static

Definition at line 546 of file apps.c.

549 {
551 
552  FIXME("%p, %p\n", This, app);
553  return S_OK;
554 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define S_OK
Definition: intsafe.h:59

◆ fw_apps_AddRef()

static ULONG WINAPI fw_apps_AddRef ( INetFwAuthorizedApplications iface)
static

Definition at line 419 of file apps.c.

421 {
423  return InterlockedIncrement( &fw_apps->refs );
424 }
LONG refs
Definition: apps.c:411
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define InterlockedIncrement
Definition: armddk.h:53

◆ fw_apps_get__NewEnum()

static HRESULT WINAPI fw_apps_get__NewEnum ( INetFwAuthorizedApplications iface,
IUnknown **  newEnum 
)
static

Definition at line 577 of file apps.c.

580 {
582 
583  FIXME("%p, %p\n", This, newEnum);
584  return E_NOTIMPL;
585 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_apps_get_Count()

static HRESULT WINAPI fw_apps_get_Count ( INetFwAuthorizedApplications iface,
LONG count 
)
static

Definition at line 536 of file apps.c.

539 {
541 
542  FIXME("%p, %p\n", This, count);
543  return E_NOTIMPL;
544 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_apps_GetIDsOfNames()

static HRESULT WINAPI fw_apps_GetIDsOfNames ( INetFwAuthorizedApplications iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 485 of file apps.c.

492 {
495  HRESULT hr;
496 
497  TRACE("%p %s %p %u %u %p\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId);
498 
500  if (SUCCEEDED(hr))
501  {
502  hr = ITypeInfo_GetIDsOfNames( typeinfo, rgszNames, cNames, rgDispId );
503  ITypeInfo_Release( typeinfo );
504  }
505  return hr;
506 }
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
#define debugstr_guid
Definition: kernel32.h:35
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
static ITypeInfo * typeinfo[last_tid]
Definition: apps.c:106
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ fw_apps_GetTypeInfo()

static HRESULT WINAPI fw_apps_GetTypeInfo ( INetFwAuthorizedApplications iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 473 of file apps.c.

478 {
480 
481  TRACE("%p %u %u %p\n", This, iTInfo, lcid, ppTInfo);
483 }
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414

◆ fw_apps_GetTypeInfoCount()

static HRESULT WINAPI fw_apps_GetTypeInfoCount ( INetFwAuthorizedApplications iface,
UINT pctinfo 
)
static

Definition at line 463 of file apps.c.

466 {
468 
469  FIXME("%p %p\n", This, pctinfo);
470  return E_NOTIMPL;
471 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ fw_apps_Invoke()

static HRESULT WINAPI fw_apps_Invoke ( INetFwAuthorizedApplications iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 508 of file apps.c.

518 {
521  HRESULT hr;
522 
523  TRACE("%p %d %s %d %d %p %p %p %p\n", This, dispIdMember, debugstr_guid(riid),
524  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
525 
527  if (SUCCEEDED(hr))
528  {
529  hr = ITypeInfo_Invoke( typeinfo, &This->INetFwAuthorizedApplications_iface, dispIdMember,
530  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
531  ITypeInfo_Release( typeinfo );
532  }
533  return hr;
534 }
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:120
#define debugstr_guid
Definition: kernel32.h:35
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
static ITypeInfo * typeinfo[last_tid]
Definition: apps.c:106
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ fw_apps_Item()

static HRESULT WINAPI fw_apps_Item ( INetFwAuthorizedApplications iface,
BSTR  imageFileName,
INetFwAuthorizedApplication **  app 
)
static

Definition at line 566 of file apps.c.

570 {
572 
573  TRACE("%p, %s, %p\n", This, debugstr_w(imageFileName), app);
574  return NetFwAuthorizedApplication_create( NULL, (void **)app );
575 }
HRESULT NetFwAuthorizedApplication_create(IUnknown *pUnkOuter, LPVOID *ppObj)
Definition: apps.c:390
#define debugstr_w
Definition: kernel32.h:32
smooth NULL
Definition: ftsmooth.c:416
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414

◆ fw_apps_QueryInterface()

static HRESULT WINAPI fw_apps_QueryInterface ( INetFwAuthorizedApplications iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 439 of file apps.c.

443 {
445 
446  TRACE("%p %s %p\n", This, debugstr_guid( riid ), ppvObject );
447 
448  if ( IsEqualGUID( riid, &IID_INetFwAuthorizedApplications ) ||
451  {
452  *ppvObject = iface;
453  }
454  else
455  {
456  FIXME("interface %s not implemented\n", debugstr_guid(riid));
457  return E_NOINTERFACE;
458  }
459  INetFwAuthorizedApplications_AddRef( iface );
460  return S_OK;
461 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
const GUID IID_IDispatch
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ fw_apps_Release()

static ULONG WINAPI fw_apps_Release ( INetFwAuthorizedApplications iface)
static

Definition at line 426 of file apps.c.

428 {
431  if (!refs)
432  {
433  TRACE("destroying %p\n", fw_apps);
435  }
436  return refs;
437 }
LONG refs
Definition: apps.c:411
long LONG
Definition: pedump.c:60
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
#define InterlockedDecrement
Definition: armddk.h:52
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ fw_apps_Remove()

static HRESULT WINAPI fw_apps_Remove ( INetFwAuthorizedApplications iface,
BSTR  imageFileName 
)
static

Definition at line 556 of file apps.c.

559 {
561 
562  FIXME("%p, %s\n", This, debugstr_w(imageFileName));
563  return S_OK;
564 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: apps.c:408
static fw_apps * impl_from_INetFwAuthorizedApplications(INetFwAuthorizedApplications *iface)
Definition: apps.c:414
#define S_OK
Definition: intsafe.h:59

◆ get_typeinfo()

HRESULT get_typeinfo ( enum type_id  tid,
ITypeInfo **  ret 
)

Definition at line 120 of file apps.c.

121 {
122  HRESULT hr;
123 
124  if (!typelib)
125  {
126  ITypeLib *lib;
127 
128  hr = LoadRegTypeLib( &LIBID_NetFwPublicTypeLib, 1, 0, LOCALE_SYSTEM_DEFAULT, &lib );
129  if (FAILED(hr))
130  {
131  ERR("LoadRegTypeLib failed: %08x\n", hr);
132  return hr;
133  }
134  if (InterlockedCompareExchangePointer( (void **)&typelib, lib, NULL ))
135  ITypeLib_Release( lib );
136  }
137  if (!typeinfo[tid])
138  {
139  ITypeInfo *info;
140 
141  hr = ITypeLib_GetTypeInfoOfGuid( typelib, tid_id[tid], &info );
142  if (FAILED(hr))
143  {
144  ERR("GetTypeInfoOfGuid(%s) failed: %08x\n", debugstr_guid(tid_id[tid]), hr);
145  return hr;
146  }
148  ITypeInfo_Release( info );
149  }
150  *ret = typeinfo[tid];
151  ITypeInfo_AddRef(typeinfo[tid]);
152  return S_OK;
153 }
static REFIID tid_id[]
Definition: apps.c:108
HRESULT hr
Definition: shlfolder.c:183
static ITypeLib * typelib
Definition: apps.c:105
struct _test_info info[]
Definition: SetCursorPos.c:19
#define InterlockedCompareExchangePointer
Definition: interlocked.h:129
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
LONG HRESULT
Definition: typedefs.h:77
#define LOCALE_SYSTEM_DEFAULT
int ret
#define ERR(fmt,...)
Definition: debug.h:109
#define S_OK
Definition: intsafe.h:59
HRESULT WINAPI LoadRegTypeLib(REFGUID rguid, WORD wVerMajor, WORD wVerMinor, LCID lcid, ITypeLib **ppTLib)
Definition: typelib.c:534
static TfClientId tid

Referenced by dictionary_GetIDsOfNames(), dictionary_GetTypeInfo(), dictionary_Invoke(), drive_GetIDsOfNames(), drive_GetTypeInfo(), drive_Invoke(), drivecoll_GetIDsOfNames(), drivecoll_GetTypeInfo(), drivecoll_Invoke(), file_GetIDsOfNames(), file_GetTypeInfo(), file_Invoke(), filecoll_GetIDsOfNames(), filecoll_GetTypeInfo(), filecoll_Invoke(), filesys_GetIDsOfNames(), filesys_GetTypeInfo(), filesys_Invoke(), folder_GetIDsOfNames(), folder_GetTypeInfo(), folder_Invoke(), foldercoll_GetIDsOfNames(), foldercoll_GetTypeInfo(), foldercoll_Invoke(), fw_app_GetIDsOfNames(), fw_app_GetTypeInfo(), fw_app_Invoke(), fw_apps_GetIDsOfNames(), fw_apps_GetTypeInfo(), fw_apps_Invoke(), fw_manager_GetIDsOfNames(), fw_manager_GetTypeInfo(), fw_manager_Invoke(), fw_policy_GetIDsOfNames(), fw_policy_GetTypeInfo(), fw_policy_Invoke(), fw_port_GetIDsOfNames(), fw_port_GetTypeInfo(), fw_port_Invoke(), fw_ports_GetIDsOfNames(), fw_ports_GetTypeInfo(), fw_ports_Invoke(), fw_profile_GetIDsOfNames(), fw_profile_GetTypeInfo(), fw_profile_Invoke(), fwpolicy2_GetIDsOfNames(), fwpolicy2_GetTypeInfo(), fwpolicy2_Invoke(), init_global(), MsiActiveScriptSite_GetItemInfo(), netfw_rules_GetIDsOfNames(), netfw_rules_GetTypeInfo(), netfw_rules_Invoke(), ProvideClassInfo_GetClassInfo(), textstream_GetIDsOfNames(), textstream_GetTypeInfo(), textstream_Invoke(), VBSAXAttributes_GetIDsOfNames(), VBSAXAttributes_GetTypeInfo(), VBSAXAttributes_Invoke(), WebBrowser_GetIDsOfNames(), WebBrowser_GetTypeInfo(), WebBrowser_Invoke(), WshCollection_GetIDsOfNames(), WshCollection_GetTypeInfo(), WshCollection_Invoke(), WshEnvironment_GetIDsOfNames(), WshEnvironment_GetTypeInfo(), WshEnvironment_Invoke(), WshExec_GetIDsOfNames(), WshExec_GetTypeInfo(), WshExec_Invoke(), WshShell3_GetIDsOfNames(), WshShell3_GetTypeInfo(), WshShell3_Invoke(), WshShortcut_GetIDsOfNames(), WshShortcut_GetTypeInfo(), and WshShortcut_Invoke().

◆ impl_from_INetFwAuthorizedApplication()

static fw_app* impl_from_INetFwAuthorizedApplication ( INetFwAuthorizedApplication iface)
inlinestatic

Definition at line 44 of file apps.c.

45 {
46  return CONTAINING_RECORD(iface, fw_app, INetFwAuthorizedApplication_iface);
47 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
Definition: apps.c:37

Referenced by fw_app_AddRef(), fw_app_get_Enabled(), fw_app_get_IpVersion(), fw_app_get_Name(), fw_app_get_ProcessImageFileName(), fw_app_get_RemoteAddresses(), fw_app_get_Scope(), fw_app_GetIDsOfNames(), fw_app_GetTypeInfo(), fw_app_GetTypeInfoCount(), fw_app_Invoke(), fw_app_put_Enabled(), fw_app_put_IpVersion(), fw_app_put_Name(), fw_app_put_ProcessImageFileName(), fw_app_put_RemoteAddresses(), fw_app_put_Scope(), fw_app_QueryInterface(), and fw_app_Release().

◆ impl_from_INetFwAuthorizedApplications()

static fw_apps* impl_from_INetFwAuthorizedApplications ( INetFwAuthorizedApplications iface)
inlinestatic

Definition at line 414 of file apps.c.

415 {
416  return CONTAINING_RECORD(iface, fw_apps, INetFwAuthorizedApplications_iface);
417 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
Definition: apps.c:408

Referenced by fw_apps_Add(), fw_apps_AddRef(), fw_apps_get__NewEnum(), fw_apps_get_Count(), fw_apps_GetIDsOfNames(), fw_apps_GetTypeInfo(), fw_apps_GetTypeInfoCount(), fw_apps_Invoke(), fw_apps_Item(), fw_apps_QueryInterface(), fw_apps_Release(), and fw_apps_Remove().

◆ NetFwAuthorizedApplication_create()

HRESULT NetFwAuthorizedApplication_create ( IUnknown pUnkOuter,
LPVOID ppObj 
)

Definition at line 390 of file apps.c.

391 {
392  fw_app *fa;
393 
394  TRACE("(%p,%p)\n", pUnkOuter, ppObj);
395 
396  fa = HeapAlloc( GetProcessHeap(), 0, sizeof(*fa) );
397  if (!fa) return E_OUTOFMEMORY;
398 
399  fa->INetFwAuthorizedApplication_iface.lpVtbl = &fw_app_vtbl;
400  fa->refs = 1;
401  fa->filename = NULL;
402 
403  *ppObj = &fa->INetFwAuthorizedApplication_iface;
404 
405  TRACE("returning iface %p\n", *ppObj);
406  return S_OK;
407 }
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
Definition: apps.c:37
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static const struct INetFwAuthorizedApplicationVtbl fw_app_vtbl
Definition: apps.c:367
#define S_OK
Definition: intsafe.h:59
f_args fa
Definition: format.c:280

Referenced by fw_apps_Item().

◆ NetFwAuthorizedApplications_create()

HRESULT NetFwAuthorizedApplications_create ( IUnknown pUnkOuter,
LPVOID ppObj 
)

Definition at line 603 of file apps.c.

604 {
605  fw_apps *fa;
606 
607  TRACE("(%p,%p)\n", pUnkOuter, ppObj);
608 
609  fa = HeapAlloc( GetProcessHeap(), 0, sizeof(*fa) );
610  if (!fa) return E_OUTOFMEMORY;
611 
612  fa->INetFwAuthorizedApplications_iface.lpVtbl = &fw_apps_vtbl;
613  fa->refs = 1;
614 
615  *ppObj = &fa->INetFwAuthorizedApplications_iface;
616 
617  TRACE("returning iface %p\n", *ppObj);
618  return S_OK;
619 }
static const struct INetFwAuthorizedApplicationsVtbl fw_apps_vtbl
Definition: apps.c:587
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: apps.c:408
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define S_OK
Definition: intsafe.h:59
f_args fa
Definition: format.c:280

Referenced by fw_profile_get_AuthorizedApplications().

◆ release_typelib()

void release_typelib ( void  )

Definition at line 155 of file apps.c.

156 {
157  unsigned i;
158 
159  for (i = 0; i < sizeof(typeinfo)/sizeof(*typeinfo); i++)
160  if (typeinfo[i])
161  ITypeInfo_Release(typeinfo[i]);
162 
163  if (typelib)
164  ITypeLib_Release(typelib);
165 }
static ITypeLib * typelib
Definition: apps.c:105
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static ITypeInfo * typeinfo[last_tid]
Definition: apps.c:106

Referenced by DllMain(), and process_detach().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( hnetcfg  )

Variable Documentation

◆ fw_app_vtbl

const struct INetFwAuthorizedApplicationVtbl fw_app_vtbl
static
Initial value:
=
{
}
static ULONG WINAPI fw_app_AddRef(INetFwAuthorizedApplication *iface)
Definition: apps.c:49
static HRESULT WINAPI fw_app_put_Name(INetFwAuthorizedApplication *iface, BSTR name)
Definition: apps.c:240
static HRESULT WINAPI fw_app_GetTypeInfoCount(INetFwAuthorizedApplication *iface, UINT *pctinfo)
Definition: apps.c:94
static HRESULT WINAPI fw_app_Invoke(INetFwAuthorizedApplication *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: apps.c:202
static HRESULT WINAPI fw_app_get_Enabled(INetFwAuthorizedApplication *iface, VARIANT_BOOL *enabled)
Definition: apps.c:345
static HRESULT WINAPI fw_app_put_IpVersion(INetFwAuthorizedApplication *iface, NET_FW_IP_VERSION ipVersion)
Definition: apps.c:295
static HRESULT WINAPI fw_app_get_RemoteAddresses(INetFwAuthorizedApplication *iface, BSTR *remoteAddrs)
Definition: apps.c:325
static HRESULT WINAPI fw_app_GetIDsOfNames(INetFwAuthorizedApplication *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: apps.c:179
static HRESULT WINAPI fw_app_get_ProcessImageFileName(INetFwAuthorizedApplication *iface, BSTR *imageFileName)
Definition: apps.c:250
static HRESULT WINAPI fw_app_get_IpVersion(INetFwAuthorizedApplication *iface, NET_FW_IP_VERSION *ipVersion)
Definition: apps.c:281
static HRESULT WINAPI fw_app_GetTypeInfo(INetFwAuthorizedApplication *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: apps.c:167
static HRESULT WINAPI fw_app_put_Enabled(INetFwAuthorizedApplication *iface, VARIANT_BOOL enabled)
Definition: apps.c:357
static HRESULT WINAPI fw_app_put_Scope(INetFwAuthorizedApplication *iface, NET_FW_SCOPE scope)
Definition: apps.c:315
static HRESULT WINAPI fw_app_put_RemoteAddresses(INetFwAuthorizedApplication *iface, BSTR remoteAddrs)
Definition: apps.c:335
static HRESULT WINAPI fw_app_put_ProcessImageFileName(INetFwAuthorizedApplication *iface, BSTR imageFileName)
Definition: apps.c:265
static HRESULT WINAPI fw_app_QueryInterface(INetFwAuthorizedApplication *iface, REFIID riid, void **ppvObject)
Definition: apps.c:70
static ULONG WINAPI fw_app_Release(INetFwAuthorizedApplication *iface)
Definition: apps.c:56
static HRESULT WINAPI fw_app_get_Name(INetFwAuthorizedApplication *iface, BSTR *name)
Definition: apps.c:230
static HRESULT WINAPI fw_app_get_Scope(INetFwAuthorizedApplication *iface, NET_FW_SCOPE *scope)
Definition: apps.c:305

Definition at line 367 of file apps.c.

Referenced by NetFwAuthorizedApplication_create().

◆ fw_apps_vtbl

const struct INetFwAuthorizedApplicationsVtbl fw_apps_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI fw_apps_get_Count(INetFwAuthorizedApplications *iface, LONG *count)
Definition: apps.c:536
static HRESULT WINAPI fw_apps_Item(INetFwAuthorizedApplications *iface, BSTR imageFileName, INetFwAuthorizedApplication **app)
Definition: apps.c:566
static HRESULT WINAPI fw_apps_QueryInterface(INetFwAuthorizedApplications *iface, REFIID riid, void **ppvObject)
Definition: apps.c:439
static HRESULT WINAPI fw_apps_GetIDsOfNames(INetFwAuthorizedApplications *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: apps.c:485
static ULONG WINAPI fw_apps_Release(INetFwAuthorizedApplications *iface)
Definition: apps.c:426
static HRESULT WINAPI fw_apps_GetTypeInfoCount(INetFwAuthorizedApplications *iface, UINT *pctinfo)
Definition: apps.c:463
static HRESULT WINAPI fw_apps_Invoke(INetFwAuthorizedApplications *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: apps.c:508
static HRESULT WINAPI fw_apps_Remove(INetFwAuthorizedApplications *iface, BSTR imageFileName)
Definition: apps.c:556
static HRESULT WINAPI fw_apps_GetTypeInfo(INetFwAuthorizedApplications *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: apps.c:473
static HRESULT WINAPI fw_apps_get__NewEnum(INetFwAuthorizedApplications *iface, IUnknown **newEnum)
Definition: apps.c:577
static HRESULT WINAPI fw_apps_Add(INetFwAuthorizedApplications *iface, INetFwAuthorizedApplication *app)
Definition: apps.c:546
static ULONG WINAPI fw_apps_AddRef(INetFwAuthorizedApplications *iface)
Definition: apps.c:419

Definition at line 587 of file apps.c.

Referenced by NetFwAuthorizedApplications_create().

◆ tid_id

REFIID tid_id[]
static
Initial value:
=
{
&IID_INetFwAuthorizedApplication,
&IID_INetFwAuthorizedApplications,
&IID_INetFwMgr,
&IID_INetFwOpenPort,
&IID_INetFwOpenPorts,
&IID_INetFwPolicy,
&IID_INetFwPolicy2,
&IID_INetFwProfile
}

Definition at line 108 of file apps.c.

Referenced by get_typeinfo().

◆ typeinfo

Definition at line 106 of file apps.c.

Referenced by _test_class_info(), _test_disp(), _test_get_dispid(), AtlGetObjectSourceInterface(), check_iface_marshal(), create_event_sink(), create_msft_typeinfo(), ctl2_alloc_segment(), ctl2_alloc_typeinfo(), ctl2_finalize_typeinfos(), ctl2_write_typeinfos(), dictionary_GetIDsOfNames(), dictionary_Invoke(), drive_GetIDsOfNames(), drive_Invoke(), drivecoll_GetIDsOfNames(), drivecoll_Invoke(), file_GetIDsOfNames(), file_Invoke(), filecoll_GetIDsOfNames(), filecoll_Invoke(), filesys_GetIDsOfNames(), filesys_Invoke(), folder_GetIDsOfNames(), folder_Invoke(), foldercoll_GetIDsOfNames(), foldercoll_Invoke(), fw_app_GetIDsOfNames(), fw_app_Invoke(), fw_apps_GetIDsOfNames(), fw_apps_Invoke(), fw_manager_GetIDsOfNames(), fw_manager_Invoke(), fw_policy_GetIDsOfNames(), fw_policy_Invoke(), fw_port_GetIDsOfNames(), fw_port_Invoke(), fw_ports_GetIDsOfNames(), fw_ports_Invoke(), fw_profile_GetIDsOfNames(), fw_profile_Invoke(), fwpolicy2_GetIDsOfNames(), fwpolicy2_Invoke(), get_default_source(), get_typeinfo(), locator_GetIDsOfNames(), locator_Invoke(), netfw_rules_GetIDsOfNames(), netfw_rules_Invoke(), object_GetIDsOfNames(), object_Invoke(), objectset_GetIDsOfNames(), objectset_Invoke(), property_GetIDsOfNames(), property_Invoke(), propertyset_GetIDsOfNames(), propertyset_Invoke(), release_typelib(), security_GetIDsOfNames(), security_Invoke(), services_GetIDsOfNames(), services_Invoke(), test_dispatch_typeinfo(), test_dump_typelib(), test_recinfo(), test_register_typelib(), textstream_GetIDsOfNames(), textstream_Invoke(), typelib_ps_CreateProxy(), typelib_ps_CreateStub(), VBSAXAttributes_GetIDsOfNames(), VBSAXAttributes_Invoke(), WebBrowser_GetIDsOfNames(), WebBrowser_GetTypeInfo(), WebBrowser_Invoke(), winhttp_request_GetIDsOfNames(), winhttp_request_Invoke(), WshCollection_GetIDsOfNames(), WshCollection_Invoke(), WshEnvironment_GetIDsOfNames(), WshEnvironment_Invoke(), WshExec_GetIDsOfNames(), WshExec_Invoke(), WshShell3_GetIDsOfNames(), WshShell3_Invoke(), WshShortcut_GetIDsOfNames(), and WshShortcut_Invoke().

◆ typelib

ITypeLib* typelib
static

Definition at line 105 of file apps.c.

Referenced by add_coclass_typeinfo(), add_dispatch(), add_dispinterface_typeinfo(), add_entry(), add_enum_typeinfo(), add_func_desc(), add_importlib(), add_interface_typeinfo(), add_module_typeinfo(), add_statement(), add_structure_typeinfo(), add_type_typeinfo(), add_typedef_typeinfo(), add_typeinfo_block(), add_union_typeinfo(), alloc_importfile(), alloc_importinfo(), alloc_msft_importinfo(), ATL::AtlComModuleUnregisterServer(), AtlGetObjectSourceInterface(), AtlLoadTypeLib(), ATL::AtlLoadTypeLib(), AtlRegisterTypeLib(), ATL::AtlRegisterTypeLib(), create_library_block(), create_msft_typeinfo(), create_msft_typelib(), create_sltg_typelib(), ctl2_alloc_guid(), ctl2_alloc_name(), ctl2_alloc_segment(), ctl2_alloc_string(), ctl2_alloc_typeinfo(), ctl2_encode_name(), ctl2_finalize_segment(), ctl2_finalize_typeinfos(), ctl2_find_guid(), ctl2_find_name(), ctl2_init_header(), ctl2_init_segdir(), ctl2_write_segment(), ctl2_write_typeinfos(), Dispatch_GetTypeInfo(), dump_TLBImpLib(), dump_TLBImplType(), dump_TLBRefType(), dump_TLBVarDesc(), encode_type(), encode_var(), find_importinfo(), get_default_source(), get_iface_info(), get_typeinfo(), get_typeinfo_for_iid(), ITypeLib2_Constructor_MSFT(), ITypeLib2_Constructor_SLTG(), load_typelib(), make_library(), make_statement_library(), MSFT_CustData(), MSFT_DoFuncs(), MSFT_DoImplTypes(), MSFT_DoTypeInfo(), MSFT_DoVars(), MSFT_GetTdesc(), MSFT_Read(), MSFT_ReadGuid(), MSFT_ReadHreftype(), MSFT_ReadName(), MSFT_ReadString(), MSFT_ReadValue(), output_typelib_regscript(), query_typelib_path(), register_current_module_typelib(), register_server(), RegisterTypeLib(), release_typelib(), save_all_changes(), set_custdata(), set_doc_string(), set_guid(), set_help_context(), set_help_file_name(), set_help_string_context(), set_help_string_dll(), set_lcid(), set_lib_flags(), set_name(), set_version(), SLTG_DoFuncs(), SLTG_DoImpls(), SLTG_DoRefs(), SLTG_DoVars(), sltg_get_typelib_ref(), SLTG_ProcessDispatch(), SLTG_ProcessInterface(), SLTG_ProcessModule(), sltg_write_nametable(), sltg_write_typeinfo(), test_create_typelib_lcid(), test_dump_typelib(), test_recinfo(), test_register_typelib(), test_typelib(), TLB_ReadTypeLib(), write_coclass(), write_coclasses(), write_default_value(), write_int_value(), write_library(), write_string_value(), write_typelib_interface(), write_typelib_interfaces(), write_var_desc(), and yyparse().