FwpmEngineClose0 (Compact 2013)
3/26/2014
This function closes a session to a Windows Filtering Platform (WFP) filter engine.
Syntax
DWORD WINAPI FwpmEngineClose0(
__in HANDLE engineHandle
);
Parameters
- engineHandle
Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.
Return Value
Return code / value |
Description |
---|---|
ERROR_SUCCESS 0 |
The session closed successfully. |
FWP_E_* error code 0x80320001-0x80320039 |
A WFP specific error. For more information see WFP Error Codes. |
RPC_* error code 0x80010001-0x80010122 |
A Remote Procedure Call specific error. For more information see Winerror.h. |
Remarks
Within an application, after you complete adding or removing system objects, you can call this function to close the open session to the filter engine.
A filter engine session also closes when a client process terminates.
If you call this function during the addition or removal of system objects in an application, those processes will stop prematurely.
Requirements
Header |
fwpmu.h |
Library |
fwpuclnt.dll |
See Also
Reference
WFP Session Management Functions
WFP Functions
WFP Management Functions
FwpmEngineOpen0