i started in another thread to talk about it but i think it's better to create a new one in the beginner area.
My purpose : to monitor API calls to a particular API, let's say "GetCurrentDirectory". I want to see when the API is called, and by which process/executable.
I tried to do an API hook with "SetWindowsHookEx" but i fail to do it, may be it isn't the good way.
Anyone having a clue or better, a code sample ?
Thanks you if you can help me

regards,
newbie.