Link to home
Start Free TrialLog in
Avatar of Ocrana
Ocrana

asked on

IOCTL_STORAGE_QUERY_PROPERTY

Hello,
anybody here who has experience with  IOCTL_STORAGE_QUERY_PROPERTY? I tried a call with _STORAGE_ADAPTER_DESCRIPTOR to get PIO mode. But this always return FALSE, even if I disable DMA in Device Manager.
On XP  it works well but on Windows 7 always FALSE. Any idea, suggestion?

Ingo
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Only Plug and Play drivers can issue IOCTL_STORAGE_QUERY_PROPERTY requests. Legacy drivers should use IOCTL_SCSI_GET_INQUIRY_DATA and IOCTL_SCSI_GET_CAPABILITIES to get inquiry and capabilities data.

From http://msdn.microsoft.com/en-us/library/windows/hardware/ff560590%28v=vs.85%29.aspx