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

warning C28243: The annotation for function on parameter requires more dereferences than the actual type annotated allows

The number of __deref operators on an annotation is more than the number of levels of pointer defined by the parameter type. Correct this warning by changing either the number in the annotation or the pointer levels of the parameter referenced.