Prev Previous Post   Next Post Next

country code of wireless LAN adapter

Posted: 11-15-2006, 01:51 PM
here i am using deviceIOControl to get the country code of wireless LAN
adapter

code is as follows:

NDIS_OID ndisOid
//Atheros Specific OID
ndisOid = OID_ATH_REGULATORY_DOMAIN;

DeviceIoControl(theApp.m_hDevHandle,
IOCTL_NDIS_QUERY_GLOBAL_STATS,
(LPVOID)&ndisOid,
sizeof(ndisOid) + sizeof (ULONG) -1,
(LPVOID)&dwCountryCode,
sizeof(dwCountryCode),
&ulLen,
NULL);

this is working for WindowsXp, but not for Windows Vista.
can any body help me in this?????

to resolve this problem i got the information from MSDN site that it
need to use WMI through the class "MSNdis_80211_WEPStatus".
i have seen it through WMI browser. but not getting any relevent
information


Reply With Quote

Responses to "country code of wireless LAN adapter"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Fax droping country code. Ted Windows XP Printers / Scanners / Fax 1 09-19-2006 10:39 AM
DVD country code David P. Windows XP Video 2 02-01-2004 09:56 AM
How to set default country code Suzie Windows XP Printers / Scanners / Fax 2 11-28-2003 12:50 AM
Code 10 USB Wireless Network Adapter Richard Windows XP Hardware 0 11-18-2003 03:04 PM
COUNTRY CODE FROM WINDOZE.... Mel Windows XP 3 08-04-2003 10:57 PM