Expand Minimize

FWPM_SUBLAYER0 structure

The FWPM_SUBLAYER0 structure stores the state associated with a sublayer.

Syntax


typedef struct FWPM_SUBLAYER0_ {
  GUID               subLayerKey;
  FWPM_DISPLAY_DATA0 displayData;
  UINT16             flags;
  GUID               *providerKey;
  FWP_BYTE_BLOB      providerData;
  UINT16             weight;
} FWPM_SUBLAYER0;

Members

subLayerKey

Uniquely identifies the sublayer. See Filtering Sublayer Identifiers for a list of built-in sublayers.

If the GUID is zero-initialized in the call to FwpmSubLayerAdd0, the Base Filtering Engine (BFE) will generate one.

displayData

Allows sublayers to be annotated in human-readable form. The name member of the FWPM_DISPLAY_DATA0 structure is required.

flags

Possible values:

Sublayer flagMeaning
FWPM_SUBLAYER_FLAG_PERSISTENT

Causes sublayer to be persistent, surviving across BFE stop/start.

 

providerKey

Uniquely identifies the provider that manages this sublayer.

providerData

An FWP_BYTE_BLOB structure that contains optional provider-specific data that allows providers to store additional context info with the object.

weight

Weight of the sublayer.

Higher-weighted sublayers are invoked first.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Fwpmtypes.h

IDL

Fwpmtypes.idl

See also

Windows Filtering Platform API Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft