How can I convert the following code (from MSDN) to work in VB.NET
(the opcodes are raising errors):
Public Enum WLAN_INTF_OPCOD E
wlan_intf_opcod e_autoconf_star t = 0x000000000
wlan_intf_opcod e_autoconf_enab led = 0x0fffffff
wlan_intf_opcod e_background_sc an_enabled = 0x0fffffff
wlan_intf_opcod e_media_streami ng_mode = 0x0fffffff
wlan_intf_opcod e_radio_state = 0x0fffffff
wlan_intf_opcod e_bss_type = 0x0fffffff
wlan_intf_opcod e_interface_sta te = 0x0fffffff
wlan_intf_opcod e_current_conne ction = 0x0fffffff
wlan_intf_opcod e_channel_numbe r = 0x0fffffff
wlan_intf_opcod e_supported_inf rastructure_aut h_cipher_pairs =
0x0fffffff
wlan_intf_opcod e_supported_adh oc_auth_cipher_ pairs =
0x0fffffff
wlan_intf_opcod e_supported_cou ntry_or_region_ string_list =
0x0fffffff
wlan_intf_opcod e_current_opera tion_mode = 0x0fffffff
wlan_intf_opcod e_supported_saf e_mode = 0x0fffffff
wlan_intf_opcod e_certified_saf e_mode = 0x0fffffff
wlan_intf_opcod e_autoconf_end = 0x0fffffff
wlan_intf_opcod e_msm_start = 0x10000100
wlan_intf_opcod e_statistics = 0x1fffffff
wlan_intf_opcod e_rssi = 0x1fffffff
wlan_intf_opcod e_msm_end = 0x1fffffff
wlan_intf_opcod e_security_star t = 0x20010000
wlan_intf_opcod e_security_end = 0x2fffffff
wlan_intf_opcod e_ihv_start = 0x30000000
wlan_intf_opcod e_ihv_end = 0x3fffffff
End Enum
Thanks in advance,
Toby.
(the opcodes are raising errors):
Public Enum WLAN_INTF_OPCOD E
wlan_intf_opcod e_autoconf_star t = 0x000000000
wlan_intf_opcod e_autoconf_enab led = 0x0fffffff
wlan_intf_opcod e_background_sc an_enabled = 0x0fffffff
wlan_intf_opcod e_media_streami ng_mode = 0x0fffffff
wlan_intf_opcod e_radio_state = 0x0fffffff
wlan_intf_opcod e_bss_type = 0x0fffffff
wlan_intf_opcod e_interface_sta te = 0x0fffffff
wlan_intf_opcod e_current_conne ction = 0x0fffffff
wlan_intf_opcod e_channel_numbe r = 0x0fffffff
wlan_intf_opcod e_supported_inf rastructure_aut h_cipher_pairs =
0x0fffffff
wlan_intf_opcod e_supported_adh oc_auth_cipher_ pairs =
0x0fffffff
wlan_intf_opcod e_supported_cou ntry_or_region_ string_list =
0x0fffffff
wlan_intf_opcod e_current_opera tion_mode = 0x0fffffff
wlan_intf_opcod e_supported_saf e_mode = 0x0fffffff
wlan_intf_opcod e_certified_saf e_mode = 0x0fffffff
wlan_intf_opcod e_autoconf_end = 0x0fffffff
wlan_intf_opcod e_msm_start = 0x10000100
wlan_intf_opcod e_statistics = 0x1fffffff
wlan_intf_opcod e_rssi = 0x1fffffff
wlan_intf_opcod e_msm_end = 0x1fffffff
wlan_intf_opcod e_security_star t = 0x20010000
wlan_intf_opcod e_security_end = 0x2fffffff
wlan_intf_opcod e_ihv_start = 0x30000000
wlan_intf_opcod e_ihv_end = 0x3fffffff
End Enum
Thanks in advance,
Toby.
Comment