I’m not even planning to write the encryption part of the filter. The other guy I work with can do the encryption. I’m just using the XOR for a test where I XOR my buffer with some single character.
Gosh folks. Everywhere I look, I see simple how to’s like:
how to build in the ddk
how to create a dispatch routine
how to create a dispatch completion routine
and I see info on buffers that appears to be wrong
and much of the driver development stuff is WDM based which doesn’t apply to filter drivers or is for a non-filter driver.
Then, not really knowing much, I start my project and see other’s with the same questions. Where they go, I don’t know? I’ve seen the same 'where is my read buffer" before. The question wasn’t fully answered, but the person asking just vanished?
Maybe I’m being persistent. Is this group like full of people who REALLY know what their doing and then the occasional fool like myself comes by, asks a question, get’s a simple response and moves on never to bother you again?
In short, what *I* would like to see in a FAQ is an example legacy and minifilter both that give you a way to grab a buffer of a file of interest, modify it an any way you want be it encryption, decryption, compression, decompression, etc. and such with explanations on why it’s done.
And yes, I’m hearing about the minifilter. I will look into it more. Seems it may be worth my while after all.
I have a question: Would I be a better overall driver developer by building a legacy driver to do this instead of doing a minifilter?
Is it like a windows developer who knows how to use the WinMain function versus an MFC or even .NET developer who simply generates a form with the IDE and starts programming?