0 | Success. |
-1 | Invalid SME_Initialize handle. |
-2 | No module selected. Call SME_SearchForModules() first. |
-3 | Invalid network parameter. See Network Types. |
-4 | Invalid SSID. SSID must be null-terminated and must not exceed 32 characters. |
-5 | Invalid channel number. Channel should be either zero (infrastructure), or between 1 and 14. |
-6 | Invalid security type. See Security Type. |
-7 | Invalid key type. See Wireless Key Type. |
-8 | Invalid key. Key must be null-terminated, contain at least one character, and must not exceed 64 characters. |
-9 | Invalid security type for ad-hoc. Use NONE or a WEP type encryption only. |
-10 | The supplied security configuration does not allow the use of hex keys (passphrase only). |
-11 | Invalid key. 64-bit hex keys require 10 characters; 128-bit hex keys require 26 characters. |
-12 | Hexadecimal key contains non-hexadecimal characters. |
-13 | Could not set device's wireless configuration due to network error. |
-14 | Invalid SSID parameter. |