Syntax for Declaration Specifications

The syntax for a declaration specification is

__declspec(
  spec  [
   options  ]) 
  function-prototype ;
  

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

Related information
Declaration Specifications