The FwpsInjectionHandleDestroy0 function destroys an injection handle that was previously created by calling the FwpsInjectionHandleCreate0 function.
NTSTATUS FwpsInjectionHandleDestroy0( HANDLE injectionHandle );
The injection handle being destroyed.
The FwpsInjectionHandleDestroy0 function returns one of the following NTSTATUS codes.
||The injection handle was successfully destroyed.|
||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.
|Minimum supported client||Available starting with Windows Vista.|
|Header||fwpsk.h (include Fwpsk.h)|