FwpsInjectionHandleDestroy0 function

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

injectionHandle [in]

The injection handle being destroyed.

Return value

The FwpsInjectionHandleDestroy0 function returns one of the following NTSTATUS codes.

Return codeDescription
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

Target platform

Universal

Version

Available starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

Library

Fwpkclnt.lib

IRQL

PASSIVE_LEVEL

See also

FwpsInjectionHandleCreate0

 

 

Send comments about this topic to Microsoft

Show: