FWPM_LAYER0 structure (fwpmtypes.h)

The FWPM_LAYER0 structure contains schema information for a layer.

Syntax

typedef struct FWPM_LAYER0_ {
  GUID               layerKey;
  FWPM_DISPLAY_DATA0 displayData;
  UINT32             flags;
  UINT32             numFields;
  FWPM_FIELD0        *field;
  GUID               defaultSubLayerKey;
  UINT16             layerId;
} FWPM_LAYER0;

Members

layerKey

Uniquely identifies the layer.

displayData

Allows layers to be annotated in a human-readable form. The FWPM_DISPLAY_DATA0 structure is not NULL.

flags

Possible values:

Value Meaning
FWPM_LAYER_FLAG_KERNEL
Layer classified in kernel-mode.
FWPM_LAYER_FLAG_BUILTIN
Layer built-in. Cannot be deleted.
FWPM_LAYER_FLAG_CLASSIFY_MOSTLY
Layer optimized for classification rather than enumeration.
FWPM_LAYER_FLAG_BUFFERED
Layer is buffered.

numFields

Number of fields in the layer.

field

Schema information for the layer's fields.

See FWPM_FIELD0 for more information.

defaultSubLayerKey

Sublayer used when a filter is added with a null sublayer.

layerId

LUID that identifies this layer.

Remarks

FWPM_LAYER0 is a specific implementation of FWPM_LAYER. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header fwpmtypes.h

See also

FWPM_DISPLAY_DATA0

FWPM_FIELD0

Windows Filtering Platform API Structures