次の方法で共有


Dot11ExtSendNotification (Compact 2013)

3/26/2014

The IHV Extensions DLL calls this function to send notifications to any service or application that has registered for the notification.

Syntax

DWORD WINAPI Dot11ExtSendNotification(
    HANDLE  hDot11SvcHandle,
    PL2_NOTIFICATION_DATA  pNotificationData
);

Parameters

  • hDot11SvcHandle
    [in] The handle that is used by the operating system to reference the wireless LAN (WLAN) adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.
  • pNotificationData
    [in] A pointer to an L2_NOTIFICATION_DATA structure.

    Note

    The IHV Extensions DLL must not pass a NULL value for this parameter.

Return Value

If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.

Remarks

A service or application registers to receive the notification by calling the WlanRegisterNotification Auto Configuration Manager (ACM) function.

If the IHV Extensions DLL allocated memory for the notification data referenced by the pNotificationData parameter, the DLL can free the memory after the call to Dot11ExtSendNotification returns.

Requirements

Header

wlanihv.h

See Also

Reference

Native 802.11 IHV Extensibility Functions
Dot11ExtIhvInitAdapter
L2_NOTIFICATION_DATA
Native 802.11 IHV Extensions DLL

Other Resources

WlanRegisterNotification