For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

warning 28210: 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.