title: Hook into the Windows File Copy API from C++
body: <p>I need to hook copyfile in order to stop the process whenever a malicious file is being copied. I saw a question asked by Cat Man Do</p>
  
  <p><a href="https://stackoverflow.com/questions/1590155/hook-into-the-windows-file-copy-api-from-c-sharp?answertab=active#tab-top">Hook into the Windows File Copy API from C#</a></p>
  
  <p>and he mentioned that there is a solution for this problem in c++. I am using embarcadero c++ builder(non-MFC). Is this solution applicable for c++ builder and if it is can anybody post the link or give me a hint on how to hook copyfile in c++?  </p>