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. |
|
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 |
|
|
|
|
|
|
The FwpmEngineClose0 function closes a session to a filter engine.
Type: HANDLE
Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.
Type: DWORD
Return code/value | Description |
---|---|
|
The session was closed successfully. |
|
A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details. |
|
Failure to communicate with the remote or local firewall engine. |
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.