📄 netfw.h
字号:
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0347 */
/* Compiler settings for netfw.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __netfw_h__
#define __netfw_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__
#define __INetFwRemoteAdminSettings_FWD_DEFINED__
typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings;
#endif /* __INetFwRemoteAdminSettings_FWD_DEFINED__ */
#ifndef __INetFwIcmpSettings_FWD_DEFINED__
#define __INetFwIcmpSettings_FWD_DEFINED__
typedef interface INetFwIcmpSettings INetFwIcmpSettings;
#endif /* __INetFwIcmpSettings_FWD_DEFINED__ */
#ifndef __INetFwOpenPort_FWD_DEFINED__
#define __INetFwOpenPort_FWD_DEFINED__
typedef interface INetFwOpenPort INetFwOpenPort;
#endif /* __INetFwOpenPort_FWD_DEFINED__ */
#ifndef __INetFwOpenPorts_FWD_DEFINED__
#define __INetFwOpenPorts_FWD_DEFINED__
typedef interface INetFwOpenPorts INetFwOpenPorts;
#endif /* __INetFwOpenPorts_FWD_DEFINED__ */
#ifndef __INetFwService_FWD_DEFINED__
#define __INetFwService_FWD_DEFINED__
typedef interface INetFwService INetFwService;
#endif /* __INetFwService_FWD_DEFINED__ */
#ifndef __INetFwServices_FWD_DEFINED__
#define __INetFwServices_FWD_DEFINED__
typedef interface INetFwServices INetFwServices;
#endif /* __INetFwServices_FWD_DEFINED__ */
#ifndef __INetFwAuthorizedApplication_FWD_DEFINED__
#define __INetFwAuthorizedApplication_FWD_DEFINED__
typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication;
#endif /* __INetFwAuthorizedApplication_FWD_DEFINED__ */
#ifndef __INetFwAuthorizedApplications_FWD_DEFINED__
#define __INetFwAuthorizedApplications_FWD_DEFINED__
typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications;
#endif /* __INetFwAuthorizedApplications_FWD_DEFINED__ */
#ifndef __INetFwProfile_FWD_DEFINED__
#define __INetFwProfile_FWD_DEFINED__
typedef interface INetFwProfile INetFwProfile;
#endif /* __INetFwProfile_FWD_DEFINED__ */
#ifndef __INetFwPolicy_FWD_DEFINED__
#define __INetFwPolicy_FWD_DEFINED__
typedef interface INetFwPolicy INetFwPolicy;
#endif /* __INetFwPolicy_FWD_DEFINED__ */
#ifndef __INetFwMgr_FWD_DEFINED__
#define __INetFwMgr_FWD_DEFINED__
typedef interface INetFwMgr INetFwMgr;
#endif /* __INetFwMgr_FWD_DEFINED__ */
#ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__
#define __INetFwRemoteAdminSettings_FWD_DEFINED__
typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings;
#endif /* __INetFwRemoteAdminSettings_FWD_DEFINED__ */
#ifndef __INetFwIcmpSettings_FWD_DEFINED__
#define __INetFwIcmpSettings_FWD_DEFINED__
typedef interface INetFwIcmpSettings INetFwIcmpSettings;
#endif /* __INetFwIcmpSettings_FWD_DEFINED__ */
#ifndef __INetFwOpenPort_FWD_DEFINED__
#define __INetFwOpenPort_FWD_DEFINED__
typedef interface INetFwOpenPort INetFwOpenPort;
#endif /* __INetFwOpenPort_FWD_DEFINED__ */
#ifndef __INetFwOpenPorts_FWD_DEFINED__
#define __INetFwOpenPorts_FWD_DEFINED__
typedef interface INetFwOpenPorts INetFwOpenPorts;
#endif /* __INetFwOpenPorts_FWD_DEFINED__ */
#ifndef __INetFwService_FWD_DEFINED__
#define __INetFwService_FWD_DEFINED__
typedef interface INetFwService INetFwService;
#endif /* __INetFwService_FWD_DEFINED__ */
#ifndef __INetFwServices_FWD_DEFINED__
#define __INetFwServices_FWD_DEFINED__
typedef interface INetFwServices INetFwServices;
#endif /* __INetFwServices_FWD_DEFINED__ */
#ifndef __INetFwAuthorizedApplication_FWD_DEFINED__
#define __INetFwAuthorizedApplication_FWD_DEFINED__
typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication;
#endif /* __INetFwAuthorizedApplication_FWD_DEFINED__ */
#ifndef __INetFwAuthorizedApplications_FWD_DEFINED__
#define __INetFwAuthorizedApplications_FWD_DEFINED__
typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications;
#endif /* __INetFwAuthorizedApplications_FWD_DEFINED__ */
#ifndef __INetFwProfile_FWD_DEFINED__
#define __INetFwProfile_FWD_DEFINED__
typedef interface INetFwProfile INetFwProfile;
#endif /* __INetFwProfile_FWD_DEFINED__ */
#ifndef __INetFwPolicy_FWD_DEFINED__
#define __INetFwPolicy_FWD_DEFINED__
typedef interface INetFwPolicy INetFwPolicy;
#endif /* __INetFwPolicy_FWD_DEFINED__ */
#ifndef __INetFwMgr_FWD_DEFINED__
#define __INetFwMgr_FWD_DEFINED__
typedef interface INetFwMgr INetFwMgr;
#endif /* __INetFwMgr_FWD_DEFINED__ */
#ifndef __NetFwOpenPort_FWD_DEFINED__
#define __NetFwOpenPort_FWD_DEFINED__
#ifdef __cplusplus
typedef class NetFwOpenPort NetFwOpenPort;
#else
typedef struct NetFwOpenPort NetFwOpenPort;
#endif /* __cplusplus */
#endif /* __NetFwOpenPort_FWD_DEFINED__ */
#ifndef __NetFwAuthorizedApplication_FWD_DEFINED__
#define __NetFwAuthorizedApplication_FWD_DEFINED__
#ifdef __cplusplus
typedef class NetFwAuthorizedApplication NetFwAuthorizedApplication;
#else
typedef struct NetFwAuthorizedApplication NetFwAuthorizedApplication;
#endif /* __cplusplus */
#endif /* __NetFwAuthorizedApplication_FWD_DEFINED__ */
#ifndef __NetFwMgr_FWD_DEFINED__
#define __NetFwMgr_FWD_DEFINED__
#ifdef __cplusplus
typedef class NetFwMgr NetFwMgr;
#else
typedef struct NetFwMgr NetFwMgr;
#endif /* __cplusplus */
#endif /* __NetFwMgr_FWD_DEFINED__ */
/* header files for imported files */
#include "icftypes.h"
#include "oaidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
#ifndef __INetFwRemoteAdminSettings_INTERFACE_DEFINED__
#define __INetFwRemoteAdminSettings_INTERFACE_DEFINED__
/* interface INetFwRemoteAdminSettings */
/* [dual][uuid][object] */
EXTERN_C const IID IID_INetFwRemoteAdminSettings;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("D4BECDDF-6F73-4A83-B832-9C66874CD20E")
INetFwRemoteAdminSettings : public IDispatch
{
public:
virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IpVersion(
/* [retval][out] */ NET_FW_IP_VERSION *ipVersion) = 0;
virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IpVersion(
/* [in] */ NET_FW_IP_VERSION ipVersion) = 0;
virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope(
/* [retval][out] */ NET_FW_SCOPE *scope) = 0;
virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Scope(
/* [in] */ NET_FW_SCOPE scope) = 0;
virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAddresses(
/* [retval][out] */ BSTR *remoteAddrs) = 0;
virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RemoteAddresses(
/* [in] */ BSTR remoteAddrs) = 0;
virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
/* [retval][out] */ VARIANT_BOOL *enabled) = 0;
virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Enabled(
/* [in] */ VARIANT_BOOL enabled) = 0;
};
#else /* C style interface */
typedef struct INetFwRemoteAdminSettingsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
INetFwRemoteAdminSettings * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
INetFwRemoteAdminSettings * This);
ULONG ( STDMETHODCALLTYPE *Release )(
INetFwRemoteAdminSettings * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
INetFwRemoteAdminSettings * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
INetFwRemoteAdminSettings * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
INetFwRemoteAdminSettings * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
INetFwRemoteAdminSettings * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IpVersion )(
INetFwRemoteAdminSettings * This,
/* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IpVersion )(
INetFwRemoteAdminSettings * This,
/* [in] */ NET_FW_IP_VERSION ipVersion);
/* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )(
INetFwRemoteAdminSettings * This,
/* [retval][out] */ NET_FW_SCOPE *scope);
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Scope )(
INetFwRemoteAdminSettings * This,
/* [in] */ NET_FW_SCOPE scope);
/* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAddresses )(
INetFwRemoteAdminSettings * This,
/* [retval][out] */ BSTR *remoteAddrs);
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RemoteAddresses )(
INetFwRemoteAdminSettings * This,
/* [in] */ BSTR remoteAddrs);
/* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
INetFwRemoteAdminSettings * This,
/* [retval][out] */ VARIANT_BOOL *enabled);
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
INetFwRemoteAdminSettings * This,
/* [in] */ VARIANT_BOOL enabled);
END_INTERFACE
} INetFwRemoteAdminSettingsVtbl;
interface INetFwRemoteAdminSettings
{
CONST_VTBL struct INetFwRemoteAdminSettingsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define INetFwRemoteAdminSettings_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define INetFwRemoteAdminSettings_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define INetFwRemoteAdminSettings_Release(This) \
(This)->lpVtbl -> Release(This)
#define INetFwRemoteAdminSettings_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define INetFwRemoteAdminSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define INetFwRemoteAdminSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define INetFwRemoteAdminSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -