| Previous | Next |
| PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS | PEERDIST_ERROR_ALREADY_EXISTS |
PEERDIST_ERROR_INVALIDATED
The supplied object has already been invalidated.
PEERDIST_ERROR_INVALIDATED is Win32 error 4057 (0xFD9) and belongs to Peer Distribution and BranchCache object lifetime after cancellation or teardown.
Troubleshooting steps
- Record the invalidating operation, object handle, generation, and later caller.
- Record the exact PeerDist function involved in object lifetime after cancellation or teardown.
What to verify
Verify whether the supplied PeerDist object has been invalidated and cannot accept further operations. Check the invalidating operation, object handle, generation, and later caller; record the exact PeerDist function involved in object lifetime after cancellation or teardown.
Handling, retry, and recovery
Release the stale object and reopen or recreate state from authoritative content information.
Difference from nearby codes
ALREADY_COMPLETED can apply to a completed operation; INVALIDATED says the object itself is no longer usable.
Practical example
A cancel path invalidates a retrieval object, but a timer later uses the old handle. Generation checks prevent the stale access.
References
- Microsoft: System Error Codes (4000–5999) — reference for error 4057.
- Microsoft: Peer Distribution API — reference for error 4057.
- Microsoft: peerdist.h API reference — reference for error 4057.
- Microsoft: BranchCache — reference for error 4057.
Looking for a different code? Search another status or error code.