| Previous | Next |
| STATUS_FLT_ALREADY_ENLISTED | STATUS_FLT_NO_WAITER_FOR_REPLY |
STATUS_FLT_CONTEXT_ALREADY_LINKED
STATUS_FLT_CONTEXT_ALREADY_LINKED describes the proposed context object, not the target object's existing slot. The same context allocation is already attached elsewhere and cannot be reused as state for another file, stream, volume, instance, or transaction.
This is the inverse of STATUS_FLT_CONTEXT_ALREADY_DEFINED. In the defined case, the target already has a context; in the linked case, the candidate context is already in use. Allocate a distinct context for the second target or retrieve the existing context that belongs to it. Do not detach and reattach a shared context simply to avoid allocation, because it destroys object ownership semantics.
Useful checks
- The context pointer's origin and every successful prior
FltSet*Contextcall. - Reference counts and cleanup callbacks for the context type.
- Whether concurrent create/open paths are trying to share one per-object allocation.
FltSetStreamContext | Managing minifilter contexts | NTSTATUS reference
Looking for a different code? Search another status or error code.