Bewerken

Delen via


FwpsInjectionHandleDestroy0 function (fwpsk.h)

The FwpsInjectionHandleDestroy0 function destroys an injection handle that was previously created by calling the FwpsInjectionHandleCreate0 function.

Note  FwpsInjectionHandleDestroy0 is a specific version of FwpsInjectionHandleDestroy. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax

NTSTATUS FwpsInjectionHandleDestroy0(
  [in] HANDLE injectionHandle
);

Parameters

[in] injectionHandle

The injection handle being destroyed.

Return value

The FwpsInjectionHandleDestroy0 function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
The injection handle was successfully destroyed.
Other status codes
An error occurred.

Remarks

A callout driver calls the FwpsInjectionHandleDestroy0 function to destroy an injection handle that was previously created by calling the FwpsInjectionHandleCreate0 function. The FwpsInjectionHandleDestroy0 function will not return to the caller until all pending injections are completed.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista.
Target Platform Universal
Header fwpsk.h (include Fwpsk.h)
Library Fwpkclnt.lib
IRQL PASSIVE_LEVEL

See also

FwpsInjectionHandleCreate0