Visual Studio 2008 To SW2008

how can I write an api in visual studio 2008 to SW2008?
what ? must download for api?SolidworksApi macros