Win32_ProcessStartup, ROOT\CIMV2\ms_409

Class | Methods | Properties (14) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_ProcessStartup class represents the startup configuration of a Win32 process. The class is defined as a Method Type definition, which means that it is used only for passing information to a method (a procedure that provides access to an object's data).

Win32_ProcessStartup properties

Win32_ProcessStartup has 14 properties (14 Local)

NameOriginCIMType
CreateFlagsWin32_ProcessStartup19 [uint32]
EnvironmentVariablesWin32_ProcessStartup8 [string]
ErrorModeWin32_ProcessStartup18 [uint16]
FillAttributeWin32_ProcessStartup19 [uint32]
PriorityClassWin32_ProcessStartup19 [uint32]
ShowWindowWin32_ProcessStartup18 [uint16]
TitleWin32_ProcessStartup8 [string]
WinstationDesktopWin32_ProcessStartup8 [string]
XWin32_ProcessStartup19 [uint32]
XCountCharsWin32_ProcessStartup19 [uint32]
XSizeWin32_ProcessStartup19 [uint32]
YWin32_ProcessStartup19 [uint32]
YCountCharsWin32_ProcessStartup19 [uint32]
YSizeWin32_ProcessStartup19 [uint32]

Detailed description of Win32_ProcessStartup properties

Local properties (14) of Win32_ProcessStartup class

CreateFlags property
BitValues['Debug_Process', 'Debug_Only_This_Process', 'Create_Suspended', 'Detached_Process', 'Create_New_Console', 'Create_New_Process_Group', 'Create_Unicode_Environment', 'Create_Default_Error_Mode']
CIMTYPE'uint32'
Description'The CreateFlags property specifies additional values that control the priority class and the creation of the process. The following creation values can be specified in any combination, except as noted:
Create_Default_Error_Mode - Newly created processes are given the system default error mode of the calling process instead of inheriting the error mode of the parent process. This flag is useful for multi-threaded shell applications that run with hard errors disabled.
Create_New_Console - The new process has a new console, instead of inheriting the parent's console. This flag cannot be used with the Detached_Process flag.
Create_New_Process_Group - 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 (returned in the ProcessID property of the Win32_Process class). Process groups are used by the GenerateConsoleCtrlEvent function to enable sending a CTRL+C or CTRL+BREAK signal to a group of console processes.
Create_Suspended - The primary thread of the new process is created in a suspended state and does not run until the ResumeThread function is called.
Create_Unicode_Environment - The environment settings listed in the EnvironmentVariables property use Unicode characters. If clear, the environment block uses ANSI characters.
Debug_Process - 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. On Windows 95 and Windows 98 systems, this flag is not valid if the new process is a 16-bit application.
Debug_Only_This_Process - If not set and the calling process is being debugged, the new process becomes another process being debugged by the process of the calling debugger. If the calling process is not a process being debugged, no debugging related actions occur.
Detached_Process - For console processes, the new process does not have access to the console of the parent process. This flag cannot be used if the Create_New_Console flag is set.'
CreateFlags property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
EnvironmentVariables property
CIMTYPE'string'
Description'The EnvironmentVariables property contains a list of settings for the configuration of a computer. Environment variables specify search paths for files, directories for temporary files, application-specific options, and other similar information. The system maintains a block of environment settings for each user and one for the computer. The system environment block represents environment variables for all users of the particular computer. A user's environment block represents the environment variables the system maintains for that particular user, including the set of system environment variables. By default, each process receives a copy of the environment block for its parent process. Typically, this is the environment block for the user who is logged on. A process can specify different environment blocks for its child processes.'
EnvironmentVariables property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 6 namespaces
ErrorMode property
BitValues['Fail_Critical_Errors', 'No_GP_Fault_Error_Box', 'No_Alignment_Fault_Except', 'No_Open_File_Error_Box']
CIMTYPE'uint16'
Description'The ErrorMode property controls how the operating system handles several types of serious errors. You can specify that the operating system handle these errors or that the application receives and handles them. On some non-x86 processors, misaligned memory references cause an alignment fault exception. The No_Alignment_Fault_Except flag lets you control whether the system automatically fixes such alignment faults or makes them visible to an application. On a MIPS platform, an application must explicitly call SetErrorMode with the No_Alignment_Fault_Except flag to have the operating system automatically fix alignment faults. The default setting is for the operating system to make alignment faults visible to an application. Since the x86 platform does not make alignment faults visible to an application, the No_Alignment_Fault_Except flag will not make the operating system raise an alignment fault error even if the flag is not set. The default state for ErrorMode is to set all flags to 0. Defined values for this flag are are:
Fail_Critical_Errors - If this flag is set, the operating system does not display the critical-error-handler message box when such an error occurs. Instead, the operating system sends the error to the calling process.
No_Alignment_Fault_Except - (RISC only) If this flag is set, the operating system automatically fixes memory alignment faults and makes them invisible to the application. It does this for the calling process and any descendant processes. This flag has no effect on x86 processors.
No_GP_Fault_Error_Box - If this flag is set, the operating system does not display the general-protection-fault message box when such an error occurs. This flag should only be set by debugging applications that handle general protection (GP) faults themselves via an appropriate exception handler.
No_Open_File_Error_Box - If this flag is set, the operating system does not display a message box when it fails to find a file. Instead, the error is returned to the calling process. Note, this flag is currently ignored.'
ErrorMode property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 4 namespaces
FillAttribute property
BitValues['Foreground_Blue', 'Foreground_Green', 'Foreground_Red', 'Foreground_Intensity', 'Background_Blue', 'Background_Green', 'Background_Red', 'Background_Intensity']
CIMTYPE'uint32'
Description'The FillAttribute property specifies the initial text and background colors if a new console window is created in a console application. These values are ignored in GUI applications.'
FillAttribute property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 6 namespaces
PriorityClass property
CIMTYPE'uint32'
Description'The PriorityClass property controls the priority class of the new process (used to determine the scheduling priorities of the threads in the process). If the PriorityClass property is left null, the priority class defaults to Normal unless the priority class of the creating process is Idle or Below_Normal. In these cases, the child process receives the default priority class of the calling process. One of the following values can be specified:
High - 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. Only Realtime priority will preempt threads set to this level
Idle - 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.
Normal - Indicates a normal process with no special scheduling needs.
Realtime - 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, and high priority threads. 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.
Above_Normal - (Windows 2000 and later) Indicates a process that has priority higher than Normal but lower than High.
Below_Normal - (Windows 2000 and later): Indicates a process that has priority higher than Idle but lower than Normal.'
Values['Normal', 'Idle', 'High', 'Realtime', 'Below_Normal', 'Above_Normal']
PriorityClass property is in 2 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
ShowWindow property
CIMTYPE'uint16'
Description'The ShowWindow property specifies how the window is to be displayed to the user.'
Values['SW_HIDE', 'SW_NORMAL', 'SW_SHOWMINIMIZED', 'SW_SHOWMAXIMIZED', 'SW_SHOWNOACTIVATE', 'SW_SHOW', 'SW_MINIMIZE', 'SW_SHOWMINNOACTIVE', 'SW_SHOWNA', 'SW_RESTORE', 'SW_SHOWDEFAULT', 'SW_FORCEMINIMIZE']
ShowWindow property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
Title property
CIMTYPE'string'
Description'The Title property used for console processes contains the string displayed in the title bar if a new console window is created. If NULL, the name of the executable file is used as the window title instead. This property must be NULL for GUI or console processes that do not create a new console window.'
Title property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
WinstationDesktop property
CIMTYPE'string'
Description'(For Windows NT only) The WinstationDesktop property specifies either the name of the desktop only or the name of both the desktop and window station for the process. A backslash in the string indicates that the string includes both desktop and window station names. If WinstationDesktop is NULL, the new process inherits the desktop and window station of its parent process. If WinstationDesktop is an empty string, the process does not inherit the desktop and window station of its parent process; instead, the system determines if a new desktop and window station need to be created. A window station is a secure object that contains a clipboard, a set of global atoms and a group of desktop objects. The interactive window station assigned to the logon session of the interactive user also contains the keyboard, mouse, and display device. A desktop is a secure object contained within a window station. A desktop has a logical display surface and contains windows, menus, and hooks. A window station can have multiple desktops. Only the desktops of the interactive window station can be visible and receive user input. '
WinstationDesktop property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
X property
CIMTYPE'uint32'
Description'The X property specifies the x offset, in pixels, of the upper left corner of a window if a new window is created. The offsets are from the upper left corner of the screen. For GUI processes, the specified position is used the first time the new process calls CreateWindow to create an overlapped window if the x parameter of CreateWindow is CW_USEDEFAULT. Note, X and Y cannot be specified independently.'
X property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 5 namespaces
XCountChars property
CIMTYPE'uint32'
Description'The XCountChars property, used for processes creating a console window, specifies the screen buffer width in character columns. These values are ignored in GUI processes. Note, XCountChars and YCountChars cannot be specified independently.'
XCountChars property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
XSize property
CIMTYPE'uint32'
Description'The XSize property specifies the width, in pixels, of the window if a new window is created. For GUI processes, this is used only the first time the new process calls CreateWindow to create an overlapped window if the nWidth parameter of CreateWindow is CW_USEDEFAULT. Note, XSize and YSize cannot be specified independently.'
XSize property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 6 namespaces
Y property
CIMTYPE'uint32'
Description'The Y property specifies the y offset, in pixels, of the upper left corner of a window if a new window is created. The offsets are from the upper left corner of the screen. For GUI processes, the specified position is used the first time the new process calls CreateWindow to create an overlapped window if the y parameter of CreateWindow is CW_USEDEFAULT. Note, X and Y cannot be specified independently.'
Y property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 4 namespaces
YCountChars property
CIMTYPE'uint32'
Description'The YCountChars property, used for processes creating a console window, specifies the screen buffer height in character rows. These values are ignored in GUI processes. Note, XCountChars and YCountChars cannot be specified independently.'
YCountChars property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 2 namespaces
YSize property
CIMTYPE'uint32'
Description'The YSize property specifies the height, in pixels, of the window if a new window is created. For GUI processes, this is used only the first time the new process calls CreateWindow to create an overlapped window if the nWidth parameter of CreateWindow is CW_USEDEFAULT. Note, XSize and YSize cannot be specified independently.'
YSize property is in 1 class (Win32_ProcessStartup) of ROOT\CIMV2\ms_409 and in 6 namespaces

Win32_ProcessStartup Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'The Win32_ProcessStartup class represents the startup configuration of a Win32 process. The class is defined as a Method Type definition, which means that it is used only for passing information to a method (a procedure that provides access to an object's data).'
LOCALE1033

Win32_ProcessStartup System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_ProcessStartup'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_MethodParameterClass']___SYSTEM8
__PROPERTY_COUNT14___SYSTEM3
__RELPATH'Win32_ProcessStartup'___SYSTEM8
__DYNASTY'Win32_MethodParameterClass'___SYSTEM8
__SUPERCLASS'Win32_MethodParameterClass'___SYSTEM8
__CLASS'Win32_ProcessStartup'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_ProcessStartup

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_StartupCommand080----
comments powered by Disqus
WUtils.com