did you try using "dumpcpp" tool to generate API files ?