server: Remove no longer used create_flags from get_startup_info request.

This commit is contained in:
Alexandre Julliard 2006-02-05 12:33:24 +01:00
parent 626669e1e3
commit 2a36dd239c
5 changed files with 1 additions and 8 deletions

View File

@ -65,7 +65,6 @@ static DWORD shutdown_flags = 0;
static DWORD shutdown_priority = 0x280;
static DWORD process_dword;
int main_create_flags = 0;
HMODULE kernel32_handle = 0;
const WCHAR *DIR_Windows = NULL;
@ -752,7 +751,6 @@ static BOOL init_user_process_params( RTL_USER_PROCESS_PARAMETERS *params )
if ((ret = !wine_server_call( req )))
{
info_size = wine_server_reply_size( reply );
main_create_flags = reply->create_flags;
main_exe_file = reply->exe_file;
hstdin = reply->hstdin;
hstdout = reply->hstdout;

View File

@ -247,7 +247,6 @@ struct get_startup_info_request
struct get_startup_info_reply
{
struct reply_header __header;
unsigned int create_flags;
obj_handle_t exe_file;
obj_handle_t hstdin;
obj_handle_t hstdout;
@ -4345,6 +4344,6 @@ union generic_reply
struct query_symlink_reply query_symlink_reply;
};
#define SERVER_PROTOCOL_VERSION 222
#define SERVER_PROTOCOL_VERSION 223
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */

View File

@ -946,8 +946,6 @@ DECL_HANDLER(get_startup_info)
if (!info) return;
reply->create_flags = info->create_flags;
if (info->exe_file &&
!(reply->exe_file = alloc_handle( process, info->exe_file, GENERIC_READ, 0 ))) return;

View File

@ -243,7 +243,6 @@ struct security_descriptor
/* Retrieve the new process startup info */
@REQ(get_startup_info)
@REPLY
unsigned int create_flags; /* creation flags */
obj_handle_t exe_file; /* file handle for main exe */
obj_handle_t hstdin; /* handle for stdin */
obj_handle_t hstdout; /* handle for stdout */

View File

@ -624,7 +624,6 @@ static void dump_get_startup_info_request( const struct get_startup_info_request
static void dump_get_startup_info_reply( const struct get_startup_info_reply *req )
{
fprintf( stderr, " create_flags=%08x,", req->create_flags );
fprintf( stderr, " exe_file=%p,", req->exe_file );
fprintf( stderr, " hstdin=%p,", req->hstdin );
fprintf( stderr, " hstdout=%p,", req->hstdout );