I want to close all the running instances of Notepad through my application.
I got the window handle using
FindWindow() API.
I got the handle of Window.
CloseWindow() API
is minimizing the notepad but I want to close all the instances of Notepad.
How can I achieve this?