easy hook file open monitor

Aug 7, 2014 at 3:40 AM
I monitor all excel file open action use easyhook .

And I want to terminate file open in CreateFile_Hooked event,and open this file use other application

what should I do? Thanks
Coordinator
Aug 7, 2014 at 11:01 AM
You could try returning a fail code from your hooked version of CreateFile to prevent the file opening, and then send the filename through to your other application for opening.