If you download the API Development Kit you can find every necessary file to build a General API based add-on.
The subfolder named Examples collects a rich set of example projects.
The subfolder named Support collects all the necessary libraries and header files.
The subfolder named Documentation contains the full documentation of the API and related software. It can be read either in HTML or MSDN format.