Skip to content

Latest commit

 

History

History
126 lines (102 loc) · 2.98 KB

nf-fwpmu-fwpmengineclose0.md

File metadata and controls

126 lines (102 loc) · 2.98 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fwpmu.FwpmEngineClose0
FwpmEngineClose0 function (fwpmu.h)
Closes a session to a filter engine.
FwpmEngineClose0
FwpmEngineClose0 function [Filtering]
fwp.fwpmengineclose0_func
fwpmu/FwpmEngineClose0
fwp\fwpmengineclose0_func.htm
fwp
e96165a8-95ad-4cb0-9f45-e8af22f83a52
12/05/2018
FwpmEngineClose0, FwpmEngineClose0 function [Filtering], fwp.fwpmengineclose0_func, fwpmu/FwpmEngineClose0
fwpmu.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwpuclnt.lib
Fwpuclnt.dll
Windows
19H1
FwpmEngineClose0
fwpmu/FwpmEngineClose0
c++
APIRef
kbSyntax
DllExport
Fwpuclnt.dll
FwpmEngineClose0

FwpmEngineClose0 function

-description

The FwpmEngineClose0 function closes a session to a filter engine.

-parameters

-param engineHandle [in]

Type: HANDLE

Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.

-returns

Type: DWORD

Return code/value Description
ERROR_SUCCESS
0
The session was closed successfully.
FWP_E_* error code
0x80320001—0x80320039
A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details.
RPC_* error code
0x80010001—0x80010122
Failure to communicate with the remote or local firewall engine.

-remarks

After an application has completed adding or removing system objects, it may call the FwpmEngineClose0 function to close the open session to the filter engine.

A filter engine session is also closed when a client process terminates.

If this function is called with a transaction in progress, the transaction will be aborted.

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

-see-also

FwpmEngineOpen0

Kernel-Mode FwpmEngineClose0