Expand Minimize

FwpsApplyModifiedLayerData0 function

The FwpsApplyModifiedLayerData0 function applies changes to layer-specific data made after a call to FwpsAcquireWritableLayerDataPointer0.

Note  FwpsApplyModifiedLayerData0 is a specific version of FwpsApplyModifiedLayerData. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Syntax


void NTAPI FwpsApplyModifiedLayerData0(
  _In_  UINT64 classifyHandle,
  _In_  PVOID modifiedLayerData,
  _In_  UINT32 flags
);

Parameters

classifyHandle [in]

The classification handle that identifies the callout driver's processing at the current layer. This handle is obtained by calling FwpsAcquireClassifyHandle0.

modifiedLayerData [in]

The data buffer obtained by calling FwpsAcquireWritableLayerDataPointer0 with members modified by the callout driver. Supported data types are defined as structures.

flags [in]

The options to use with this function call. This flag can have the following value.

ValueMeaning
FWPS_CLASSIFY_FLAG_REAUTHORIZE_IF_MODIFIED_BY_OTHERS

When set, this flag specifies that data at the layer of the pended classify action should be reauthorized if another callout driver modifies the data before the classification is completed.

 

Return value

None.

Remarks

FwpsApplyModifiedLayerData0 should be called once for every call made to FwpsAcquireWritableLayerDataPointer0, even if the callout driver didn't modify any data.

Requirements

Version

Available starting with Windows 7.

Header

Fwpsk.h (include Fwpsk.h)

IRQL

<= DISPATCH_LEVEL

See also

classifyFn
FWPS_BIND_REQUEST0
FWPS_CONNECT_REQUEST0
FWPS_FILTER1
FwpsAcquireClassifyHandle0
FwpsAcquireWritableLayerDataPointer0
FwpsReleaseClassifyHandle0

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft