I am trying to issue SCSI UNMAP via DeviceIoControl(IOCTL_SCSI_PASS_THROUGH_DIRECT) and it fails with error 0x5 (ERROR_ACCESS_DENIED) on Windows 8. It works fine on Win7, w2k8, xp. Anyone has any idea about this error on Windows 8?. Is Windows 8 blocking this SCSI CDB ?.
Thanks for your help,
Prasanna
Are you asking from an elevated process?
Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
On Oct 4, 2012, at 2:02 AM, xxxxx@yahoo.com wrote:
I am trying to issue SCSI UNMAP via DeviceIoControl(IOCTL_SCSI_PASS_THROUGH_DIRECT) and it fails with error 0x5 (ERROR_ACCESS_DENIED) on Windows 8. It works fine on Win7, w2k8, xp. Anyone has any idea about this error on Windows 8?. Is Windows 8 blocking this SCSI CDB ?.
Thanks for your help,
Prasanna
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Yes, I am running this code as administrator.