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)

Image of Quadratic

Free AI chart generator

Upload data, describe your vision, and get Python-powered, AI-generated charts instantly.

Try Quadratic free

👋 Kindness is contagious

Explore this insightful post in the vibrant DEV Community. Developers from all walks of life are invited to contribute and elevate our shared know-how.

A simple "thank you" could lift spirits—leave your kudos in the comments!

On DEV, passing on wisdom paves our way and unites us. Enjoyed this piece? A brief note of thanks to the writer goes a long way.

Okay