| Previous | Next |
| STATUS_PIPE_LISTENING | STATUS_IO_TIMEOUT |
STATUS_INVALID_READ_MODE
The pipe read mode does not match the operation
Inspect the pipe type and the read mode configured on the specific handle. Message-read mode requires compatible pipe semantics; changing only buffer size does not correct a mode mismatch.
Named pipes can be byte-type or message-type, and handles can use byte or message read mode within the rules of the pipe type. This status indicates that the requested read behavior requires a mode the handle does not have.
What to inspect
- Check PIPE_TYPE_MESSAGE versus PIPE_READMODE_MESSAGE.
- Use SetNamedPipeHandleState only with a compatible pipe type.
- Verify both ends agree about byte-stream versus message semantics.
References for STATUS_INVALID_READ_MODE
Looking for a different code? Search another status or error code.