| Previous | Next |
| STATUS_PIPE_NOT_AVAILABLE | STATUS_PIPE_BUSY |
STATUS_INVALID_PIPE_STATE
The operation does not match the current pipe state
Capture the pipe endpoint state immediately before the rejected operation. Connect, listen, read, write, and disconnect calls are valid only in the corresponding portions of the instance lifecycle.
Named pipes move through listening, connected, closing, and disconnected states. This status means the handle is real, but the requested operation is not valid in the current state.
What to inspect
- Check whether ConnectNamedPipe, DisconnectNamedPipe, read, or write was called in the wrong order.
- Record both server and client handle states.
- Look for races between overlapped completion and cleanup.
References for STATUS_INVALID_PIPE_STATE
Looking for a different code? Search another status or error code.