Fixed string type in named pipe requests.

This commit is contained in:
Alexandre Julliard 2001-12-31 22:26:51 +00:00
parent f9e4e9df62
commit 8ae5761dd0
3 changed files with 15 additions and 15 deletions

View File

@ -2211,7 +2211,7 @@ struct create_named_pipe_request
unsigned int outsize; unsigned int outsize;
unsigned int insize; unsigned int insize;
unsigned int timeout; unsigned int timeout;
/* VARARG(filename,string); */ /* VARARG(name,unicode_str); */
}; };
struct create_named_pipe_reply struct create_named_pipe_reply
{ {
@ -2225,7 +2225,7 @@ struct open_named_pipe_request
{ {
struct request_header __header; struct request_header __header;
unsigned int access; unsigned int access;
/* VARARG(filename,string); */ /* VARARG(name,unicode_str); */
}; };
struct open_named_pipe_reply struct open_named_pipe_reply
{ {
@ -2255,7 +2255,7 @@ struct wait_named_pipe_request
unsigned int timeout; unsigned int timeout;
void* overlapped; void* overlapped;
void* func; void* func;
/* VARARG(filename,string); */ /* VARARG(name,unicode_str); */
}; };
struct wait_named_pipe_reply struct wait_named_pipe_reply
{ {
@ -3038,6 +3038,6 @@ union generic_reply
struct get_window_properties_reply get_window_properties_reply; struct get_window_properties_reply get_window_properties_reply;
}; };
#define SERVER_PROTOCOL_VERSION 67 #define SERVER_PROTOCOL_VERSION 68
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */ #endif /* __WINE_WINE_SERVER_PROTOCOL_H */

View File

@ -1552,7 +1552,7 @@ enum message_type
unsigned int outsize; unsigned int outsize;
unsigned int insize; unsigned int insize;
unsigned int timeout; unsigned int timeout;
VARARG(filename,string); /* pipe name */ VARARG(name,unicode_str); /* pipe name */
@REPLY @REPLY
handle_t handle; /* handle to the pipe */ handle_t handle; /* handle to the pipe */
@END @END
@ -1561,7 +1561,7 @@ enum message_type
/* Open an existing named pipe */ /* Open an existing named pipe */
@REQ(open_named_pipe) @REQ(open_named_pipe)
unsigned int access; unsigned int access;
VARARG(filename,string); /* pipe name */ VARARG(name,unicode_str); /* pipe name */
@REPLY @REPLY
handle_t handle; /* handle to the pipe */ handle_t handle; /* handle to the pipe */
@END @END
@ -1580,7 +1580,7 @@ enum message_type
unsigned int timeout; unsigned int timeout;
void* overlapped; void* overlapped;
void* func; void* func;
VARARG(filename,string); /* pipe name */ VARARG(name,unicode_str); /* pipe name */
@END @END

View File

@ -1756,8 +1756,8 @@ static void dump_create_named_pipe_request( const struct create_named_pipe_reque
fprintf( stderr, " outsize=%08x,", req->outsize ); fprintf( stderr, " outsize=%08x,", req->outsize );
fprintf( stderr, " insize=%08x,", req->insize ); fprintf( stderr, " insize=%08x,", req->insize );
fprintf( stderr, " timeout=%08x,", req->timeout ); fprintf( stderr, " timeout=%08x,", req->timeout );
fprintf( stderr, " filename=" ); fprintf( stderr, " name=" );
dump_varargs_string( cur_size ); dump_varargs_unicode_str( cur_size );
} }
static void dump_create_named_pipe_reply( const struct create_named_pipe_reply *req ) static void dump_create_named_pipe_reply( const struct create_named_pipe_reply *req )
@ -1768,8 +1768,8 @@ static void dump_create_named_pipe_reply( const struct create_named_pipe_reply *
static void dump_open_named_pipe_request( const struct open_named_pipe_request *req ) static void dump_open_named_pipe_request( const struct open_named_pipe_request *req )
{ {
fprintf( stderr, " access=%08x,", req->access ); fprintf( stderr, " access=%08x,", req->access );
fprintf( stderr, " filename=" ); fprintf( stderr, " name=" );
dump_varargs_string( cur_size ); dump_varargs_unicode_str( cur_size );
} }
static void dump_open_named_pipe_reply( const struct open_named_pipe_reply *req ) static void dump_open_named_pipe_reply( const struct open_named_pipe_reply *req )
@ -1789,8 +1789,8 @@ static void dump_wait_named_pipe_request( const struct wait_named_pipe_request *
fprintf( stderr, " timeout=%08x,", req->timeout ); fprintf( stderr, " timeout=%08x,", req->timeout );
fprintf( stderr, " overlapped=%p,", req->overlapped ); fprintf( stderr, " overlapped=%p,", req->overlapped );
fprintf( stderr, " func=%p,", req->func ); fprintf( stderr, " func=%p,", req->func );
fprintf( stderr, " filename=" ); fprintf( stderr, " name=" );
dump_varargs_string( cur_size ); dump_varargs_unicode_str( cur_size );
} }
static void dump_disconnect_named_pipe_request( const struct disconnect_named_pipe_request *req ) static void dump_disconnect_named_pipe_request( const struct disconnect_named_pipe_request *req )