T
Toby Webb
How can I convert the following code (from MSDN) to work in VB.NET
(the opcodes are raising errors):
Public Enum WLAN_INTF_OPCODE
wlan_intf_opcode_autoconf_start = 0x000000000
wlan_intf_opcode_autoconf_enabled = 0x0fffffff
wlan_intf_opcode_background_scan_enabled = 0x0fffffff
wlan_intf_opcode_media_streaming_mode = 0x0fffffff
wlan_intf_opcode_radio_state = 0x0fffffff
wlan_intf_opcode_bss_type = 0x0fffffff
wlan_intf_opcode_interface_state = 0x0fffffff
wlan_intf_opcode_current_connection = 0x0fffffff
wlan_intf_opcode_channel_number = 0x0fffffff
wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs =
0x0fffffff
wlan_intf_opcode_supported_adhoc_auth_cipher_pairs =
0x0fffffff
wlan_intf_opcode_supported_country_or_region_string_list =
0x0fffffff
wlan_intf_opcode_current_operation_mode = 0x0fffffff
wlan_intf_opcode_supported_safe_mode = 0x0fffffff
wlan_intf_opcode_certified_safe_mode = 0x0fffffff
wlan_intf_opcode_autoconf_end = 0x0fffffff
wlan_intf_opcode_msm_start = 0x10000100
wlan_intf_opcode_statistics = 0x1fffffff
wlan_intf_opcode_rssi = 0x1fffffff
wlan_intf_opcode_msm_end = 0x1fffffff
wlan_intf_opcode_security_start = 0x20010000
wlan_intf_opcode_security_end = 0x2fffffff
wlan_intf_opcode_ihv_start = 0x30000000
wlan_intf_opcode_ihv_end = 0x3fffffff
End Enum
Thanks in advance,
Toby.
(the opcodes are raising errors):
Public Enum WLAN_INTF_OPCODE
wlan_intf_opcode_autoconf_start = 0x000000000
wlan_intf_opcode_autoconf_enabled = 0x0fffffff
wlan_intf_opcode_background_scan_enabled = 0x0fffffff
wlan_intf_opcode_media_streaming_mode = 0x0fffffff
wlan_intf_opcode_radio_state = 0x0fffffff
wlan_intf_opcode_bss_type = 0x0fffffff
wlan_intf_opcode_interface_state = 0x0fffffff
wlan_intf_opcode_current_connection = 0x0fffffff
wlan_intf_opcode_channel_number = 0x0fffffff
wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs =
0x0fffffff
wlan_intf_opcode_supported_adhoc_auth_cipher_pairs =
0x0fffffff
wlan_intf_opcode_supported_country_or_region_string_list =
0x0fffffff
wlan_intf_opcode_current_operation_mode = 0x0fffffff
wlan_intf_opcode_supported_safe_mode = 0x0fffffff
wlan_intf_opcode_certified_safe_mode = 0x0fffffff
wlan_intf_opcode_autoconf_end = 0x0fffffff
wlan_intf_opcode_msm_start = 0x10000100
wlan_intf_opcode_statistics = 0x1fffffff
wlan_intf_opcode_rssi = 0x1fffffff
wlan_intf_opcode_msm_end = 0x1fffffff
wlan_intf_opcode_security_start = 0x20010000
wlan_intf_opcode_security_end = 0x2fffffff
wlan_intf_opcode_ihv_start = 0x30000000
wlan_intf_opcode_ihv_end = 0x3fffffff
End Enum
Thanks in advance,
Toby.