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

warning C28021: The parameter <param> being annotated with <anno> must be a pointer

This warning is reported when the object being annotated is not a pointer type. This annotation cannot be used with void or integral types.