Tracking Per-Stream Context in a Legacy File System Filter Driver

Note For optimal reliability and performance, we recommend using file system minifilter drivers instead of legacy file system filter drivers. Also, legacy file system filter drivers can’t attach to direct access (DAX) volumes. For more about file system minifilter drivers, see Advantages of the Filter Manager Model. To port your legacy driver to a minifilter driver, see Guidelines for Porting Legacy Filter Drivers.

This section covers per-stream context tracking in Microsoft Windows XP and later OS versions. The following topics are discussed:

File Streams, Stream Contexts, and Per-Stream Contexts

Creating and Using Per-Stream Context Structures