сами J.D.
сами J.D.

Reputation: 513

What hook do I have to do to know when image is loaded and painted? EasyHook/DLL Injection

I'm using easyHook to do a DLL injection to know when a text is written in a 3d party application window.

This application also draws an image in its windows. I know the path/name of this picture (let's say path is: C:\ImageLoadedByExternalProgramAndDrawnInTheWindow.png)

However, I don't know what to hook exactly in order to know when this image is called in order to be painted. What function shall I hook?

I took a look at API Monitor and saw this:

enter image description here

But I don't know how to use it properly so not sure what function is calling this. Or... I just have to hook RtlIsDosPath... in kernelbase.dll?

Samy

Upvotes: 0

Views: 250

Answers (0)

Related Questions