How to get SMS report information in C++?

thanks,
jack