Syntax for Declaration Specifications

The syntax for a declaration specification is

  __declspec(spec [ options ]) function-declaration;
  
  

where spec is the declaration specification, options represents possible arguments for the declaration specification, and function-declaration represents the declaration of the function. Unless otherwise specified in the declaration specification's description, a function's definition does not require a declaration specification.