FwpsInjectionHandleDestroy0, fonction (fwpsk.h)

La fonction FwpsInjectionHandleDestroy0 détruit un handle d’injection créé précédemment en appelant la fonction FwpsInjectionHandleCreate0 .

RemarqueFwpsInjectionHandleDestroy0 est une version spécifique de FwpsInjectionHandleDestroy. Pour plus d’informations , consultez WFP Version-Independent Names and Targeting Specific Versions of Windows .
 

Syntaxe

NTSTATUS FwpsInjectionHandleDestroy0(
  [in] HANDLE injectionHandle
);

Paramètres

[in] injectionHandle

Poignée d’injection en cours de destruction.

Valeur retournée

La fonction FwpsInjectionHandleDestroy0 retourne l’un des codes NTSTATUS suivants.

Code de retour Description
STATUS_SUCCESS
La poignée d’injection a été détruite avec succès.
Autres codes status
Une erreur est survenue.

Remarques

Un pilote de légende appelle la fonction FwpsInjectionHandleDestroy0 pour détruire un handle d’injection qui a été créé précédemment en appelant le Fonction FwpsInjectionHandleCreate0 . La fonction FwpsInjectionHandleDestroy0 ne retourne pas à l’appelant tant que toutes les injections en attente ne sont pas terminées.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Disponible à partir de Windows Vista.
Plateforme cible Universal
En-tête fwpsk.h (include Fwpsk.h)
Bibliothèque Fwpkclnt.lib
IRQL PASSIVE_LEVEL

Voir aussi

FwpsInjectionHandleCreate0