You can checkout the "AvScan File System Minifilter Driver" sample from
Microsoft. It uses tables to maintain a per file stream state cache in.
Also make sure you very carefully read the documentation. There are a few
things that are tricky and you might miss at first read, especially if your
table contain pointers that you might need to free before deleting the item
in the table.
Use verifier to make sure you are not leaking anything either by forgetting
to free or by not synchronizing properly.
On Wed, Jul 20, 2016 at 9:11 AM, wrote:
> I need to implement Page table in KMDF bus driver. In that I should
> maintain the pages i AVL Tree .
> I have gone through msdn . In this link :
> ,a list of relevant routines for this tree has been given.
> But it will be very useful , if I get any sample source ,so that I can
> make it out clear understanding and how such routines are used.
> Because ,in the AVL initialization Routine itself am confused a lot. It
> is having completion .allocate,free routines. The parameters for such
> routines are quite confusing.
> How such Routines should be used? AM not much clear about it.
> So,can anyone tell me where can i get the sample source for this AVL Tree
> NTDEV is sponsored by OSR
> Visit the list online at: <
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at
> To unsubscribe, visit the List Server section of OSR Online at <