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 API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,525 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,638 questions
{count} votes