summaryrefslogtreecommitdiffhomepage
path: root/wfpctl/src/extras/cli/objectproperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'wfpctl/src/extras/cli/objectproperties.h')
-rw-r--r--wfpctl/src/extras/cli/objectproperties.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/wfpctl/src/extras/cli/objectproperties.h b/wfpctl/src/extras/cli/objectproperties.h
new file mode 100644
index 0000000000..a4f349f828
--- /dev/null
+++ b/wfpctl/src/extras/cli/objectproperties.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "propertylist.h"
+#include "ipropertydecorator.h"
+#include <windows.h>
+#include <fwpmu.h>
+
+PropertyList SessionProperties(const FWPM_SESSION0 &session);
+PropertyList ProviderProperties(const FWPM_PROVIDER0 &provider);
+PropertyList EventProperties(const FWPM_NET_EVENT0 &event, IPropertyDecorator *decorator = nullptr);
+PropertyList EventProperties(const FWPM_NET_EVENT1 &event, IPropertyDecorator *decorator = nullptr);
+PropertyList FilterProperties(const FWPM_FILTER0 &filter, IPropertyDecorator *decorator = nullptr);
+PropertyList LayerProperties(const FWPM_LAYER0 &layer, IPropertyDecorator *decorator = nullptr);
+PropertyList ProviderContextProperties(const FWPM_PROVIDER_CONTEXT0 &context, IPropertyDecorator *decorator = nullptr);
+PropertyList SublayerProperties(const FWPM_SUBLAYER0 &sublayer, IPropertyDecorator *decorator = nullptr);