We took the mining power that is in our Coinstash app for MacOS and made it into a framework that can be put into any native Windows app.
You can download the Example Project from this Github repository if you'd like to follow along.
The framework is provided as a Dynamic Linked Library (DLL) and is written in C#. It will work with any C# project, but can also work with other native windows languages (C/C++ etc.) with some extra effort. Since C# is the one of the most popular languages for writing apps for Windows, we took this approach.