A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Hardware and Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Hardware and Windows Vista Hardware issues in relation to Windows Vista. (microsoft.public.windows.vista.hardware_devices)

wireless antenna switch



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 12th 10, 11:46 PM posted to microsoft.public.windows.vista.hardware_devices
RF
external usenet poster
 
Posts: 7
Default wireless antenna switch

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

  #2 (permalink)  
Old January 13th 10, 01:27 AM posted to microsoft.public.windows.vista.hardware_devices
Curious[_6_]
external usenet poster
 
Posts: 193
Default wireless antenna switch

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
...
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

  #3 (permalink)  
Old January 13th 10, 01:27 AM posted to microsoft.public.windows.vista.hardware_devices
Curious[_6_]
external usenet poster
 
Posts: 193
Default wireless antenna switch

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
...
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

  #4 (permalink)  
Old January 18th 10, 05:37 PM posted to microsoft.public.windows.vista.hardware_devices
smlunatick
external usenet poster
 
Posts: 180
Default wireless antenna switch

On Jan 13, 12:46*am, rf wrote:
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


Wireless "adapters" do not have a switch for the attena. You can
normally only turn the wireless radio on / off.

  #5 (permalink)  
Old January 18th 10, 05:37 PM posted to microsoft.public.windows.vista.hardware_devices
smlunatick
external usenet poster
 
Posts: 180
Default wireless antenna switch

On Jan 13, 12:46*am, rf wrote:
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


Wireless "adapters" do not have a switch for the attena. You can
normally only turn the wireless radio on / off.

  #6 (permalink)  
Old January 19th 10, 06:57 PM posted to microsoft.public.windows.vista.hardware_devices
Pavel A.[_2_]
external usenet poster
 
Posts: 40
Default wireless antenna switch

"rf" wrote in message
...
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


  #7 (permalink)  
Old January 19th 10, 06:57 PM posted to microsoft.public.windows.vista.hardware_devices
Pavel A.[_2_]
external usenet poster
 
Posts: 40
Default wireless antenna switch


"rf" wrote in message
...
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


 




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

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



All times are GMT. The time now is 09:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.