Specifies additional flags that control the priority class and the creation of the process. The following creation flags can be specified in any combination, except as noted
pcfNone = &H0 | 0 | Default |
pcfDEBUG_PROCESS = &H1 | 1 | If this flag is set, the calling process is treated as a debugger, and the new process is a process being debugged. The system notifies the debugger of all debug events that occur in the process being debugged. |
pcfDEBUG_ONLY_THIS_PROCESS = &H2 | 2 | If not set and the calling process is being debugged, the new process becomes another process being debugged by the calling process’s debugger. If the calling process is not a process being debugged, no debugging-related actions occur. |
pcfCREATE_SUSPENDED = &H4 | 4 | The primary thread of the new process is created in a suspended state, and does not run until the ResumeThread function is called. |
pcfDETACHED_PROCESS = &H8 | 8 | For console processes, the new process does not have access to the console of the parent process. The new process can call the AllocConsole function at a later time to create a new console. This flag cannot be used with the CREATE_NEW_CONSOLE flag. |
pcfCREATE_NEW_CONSOLE = &H10 | 16 | The new process has a new console, instead of inheriting the parent’s console. This flag cannot be used with the DETACHED_PROCESS flag. |
pcfNORMAL_PRIORITY_CLASS = &H20 | 32 | Indicates a normal process with no special scheduling needs. |
pcfIDLE_PRIORITY_CLASS = &H40 | 64 | Indicates a process whose threads run only when the system is idle and are preempted by the threads of any process running in a higher priority class. An example is a screen saver. The idle priority class is inherited by child processes. |
pcfHIGH_PRIORITY_CLASS = &H80 | 128 | Indicates a process that performs time-critical tasks that must be executed immediately for it to run correctly. The threads of a high-priority class process preempt the threads of normal-priority or idle-priority class processes. An example is Windows Task List, which must respond quickly when called by the user, regardless of the load on the operating system. Use extreme care when using the high-priority class, because a high-priority class CPU-bound application can use nearly all available cycles. |
pcfREALTIME_PRIORITY_CLASS = &H100 | 256 | Indicates a process that has the highest possible priority. The threads of a real-time priority class process preempt the threads of all other processes, including operating system processes performing important tasks. For example, a real-time process that executes for more than a very brief interval can cause disk caches not to flush or cause the mouse to be unresponsive. |
pcfCREATE_NEW_PROCESS_GROUP = &H200 | 512 | The new process is the root process of a new process group. The process group includes all processes that are descendants of this root process. The process identifier of the new process group is the same as the process identifier, which is returned in the ProcessInformation parameter. |
pcfCREATE_UNICODE_ENVIRONMENT = &H400 | 1 024 | If set, the environment block pointed to by lpEnvironment uses Unicode characters. If clear, the environment block uses ANSI characters. This flag is set by default. |
pcfCREATE_SEPARATE_WOW_VDM = &H800 | 2 048 | This flag is valid only when starting a 16-bit Windows-based application. If set, the new process is run in a private Virtual DOS Machine (VDM). By default, all 16-bit Windows-based applications are run as threads in a single, shared VDM. The advantage of running separately is that a crash only kills the single VDM; any other programs running in distinct VDMs continue to function normally. Also, 16-bit Windows-based applications that are run in separate VDMs have separate input queues. That means that if one application hangs momentarily, applications in separate VDMs continue to receive input. |
pcfCREATE_SHARED_WOW_VDM = &H1000 | 4 096 | The flag is valid only when starting a 16-bit Windows-based application. If the DefaultSeparateVDM switch in the Windows section of WIN.INI is TRUE, this flag causes the CreateProcess function to override the switch and run the new process in the shared Virtual DOS Machine. |
pcfCREATE_FORCEDOS = &H2000 | 8 192 | |
pcfCREATE_DEFAULT_ERROR_MODE = &H4000000 | 67 108 864 | The new process does not inherit the error mode of the calling process. Instead, CreateProcess gives the new process the current default error mode. |
pcfCREATE_NO_WINDOW = &H8000000 | 134 217 728 |
Kernel, ByteArray, Process, Thread, Advapi, INIFile, ZLib, LogFile, ASPForm, FormFields, FormField, FormParser, ProgressInfo
ProcessCreationFlags, ThreadPriorities, PriorityClasses, LogonTypes, ConvertCodePages, OutputTypes, ZLibCompressLevels, ConvertTypes, LogLineEncodes, LogLineBeginTypes, FormStates, eFormType
Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.
© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz