title: Is there a way to cancel a create or write operation while returning succes to the calling application?
body: <p>I am trying to create a driver which fakes file writes, logging the attempts. However I do want the calling application to think it succeeded. Anybody some advice on how to do this?</p>
  
  <p>I am new to driver programming (Windows); though I do have experience with C, C++ and operating system (creation).</p>
  
  <p>I have looked at some samples but could not find anything like it nor was there any NTSTATUS that looks like it resembles what I am trying to do.</p>
  
  <p>Edit 1:
  As for the fact that i need an intermediate driver, I already knew that. Now the minispy example does the logging but doesn't do the main functionality which is faking that the operation succeeded. As for the Dokan aproach I wan't to do this myself because I find it interesting and because I want to do the same for registry keys.</p>