fonction de rappel DOT11EXT_SEND_NOTIFICATION (wlanihv.h)
La DLL des extensions IHV appelle la fonction Dot11ExtSendNotification pour envoyer des notifications à tout service ou application inscrit pour la notification.
Syntaxe
DOT11EXT_SEND_NOTIFICATION Dot11extSendNotification;
DWORD Dot11extSendNotification(
[in, optional] HANDLE hDot11SvcHandle,
[in] PL2_NOTIFICATION_DATA pNotificationData
)
{...}
Paramètres
[in, optional] hDot11SvcHandle
Handle utilisé par le système d’exploitation pour référencer l’adaptateur RÉSEAU local sans fil (WLAN). Cette valeur de handle a été spécifiée via un appel précédent à la fonction de gestionnaire IHV Dot11ExtIhvInitAdapter.
[in] pNotificationData
Pointeur vers une structure L2_NOTIFICATION_DATA.
Valeur de retour
Si l’appel réussit, la fonction retourne ERROR_SUCCESS. Sinon, elle retourne un code d’erreur défini dans Winerror.h.
Remarques
Un service ou une application s’inscrit pour recevoir la notification en appelant la fonction WlanRegisterNotification Auto Configuration Manager (ACM). Pour plus d’informations sur cette fonction, reportez-vous à la documentation du Kit de développement logiciel (SDK) Microsoft Windows.
Si la DLL des extensions IHV a alloué de la mémoire pour les données de notification référencées par le paramètre pNotificationData, la DLL peut libérer la mémoire après l’appel à Dot11ExtSendNotification retourne.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Disponible dans Windows Vista et versions ultérieures des systèmes d’exploitation Windows. |
plateforme cible | Bureau |
d’en-tête | wlanihv.h (include Wlanihv.h, L2cmn.h) |