FwpmEngineClose0 function (fwpmk.h)
The FwpmEngineClose0 function closes a previously opened session to the filter engine.
Syntax
NTSTATUS FwpmEngineClose0(
[in, out] HANDLE engineHandle
);
Parameters
[in, out] engineHandle
A handle for an open session to the filter engine.
Return value
The FwpmEngineClose0 function returns one of the following NTSTATUS codes.
Return code | Description |
---|---|
STATUS_SUCCESS | The session to the filter engine was successfully closed. |
Other NTSTATUS 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.
FwpmEngineClose0 is a specific version of FwpmEngineClose. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows Vista. |
Target Platform | Universal |
Header | fwpmk.h (include Fwpmk.h) |
Library | Fwpkclnt.lib |
IRQL | PASSIVE_LEVEL |