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