Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,077 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi friend,
My computer is using UFS as storage device, I can use IOCTL_SCSI_PASS_THROUGH_DIRECT to send scsi command to UFS, but this interface was not support to send UFS query command.
After I do some research I find StorUFS has QUERY_REQ (0x16) can send ufs query command, but I don't know how to use windows API to send ufs query command.
Would you please help me?
```My reference link is here:
[https://learn.microsoft.com/en-us/windows-hardware/drivers/storage/storufs-feature-support#list-of-scsi-commands-that-storufs-supports](https://learn.microsoft.com/en-us/windows-hardware/drivers/storage/storufs-feature-support#list-of-scsi-commands-that-storufs-supports)
thanks