Multiple Problems using the WLAN-API
Hi, 1. Calling WlanConnect() results in multiple "wlan_notification_acm_connection_complete" notifications. At my machine this occurs three times before the wlan is complete connected (with dhcp-address).
we have a product here using the Native Wifi-API for XP and some problems.
Because the count isn't fixed, wlan_notification_acm_connection_complete is complete useless because it isn't possible to wait for the WlanConnect() competition.
The only information this notification gives is “maybe you are connected, maybe still connecting”.
3. The wlanReasonCode in the notifications is always zero, even if the operation fails 4. WlanQueryInterface gives wlan_interface_state_connected immediately after the first connection_complete notification, so it is also not possible to querying the connecting state using this function. I've never seen wlan_interface_state_authenticating, which is documented to be supported on XP.
2. The same while disconnecting from the network
5. On one fresh installed XP SP2 development machine here, the installation of the Native Wifi-API hotfix fails with “Migration failed”. The log says:
“27.360: Source:C:\WINDOWS\system32\DllCache\SET47.tmp (5.1.2600.2658)
27.360: Destination:C:\WINDOWS\system32\DllCache\netshell.dll (5.1.2600.2180)
31.703: UpdateSpUpdSvcInf: Source [ProcessesToRunAfterReboot] section is empty; nothing to do.
31.703: MigrateHotfix: Migrating hotfix KB937143
31.703: Migrating QFE KB937143 with command line: update.exe -Z -Q -B: sp2qfe
34.875: Update.exe failed 1603.
34.875: MigrateHotfixes: Migration of KB937143 failed
34.875: DoInstallation: Migration failed”
I’ve searched on the web and the answer was always: “Uninstall IE7 and retry”. That couldn’t be true…
7. The KB918997 side should contains a big red reference to KB940541
8. Because we are installing the Hotfix KB918997 on customer systems, it would be good if there comes an updated version without the memory leak and without #5.
I hope someone from MS will read and could help. Looks a little bit empty here…
Marco Borm

