DEV Community

HaoJames
HaoJames

Posted on

Pass additional operation to a function hook in windows

Hi, I have been doing this to learn the windows internals and there's was the hook api click menu notepad thing I learned from http://diendan.congdongcviet.com/threads/t26558::hook-message-click-button-menu-tren-process-khac.cpp but here, I want to perform following things:-
Open file by

File -> New File in Notepad

But I don't seem to do so, anyone how this could be possible?
Thanks

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay