getting Received signal strength

Joined
Aug 7, 2007
Messages
1
Reaction score
0
Hi all,

Been trying to code a program to detect the signal strength from the wireless adapter Prolink WG2000. BUt stuck at a specific part and really clueless about it,

retval = DeviceIoControl(
hr,
IOCTL_NDISUIO_QUERY_OID_VALUE,
pBuffer,
sizeof(pBuffer),
pBuffer,
sizeof(pBuffer),
&dwBytesReturned,
NULL);

if (retval == 0){
CloseHandle(hr);

geterror();
return false;
}

The error code return is =1 and it represent incorrect function

ANyone ever met with such problem? Please give some advice or suggestions. Thank you
 
Back
Top