easy hook file open monitor

Aug 7, 2014 at 4: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
Aug 7, 2014 at 12:01 PM
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.