Filesystem minifilter driver help

Hello everyone,
I am working on the filesystem minifilter driver and making Encryption driver. For this i have used swapbuffers example form msdn.
I am having problem in reading data when it is read from notepad as notepad cached the data. Can I anyone help me how i can handle the notepad data in my minifilter driver. Which IRPs i have to intercept for notepad data. Currently I am intercepting IRP_MJ_READ and IRP_MJ_WRITE requests. It worked well for file opened with wordpad. I am manuplating data simply by xor operation.
Kindly help me in this regard.
Thanks.

I recommend searching this list for answers to your questions, it has
been asked, and answered, many times. There is a ton of information
about it, plenty to get you on the correct path.

Pete


Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com http:</http:>
866.263.9295

------ Original Message ------
From: xxxxx@outlook.com
To: “Windows File Systems Devs Interest List”
Sent: 5/7/2015 8:43:44 AM
Subject: [ntfsd] Filesystem minifilter driver help

>Hello everyone,
>I am working on the filesystem minifilter driver and making Encryption
>driver. For this i have used swapbuffers example form msdn.
>I am having problem in reading data when it is read from notepad as
>notepad cached the data. Can I anyone help me how i can handle the
>notepad data in my minifilter driver. Which IRPs i have to intercept
>for notepad data. Currently I am intercepting IRP_MJ_READ and
>IRP_MJ_WRITE requests. It worked well for file opened with wordpad. I
>am manuplating data simply by xor operation.
>Kindly help me in this regard.
>Thanks.
>
>—
>NTFSD is sponsored by OSR
>
>OSR is hiring!! Info at http://www.osr.com/careers
>
>For our schedule of debugging and file system seminars visit:
>http://www.osr.com/seminars
>
>To unsubscribe, visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer