hnetcfg: Add more GUIDs.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2018-07-21 13:02:44 +02:00 committed by Alexandre Julliard
parent 8ca2938757
commit 78a1ba1e33
2 changed files with 93 additions and 0 deletions

View File

@ -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; }

View File

@ -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;
}
}