How to get the documentation of an application?

I wanted to make an attempt to build the windows calculator. I am new to this. Where can I find the documentation necessary for this project. Any ideas would be really appreciated.

There are many results when searching for windows calculator programming tutorial. You might want to try one of those?

I hope that helps!