how do i declare api functions in msvc++?