The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at C28021.

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.