summaryrefslogtreecommitdiffhomepage
path: root/windows/winfw/src/extras/cli/objectproperties.h
blob: a4f349f8280d5cd00dad5ce1a05792176400b24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);