次の方法で共有


FWPM_LAYER0 (Compact 2013)

3/26/2014

This 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 name member of the FWPM_DISPLAY_DATA0 structure is not NULL.
  • flags
    Possible values are listed in the Remarks section below.
  • numFields
    Number of fields in the layer.
  • field
    Schema information for the layer's fields.

    See topic FWPM_FIELD0 for more information.

  • defaultSubLayerKey
    Sublayer used when a filter is added with a null sublayer.
  • layerId
    LUID that identifies this layer.

Remarks

The following is a list of the possible values for the flags data member:

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.

Requirements

Header

fwpmu.h

See Also

Reference

WFP Management Structures

Other Resources

Windows Filtering Platform