hi,
I try to retrieve signal strength from NDISUIO driver.
the CreateFile returns OK on the name \\\\.\\{x-x-x-x}, but the
DeviceIoControl retrurn 998 (no access to file).
does anybody know why and how i should solve this problem.
I should mention i'm working on xp and therefore the line
"queryOID->ptcDeviceName = ptcDeviceName;" could not be performed,
because the queryOID->ptcDeviceName exists only on WIN CE.
Thanx,
d

Re: DeviceIoControl return 998 by nospam

nospam
Mon Aug 16 21:50:29 CDT 2004

ERROR_NOACCESS (STATUS_ACCESS_VIOLATION and STATUS_DATATYPE_MISALIGNMENT) is
not the same as ERROR_ACCESS_DENIED (STATUS_ACCESS_DENIED). You may be
passing wrong parameters to devioctl.

"d" <danielgaia1977@yahoo.com> wrote in message
news:a373436c.0408152336.70ec11d6@posting.google.com...
> hi,
> I try to retrieve signal strength from NDISUIO driver.
> the CreateFile returns OK on the name \\\\.\\{x-x-x-x}, but the
> DeviceIoControl retrurn 998 (no access to file).
> does anybody know why and how i should solve this problem.
> I should mention i'm working on xp and therefore the line
> "queryOID->ptcDeviceName = ptcDeviceName;" could not be performed,
> because the queryOID->ptcDeviceName exists only on WIN CE.
> Thanx,
> d