Skip to content

Latest commit

 

History

History
135 lines (107 loc) · 4.09 KB

nf-fwpmu-fwpmcalloutdeletebyid0.md

File metadata and controls

135 lines (107 loc) · 4.09 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.FwpmCalloutDeleteById0
FwpmCalloutDeleteById0 function (fwpmu.h)
Removes a callout object from the system. (FwpmCalloutDeleteById0)
FwpmCalloutDeleteById0
FwpmCalloutDeleteById0 function [Filtering]
fwp.fwpmcalloutdeletebyid0_func
fwpmu/FwpmCalloutDeleteById0
fwp\fwpmcalloutdeletebyid0_func.htm
fwp
fcd591c3-0d3d-48af-933f-ebf02a447b41
12/05/2018
FwpmCalloutDeleteById0, FwpmCalloutDeleteById0 function [Filtering], fwp.fwpmcalloutdeletebyid0_func, fwpmu/FwpmCalloutDeleteById0
fwpmu.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwpuclnt.lib
Fwpuclnt.dll
Windows
19H1
FwpmCalloutDeleteById0
fwpmu/FwpmCalloutDeleteById0
c++
APIRef
kbSyntax
DllExport
Fwpuclnt.dll
FwpmCalloutDeleteById0

FwpmCalloutDeleteById0 function

-description

The FwpmCalloutDeleteById0 function removes a callout object from the system.

-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.

-param id [in]

Type: UINT32

The runtime identifier for the callout being removed from the system. This identifier was received from the system when the application called FwpmCalloutAdd0 for this object.

-returns

Type: DWORD

Return code/value Description
ERROR_SUCCESS
0
The callout was successfully deleted.
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

An applications's callouts cannot be removed from the system as long as there are filters in the system that specify the callouts for an action.

This function cannot be called from within a read-only transaction. It will fail with FWP_E_INCOMPATIBLE_TXN. See Object Management for more information about transactions.

This function can be called within a dynamic session if the corresponding object was added during the same session. If this function is called for an object that was added during a different dynamic session, it will fail with FWP_E_WRONG_SESSION. If this function is called for an object that was not added during a dynamic session, it will fail with FWP_E_DYNAMIC_SESSION_IN_PROGRESS.

The caller needs DELETE access to the callout. See Access Control for more information.

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

-see-also

FwpmCalloutAdd0

Kernel-Mode FwpmCalloutDeleteById0