I want to create the simplest service for monitoring which new application I am opening or which application I am switching to make it active window/application on Windows 10+ using the Win32 api.
Purpose of this exercise is to track my activity of which application I am opening or which application I am switching to.
How can I create such service using Win32 api?