Warning C6997

Annotations at this location are meaningless and will be ignored.

Remarks

Annotations can't be applied to extern "C" {...}. Apply the annotations to a specific object.

Code analysis name: IGNORED_ANNOTATIONS

See also

Using SAL Annotations to Reduce C/C++ Code Defects