FWPM_CONNECTION_CALLBACK0 fonction de rappel (fwpmu.h)

La fonction FWPM_CONNECTION_CALLBACK0 est utilisée pour ajouter un comportement personnalisé au processus d’abonnement aux objets de connexion.

Syntaxe

FWPM_CONNECTION_CALLBACK0 FwpmConnectionCallback0;

void FwpmConnectionCallback0(
  [in, out] void *context,
  [in]      FWPM_CONNECTION_EVENT_TYPE eventType,
  [in]      const FWPM_CONNECTION0 *connection
)
{...}

Paramètres

[in, out] context

Type : void*

Pointeur de contexte facultatif. Il contient la valeur du paramètre de contexte de la fonction FwpmConnectionSubscribe0 .

[in] eventType

Type : FWPM_CONNECTION_EVENT_TYPE

Type d’événement de modification de l’objet de connexion.

[in] connection

Type : FWPM_CONNECTION0*

Informations de modification de l’objet de connexion.

Valeur de retour

None

Notes

Appelez FwpmConnectionSubscribe0 pour inscrire cette fonction de rappel.

Spécifications

   
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
Plateforme cible Windows
En-tête fwpmu.h

Voir aussi

FWPM_CONNECTION0

FWPM_CONNECTION_EVENT_TYPE

FwpmConnectionSubscribe0