FwpmEngineClose0 function

The FwpmEngineClose0 function closes a previously opened session to the filter engine.

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

Syntax


NTSTATUS NTAPI FwpmEngineClose0(
  _Inout_ HANDLE engineHandle
);

Parameters

engineHandle [in, out]

A handle for an open session to the filter engine.

Return value

The FwpmEngineClose0 function returns one of the following NTSTATUS codes.

Return codeDescription
STATUS_SUCCESS

The session to the filter engine was successfully closed.

Other status codes

An error occurred.

 

Remarks

A callout driver calls the FwpmEngineClose0 function to close a session to the filter engine that was previously opened by a call to the FwpmEngineOpen0 function.

Requirements

Target platform

Universal

Version

Available starting with Windows Vista.

Header

Fwpmk.h (include Fwpmk.h)

Library

Fwpkclnt.lib

IRQL

PASSIVE_LEVEL

See also

FwpmEngineOpen0

 

 

Send comments about this topic to Microsoft

Show: