Partager via


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 PAM Version-Independent noms et ciblage de versions spécifiques de Windows.
 

Syntaxe

NTSTATUS FwpsInjectionHandleDestroy0(
  [in] HANDLE injectionHandle
);

Paramètres

[in] injectionHandle

Poignée d’injection détruite.

Valeur de retour

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

Retourner le code Description
STATUS_SUCCESS
La poignée d’injection a été détruite avec succès.
Autres codes d’état
Une erreur s’est produite.

Remarques

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

Exigences

Exigence Valeur
client minimum pris en charge Disponible à partir de Windows Vista.
plateforme cible Universel
d’en-tête fwpsk.h (include Fwpsk.h)
bibliothèque Fwpkclnt.lib
IRQL PASSIVE_LEVEL

Voir aussi

FwpsInjectionHandleCreate0