Annotations allow functions to explicitly state behavior. This additional information provided by the developer is used by the code analysis tool to detect violations of the contract between the caller and the callee. The annotation scheme is implemented as VC++ compiler attributes.
The following sections provide more information about attributes and how they are defined and applied.
Attributed Programming Concepts