[PATCH] hnetcfg: Add more GUIDs
Fabian Maurer
dark.shadow4 at web.de
Fri Jul 20 15:56:55 CDT 2018
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/hnetcfg/hnetcfg.idl | 24 ++++++++++++++
include/netfw.idl | 69 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/dlls/hnetcfg/hnetcfg.idl b/dlls/hnetcfg/hnetcfg.idl
index 763529a83b..40a3b9853f 100644
--- a/dlls/hnetcfg/hnetcfg.idl
+++ b/dlls/hnetcfg/hnetcfg.idl
@@ -51,3 +51,27 @@ coclass NetFwOpenPort { interface INetFwOpenPort; }
uuid(e2b3c97f-6ae1-41ac-817a-f6f92166d7dd)
]
coclass NetFwPolicy2 { interface INetFwPolicy2; }
+
+[
+ helpstring("HNetCfg.FwRule"),
+ progid("HNetCfg.FwRule"),
+ threading(both),
+ uuid(2c5bc43e-3369-4c33-ab0c-be9469677af4)
+]
+coclass NetFwRule { interface INetFwRule; }
+
+[
+ helpstring("HNetCfg.FwProduct"),
+ progid("HNetCfg.FwProduct"),
+ threading(both),
+ uuid(9d745ed8-c514-4d1d-bf42-751fed2d5ac7)
+]
+coclass NetFwProduct { interface INetFwProduct; }
+
+[
+ helpstring("HNetCfg.FwProducts"),
+ progid("HNetCfg.FwProducts"),
+ threading(both),
+ uuid(cc19079b-8272-4d73-bb70-cdb533527b61)
+]
+coclass NetFwProducts { interface INetFwProducts; }
diff --git a/include/netfw.idl b/include/netfw.idl
index cf03b82075..46a5198768 100644
--- a/include/netfw.idl
+++ b/include/netfw.idl
@@ -643,6 +643,51 @@ interface INetFwMgr : IDispatch
[out] VARIANT* restricted );
}
+[
+ local,
+ object,
+ uuid(71881699-18f4-458b-b892-3ffce5e07f75),
+ dual
+]
+interface INetFwProduct : IDispatch
+{
+ [id(1), propget]
+ HRESULT RuleCategories([out, retval] VARIANT *ruleCategories);
+
+ [id(1), propput]
+ HRESULT RuleCategories([in] VARIANT ruleCategories);
+
+ [id(2), propget]
+ HRESULT DisplayName([out, retval] BSTR *displayName);
+
+ [id(2), propput]
+ HRESULT DisplayName([in] BSTR displayName);
+
+ [id(3), propget]
+ HRESULT PathToSignedProductExe([out, retval] BSTR *path);
+}
+
+[
+ local,
+ object,
+ uuid(39EB36E0-2097-40BD-8AF2-63A13B525362),
+ dual
+]
+interface INetFwProducts : IDispatch
+{
+ [id(1), propget]
+ HRESULT Count([out, retval] LONG *count);
+
+ [id(2)]
+ HRESULT Register([in] INetFwProduct *product, [out, retval] IUnknown **registration);
+
+ [id(3)]
+ HRESULT Item([in] LONG index, [out, retval] INetFwProduct **product);
+
+ [id(DISPID_NEWENUM), propget, restricted]
+ HRESULT _NewEnum([out, retval] IUnknown **newEnum);
+}
+
[
uuid(DB4F3345-3EF8-45ED-B976-25A6D3B81B71),
version(1.0)
@@ -694,4 +739,28 @@ library NetFwPublicTypeLib
{
[default] interface INetFwPolicy2;
}
+
+ [
+ uuid(2c5bc43e-3369-4c33-ab0c-be9469677af4)
+ ]
+ coclass NetFwRule
+ {
+ [default] interface INetFwRule;
+ }
+
+ [
+ uuid(9d745ed8-c514-4d1d-bf42-751fed2d5ac7)
+ ]
+ coclass NetFwProduct
+ {
+ [default] interface INetFwProduct;
+ }
+
+ [
+ uuid(cc19079b-8272-4d73-bb70-cdb533527b61)
+ ]
+ coclass NetFwProducts
+ {
+ [default] interface INetFwProducts;
+ }
}
--
2.18.0
More information about the wine-devel
mailing list