Warning C28210

Annotations for the _On_failure_ context must not be in explicit pre context

Annotations _On_failure_ must be explicitly or implicitly indicated in __post context, that is, to be applied after the function returns. Use _drv_out to ensure this annotation is indicated.