Commit 705e7d70 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Added STATUS_* constant for named pipes. Return STATUS_PIPE_NOT_AVAILABLE

when opening a named pipe if the pipe exists but no instances of it are currently waiting for a connection.
parent 5f258c68
......@@ -1629,7 +1629,17 @@ __DEFINE_SET_SEG(gs)
#define STATUS_INTEGER_DIVIDE_BY_ZERO 0xC0000094
#define STATUS_INTEGER_OVERFLOW 0xC0000095
#define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096
#define STATUS_MEDIA_WRITE_PROTECTED 0XC00000A2
#define STATUS_MEDIA_WRITE_PROTECTED 0xC00000A2
#define STATUS_INSTANCE_NOT_AVAILABLE 0xC00000AB
#define STATUS_PIPE_NOT_AVAILABLE 0xC00000AC
#define STATUS_INVALID_PIPE_STATE 0xC00000AD
#define STATUS_PIPE_BUSY 0xC00000AE
#define STATUS_ILLEGAL_FUNCTION 0xC00000AF
#define STATUS_PIPE_DISCONNECTED 0xC00000B0
#define STATUS_PIPE_CLOSING 0xC00000B1
#define STATUS_PIPE_CONNECTED 0xC00000B2
#define STATUS_PIPE_LISTENING 0xC00000B3
#define STATUS_INVALID_READ_MODE 0xC00000B4
#define STATUS_INVALID_PARAMETER_2 0xC00000F0
#define STATUS_STACK_OVERFLOW 0xC00000FD
#define STATUS_DIRECTORY_NOT_EMPTY 0xC0000101
......
......@@ -264,7 +264,7 @@ DECL_HANDLER(open_named_pipe)
release_object( partner );
}
else {
set_error(STATUS_NO_SUCH_FILE);
set_error(STATUS_PIPE_NOT_AVAILABLE);
}
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment