Latest news: November 14, 2008
Advanced WiFi-Manager v3.2 released!
October 21, 2008
WinI2C/DDC Lite v3.22 released!
October 20, 2008
Advanced WiFi-Manager v3.1 released!
October 17, 2008
WinI2C/DDC v3.22 released!
| | |
|
WiFi-Manager: Developer's Guide
|
WiFi-Manager Constants
Constants for GetAvailableNetworkAuthMode function:
| Ndis802_11AuthModeOpen | 0x00 |
| Ndis802_11AuthModeShared | 0x01 |
| Ndis802_11AuthModeAutoSwitch | 0x02 |
| Ndis802_11AuthModeWPA | 0x03 |
| Ndis802_11AuthModeWPAPSK | 0x04 |
| Ndis802_11AuthModeWPANone | 0x05 |
| Ndis802_11AuthModeWPA2 | 0x06 |
| Ndis802_11AuthModeWPA2PSK | 0x07 |
Constants for GetAvailableNetworkCipherMode function:
| DOT11_CIPHER_ALGO_NONE | 0x00 |
| DOT11_CIPHER_ALGO_WEP40 | 0x01 |
| DOT11_CIPHER_ALGO_TKIP | 0x02 |
| DOT11_CIPHER_ALGO_CCMP | 0x04 //AES |
| DOT11_CIPHER_ALGO_WEP104 | 0x05 |
| DOT11_CIPHER_ALGO_WPA_USE_GROUP | 0x100 |
| DOT11_CIPHER_ALGO_RSN_USE_GROUP | 0x100 |
| DOT11_CIPHER_ALGO_WEP | 0x101 |
Constants for GetAvailableNetworkType function:
| dot11_BSS_type_infrastructure | 0x01 |
| dot11_BSS_type_independent | 0x02 |
| dot11_BSS_type_any | 0x03 |
Constants for CreateTmpProfile function:
| TEMPLATE_EMPTY | 0x00 //empty network profile |
| TEMPLATE_UNSECURE_OPEN | 0x01 //Encryption=none, Auth=open |
| TEMPLATE_WEP_OPEN | 0x02 //Encryption=WEP, Auth=open |
| TEMPLATE_UNSECURE_SHARED | 0x03 //Encryption=none, Auth=shared |
| TEMPLATE_WEP_SHARED | 0x04 //Encryption=WEP, Auth=shared |
Constants for GetAdapterOption and SetAdapterOption functions:
| ADAPTER_NETTYPE | 0x00000003 //type of networks to access |
| ADAPTER_USEWINDOWS | 0x00008000 //use windows to configure adapter |
| ADAPTER_CONNECTFLAG | 0x00004000 //automatically connect to non preferred networks (Windows XP only) |
| | |
| NETTYPE_ANY | 0x00000002 //any networks |
| NETTYPE_APONLY | 0x00000001 //AP networks only (infrastructure) |
| NETTYPE_ADHOCONLY | 0x00000000 //computer-to-computer networks only (ad-hoc) |
| | |
| USEWINDOWS_FLAG | 0x00008000 //use windows to configure adapter |
| CONNECTFLAG_FLAG | 0x00004000 //automatically connect to non preferred networks (Windows XP only) |
Constants for SetStorageOptions function (Advanced WiFi-Manager only):
| STORAGE_FILE | 0x00 //All settings when NDIS mode is used will be stored in a file |
| STORAGE_MEMORY | 0x01 //All settings when NDIS mode is used will be stored in memory |
Constants for GetLibraryOption and SetLibraryOption functions (Advanced WiFi-Manager only):
| STORAGE_FILE | 0x00 //All settings when NDIS mode is used will be stored in a file |
| STORAGE_MEMORY | 0x01 //All settings when NDIS mode is used will be stored in memory |
Constants for GetLibraryOption and SetLibraryOption functions:
| - "OptionIndex" parameter constants | |
| OPT_MODE | 0x00 //see OPT_MODE_AUTO and OPT_MODE_NDISMODE values.
Note: OPT_MODE must be set BEFORE calling any other functions, otherwise SetLibraryOption will fail |
| OPT_ADVWIFIMAN | 0x01 //Only GetLibraryOption: checks if it's Advanced WiFi-Manager library (1) or not (0) |
| OPT_WLANCONNECTFLAGS | 0x02 //allows you to set dwFlags field of WLAN_CONNECTION_PARAMETERS structure for connection in Vista, see MSDN for possible values, default 0. For most cases you don't need this flag. |
| OPT_SCANDELAY | 0x03 //available networks scanning delay in milliseconds (Advanced WiFi-Manager only), default 3000ms |
| OPT_XPNATIVEWIFI | 0x04 //use NativeWiFi for XP patch from Microsoft if possible instead of WZC API, default false (0) |
| | |
| - "Value" parameter constants | |
| OPT_MODE_AUTO | 0x00 //Value for OPT_MODE option, Advanced WiFi-Manager only: detect OS and use Ndis, WCZ or NativeWiFi (default mode) |
| OPT_MODE_NDIS | 0x01 //Value for OPT_MODE option, Advanced WiFi-Manager only: use Ndis for any OS |
|
|