The header has probably been discontinued.
Strip out the #include, and recompile. You should then get errors telling you where you have called the associated functions. You then need to look them up in the documentation, or do a web search to see if there are any equivalents.
A quick search turned up that tapi.h had been rolled into the rest of the SDK. However I am not familiar with the library.