I found that this doesn’t work, because
ERROR_INVALID_PARAMETER (87 - 0x57).
This document should explain how to use
IOCTL_DISK_FLUSH_CACHE, and most of the parameters are not used.
One sentence at the beginning of Toradex KB states
You need to set lpInBuffer = -1 to use
but this parameter is set to
&forceFlush and this is the address of a
Could you verify and clarify, please?