indexing description: "Constants for `create_process' from WEL_WINDOWS_ROUTINES." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class WEL_PROCESS_CREATION_CONSTANTS feature -- Access create_default_error_mode: INTEGER is -- New process does not inherit error mode of calling process but use default error mode. external "C [macro ]" alias "CREATE_DEFAULT_ERROR_MODE" end create_new_console: INTEGER is -- New process has a new console, instead of inheriting parent's console. external "C [macro ]" alias "CREATE_NEW_CONSOLE" end create_new_process_group: INTEGER is -- New process is root process of a new process group. external "C [macro ]" alias "CREATE_NEW_PROCESS_GROUP" end create_no_window: INTEGER is 0x08000000 -- New process is console application run without console window. -- Valid only when starting console application. -- Windows Me/98/95: Not supported. detached_process: INTEGER is -- For console processes, new process does not have access to parent's console. external "C [macro ]" alias "DETACHED_PROCESS" end is_valid_creation_constant (a_constant: INTEGER): BOOLEAN is -- Is `a_constant' a valid process creation constant? do Result := a_constant = (a_constant & (create_default_error_mode | create_new_console | create_new_process_group | detached_process | create_no_window)) Result := Result and ((a_constant & (create_new_console | detached_process)) /= (create_new_console | detached_process)) end end -- class WEL_PROCESS_CREATION_CONSTANTS --|---------------------------------------------------------------- --| Windows Eiffel Library: library of reusable components for ISE Eiffel. --| Copyright (C) 1985-2004 Eiffel Software. All rights reserved. --| Duplication and distribution prohibited. May be used only with --| ISE Eiffel, under terms of user license. --| Contact Eiffel Software for any other use. --| --| Interactive Software Engineering Inc. --| dba Eiffel Software --| 356 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Contact us at: http://www.eiffel.com/general/email.html --| Customer support: http://support.eiffel.com --| For latest info on our award winning products, visit: --| http://www.eiffel.com --|----------------------------------------------------------------