[Wlanapi] WLAN_NOTIFICATION_MSM NotificationCode 59

Tamas Balogh 1 Reputation point
2020-07-25T14:38:54.977+00:00

Hi,

I'm working on a small Wifi tool using wlanapi in vs2019.
I'm outputting the wlan notifications to the output window and constantly witnessing an unknown notification code numbered 59, which is not documented anywhere; the WLAN_NOTIFICATION_MSM enum has only 17 code enumerations.

I cannot find better explanation for this (and maybe even more?) code anywhere. Can someone help to find this out?

The logged notifications looking like:
ACM ScanComplete
ACM ScanListRefresh
MSM 59
MSM SignalQualityChange
MSM SignalQualityChange
MSM 59
MSM SignalQualityChange
MSM 59

Thank you in advance!

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,270 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Cherry Zhang (Shanghai Wicresoft) 11 Reputation points
    2020-07-27T06:52:19.01+00:00

    Hi,
    Thanks for posting here. In Windows,I just found this article which you may have read:
    https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/ne-wlanapi-wlan_notification_msm-r1

    If this disappointed you, I suggest to post this question here:
    http://www.cplusplus.com/forum/

    This forum may help you better.
    Please note: The given technical support contact information belongs to a third party and may vary without notice. Microsoft does not guarantee the information accuracy.
    Best regards
    Cherry


  2. Jeff Nygren 121 Reputation points
    2020-08-25T14:42:44.063+00:00

    @Tamas Balogh Until something better comes along, you can do what I did. Edit your 'wlanapi.h' file and add the line

    wlan_notification_msm_this_is_the_mysterious_undocumented_notification_code_59 = 59,

    immediately before the wlan_notification_msm_end line. Be aware that this will change the value of wlan_notification_msm_end, if your code happens to be using that value.

    0 comments No comments

  3. Alexey Bereznikov 1 Reputation point
    2020-10-21T05:47:55.323+00:00

    We should ignore this code since it is a private OS notification code.
    See https://stackoverflow.com/a/64455769/1828989 for the details.

    0 comments No comments