Native WlanAPI: WLAN_CONNECTION_IGNORE_PRIVACY_BIT

I don't understand the meaning of 'WLAN_CONNECTION_IGNORE_PRIVACY_BIT', which is an option ofdwFlags in WLAN_CONNECTION_PARAMETERS.

I created a temporary profile with the OPEN+No Security and called WlanConnect() to connect to a WPA-PSK AP. But there is no Authentication Request and Association Request after it.

Can anyone tell me what the 'WLAN_CONNECTION_IGNORE_PRIVACY_BIT' flag means and how to use it?

Thanks in advance.

[513 byte] By [gulite] at [2008-2-14]
# 1

I added notification callback in my application. And I got the WLAN_REASON_CODE_NETWORK_NOT_AVAILABLE failed reason code when receiving wlan_notification_acm_connection_complete as NotificationCode.

It seems WlanAPI still consider there is a mismatch between capabilities specified in an XML profile and interface and/or network capabilities. So I wonder why WLAN_CONNECTION_IGNORE_PRIVACY_BIT does not take effect.

Is there any expert or Microsoft engineer can resolve this for me?

Thanks a lot in advance.

gulite at 2007-10-2 > top of Msdn Tech,Windows Networking Development,Windows Vista Wireless SDK...