How to use DeviceIOCommand (IOCTL_STORAGE_PROTOCOL_COMMAND) integrate with ufs device

yh_yong 0 Reputation points
2024-07-23T07:42:03.5333333+00:00

Hi,

Currently i'm working on sending query request upiu to ufs device by using DeviceIOControl(IOCTL_STORAGE_PROTOCOL_COMMAND) but i'm getting ERROR_INVALID_FUNCTION on getLastError(). Can you please provide sample code or documentation on DeviceIOControl integrate with UFS Device.

Thanks for support.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,952 questions
0 comments No comments
{count} votes