The FsRtlTeardownPerStreamContexts routine frees all per-stream context structures associated with a given FSRTL_ADVANCED_FCB_HEADER structure.
- AdvancedHeader [in]
Pointer to the FSRTL_ADVANCED_FCB_HEADER structure.
File systems call FsRtlTeardownPerStreamContexts to free all per-stream context structures associated with a given FSRTL_ADVANCED_FCB_HEADER structure. When a file system tears down the stream context object for a file stream, it must call FsRtlTeardownPerStreamContexts, which in turn calls the FreeCallback routines of all per-stream context structures associated with the file stream.
To avoid conflicts in synchronization, the FsRtlTeardownPerStreamContexts routine releases the lock for the per file context objects before calling FreeCallback. This avoids blocking access to the to the per file context objects by the filter for own list operations, such as removal with FsRtlRemovePerStreamContext.
|This routine is available on Update Rollup for Windows 2000 Service Pack 4 (SP4) and on Microsoft Windows XP and later.|
- Tracking Per-Stream Context in a Legacy File System Filter Driver
Build date: 1/29/2014