FwpmConnectionPolicyDeleteByKey0 function (fwpmu.h)

Removes the Connection Policy that was created with the GUID specified in the FWPM_PROVIDER_CONTEXT::providerContextKey when you called FwpmConnectionPolicyAdd0.

Syntax

DWORD FwpmConnectionPolicyDeleteByKey0(
  HANDLE     engineHandle,
  const GUID *key
);

Parameters

engineHandle

Type: _In_ HANDLE

A handle to an open session with the filter engine. To open a session with the filter engine, call FwpmEngineOpen0.

key

Type: _In_ GUID

The GUID of the Connection Policy that was created when you called FwpmConnectionPolicyAdd0.

Requirements

Requirement Value
Header fwpmu.h
Library Fwpuclnt.lib
DLL Fwpuclnt.dll