Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DeviceIoControl error code 998 ERROR_NOACCESS

236 views
Skip to first unread message

Vijay Anand

unread,
Feb 16, 2010, 3:32:28 AM2/16/10
to
Hi all,

I'm sending IOCTL_SCSI_PASS_THROUGH_DIRECT in DeviceIoControl()
issuing SCSI Write 10 command.
status = DeviceIoControl(hDisk, IOCTL_SCSI_PASS_THROUGH_DIRECT,
&spt,
sizeof(SCSI_PASS_THROUGH_DIRECT),
&spt,
outbufferLength,
&returned,
FALSE);

I'm getting return status of DeviceIoControl as 0, ans GetLastError
returns 998(ERROR_NOACCESS).

Please let me know why DeviceIoControl fails?

raj.d...@gmail.com

unread,
Apr 11, 2013, 6:23:35 AM4/11/13
to
Hi, I am facing a similar problem. Did you manage to find the solution to this?
0 new messages