// fwpsk.h
NTSTATUS FwpsInjectionHandleDestroy0(
[in] HANDLE injectionHandle
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
injectionHandle [in]The injection handle being destroyed.
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. |
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.