Compartilhar via


FwpsInjectionHandleDestroy0 (Compact 2013)

3/26/2014

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

Syntax

NTSTATUS NTAPI
  FwpsInjectionHandleDestroy0(
    IN HANDLE  injectionHandle
    );

Parameters

  • injectionHandle
    The injection handle that is to be destroyed

Return Value

The FwpInjectionHandleDestroy0 function returns one of the following NTSTATUS codes:

Value

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 does not return to the caller until all pending injections are completed.

Requirements

Header

fwpsk.h

See Also

Reference

Functions Called by Callout Drivers
FwpsInjectionHandleCreate0
WFP Callout Driver Functions