Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Hardware > wireless antenna switch

Reply
Thread Tools Display Modes

wireless antenna switch

 
 
rf
Guest
Posts: n/a

 
      01-12-2010
Hello, is there a programmatic way to query the state of the wireless switch?

Perhaps there is an interface that I can register for notifications? If so,
does anyone know the interface GUID?

Thanks in advance,
Rick

 
Reply With Quote
 
 
 
 
Curious
Guest
Posts: n/a

 
      01-13-2010
Since your post does not contain the make/model of the antenna switch you
have or what you are trying to find out about it's status regretfully we can
not do much help
Can you provide a link to the switch's user manual?

rf" <> wrote in message
news:64678800-A848-450A-A627-...
> Hello, is there a programmatic way to query the state of the wireless
> switch?
>
> Perhaps there is an interface that I can register for notifications? If
> so,
> does anyone know the interface GUID?
>
> Thanks in advance,
> Rick
>

 
Reply With Quote
 
Pavel A.
Guest
Posts: n/a

 
      01-19-2010

"rf" <> wrote in message
news:64678800-A848-450A-A627-...
> Hello, is there a programmatic way to query the state of the wireless
> switch?
>
> Perhaps there is an interface that I can register for notifications? If
> so,
> does anyone know the interface GUID?
>
> Thanks in advance,
> Rick


Use WLANAPI:
http://msdn.microsoft.com/en-us/libr...75(VS.85).aspx

Call WlanQueryInterface(wlan_intf_opcode_radio_state) on a selected
interface
(need to enumerate interfaces first... ideally, you'll have only one)

This returns array of WLAN_PHY_RADIO_STATE (again, ideally
you'll have only one), which is a pair of DOT11_RADIO_STATE
values: "software state" and "hardware state".
http://msdn.microsoft.com/en-us/libr...18(VS.85).aspx

The latter is what you want.

If you have more help with this, please ask in
microsoft.public.win32.programmer.networks

Regards,
-- pa


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WIRELESS network adapter FAILURE on Vista ONLY AFTER SLEEP Vulture Windows Vista Hardware 12 02-25-2008 02:24 PM
Re: Lose Desktop Wireless connection when Sync Axim via USB Cradle Paul G. Tobey [eMVP] ActiveSync 0 11-20-2006 08:20 PM
WPA under VISTA - any idea..? Miroslaw Rusin Windows Vista Hardware 18 04-19-2006 02:49 AM
RE: Activesync 4.0 kills my wireless connection Nik K ActiveSync 0 12-21-2005 08:59 AM
Re: Activesync 4/WM5: Wireless network not available Ben ActiveSync 0 11-27-2005 07:48 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59