The documentation here working-with-nvme-devices indicates that the structure is used to send vendor-specific commands to a device. So wouldn't the meaning of any error codes be found in the vendor documentation of the commands being used?
STORAGE_PROTOCOL_COMMAND returns error code 32773
STORAGE_PROTOCOL_COMMAND returns status as STORAGE_PROTOCOL_STATUS_ERROR with error code 32773.
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-storage_protocol_command this link specifies about return status but can find much references for error code.
Could anyone suggest where to look for error codes