Expand Minimize

FwpsCompleteClassify0 function

A callout driver calls FwpsCompleteClassify0 to asynchronously complete a pended classify request. The callout driver's classifyFn function must have previously called FwpsPendClassify0 to pend the classify request.

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

Syntax


void NTAPI FwpsCompleteClassify0(
  _In_      UINT64 classifyHandle,
  _In_      UINT32 flags,
  _In_opt_  const FWPS_CLASSIFY_OUT0 *classifyOut
);

Parameters

classifyHandle [in]

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

flags [in]

This parameter is reserved for future use. Set to zero.

classifyOut [in, optional]

A pointer to a deep copy of the FWPS_CLASSIFY_OUT0 structure that was originally passed to the classifyFn call when the classification was pended. When classifying asynchronously, the members of this structure can be set the same way as they would be in the callout driver's classifyFn function when classifying inline.

If this parameter is used, the classification is taken as the callout driver's final decision. If set to NULL, the indication will be reauthorized.

Return value

None.

Remarks

FwpsCompleteClassify0 must be called after a callout driver has called FwpsPendClassify0 to remove the classification from its pended state.

After calling this function, FwpsReleaseClassifyHandle0 must be called to free the system resources associated with the classification handle.

Requirements

Version

Available starting with Windows 7.

Header

Fwpsk.h (include Fwpsk.h)

IRQL

<= DISPATCH_LEVEL

See also

classifyFn
FWPS_CLASSIFY_OUT0
FwpsAcquireClassifyHandle0
FwpsPendClassify0
FwpsReleaseClassifyHandle0

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft