|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.util.FlagSet com.jniwrapper.win32.process.ProcessOptions
public class ProcessOptions
ProcessCreationOptions class represents options for process creation.
Field Summary | |
---|---|
static int |
CREATE_DEFAULT_ERROR_MODE
|
static int |
CREATE_FORCEDOS
|
static int |
CREATE_NEW_CONSOLE
|
static int |
CREATE_NEW_PROCESS_GROUP
|
static int |
CREATE_NO_WINDOW
|
static int |
CREATE_SHARED_WOW_VDM
|
static int |
CREATE_SUSPENDED
|
static int |
CREATE_UNICODE_ENVIRONMENT
|
static int |
SYNCHRONIZE
|
Constructor Summary | |
---|---|
ProcessOptions()
|
|
ProcessOptions(boolean createDefault)
|
|
ProcessOptions(long flags)
|
Method Summary | |
---|---|
boolean |
isDefaultErrorMode()
The new process does not inherit the error mode of the calling process. |
boolean |
isNewConsole()
The new process has a new console, instead of inheriting its parent's console (the default). |
boolean |
isNewProcessGroup()
The new process is the root process of a new process group. |
boolean |
isNoWindow()
This flag is valid only when starting a console application. |
boolean |
isSharedWOW_VDM()
The flag is valid only when starting a 16-bit Windows-based application. |
boolean |
isSuspended()
The primary thread of the new process is created in a suspended state. |
boolean |
isSynchronize()
Requires to wait for the process to terminate using the wait functions. |
boolean |
isUnicodeEnvironment()
Indicates the format of the Environment parameter. |
void |
setDefaultErrorMode(boolean value)
The new process does not inherit the error mode of the calling process. |
void |
setNewConsole(boolean value)
The new process has a new console, instead of inheriting its parent's console (the default). |
void |
setNewProcessGroup(boolean value)
The new process is the root process of a new process group. |
void |
setNoWindow(boolean value)
This flag is valid only when starting a console application. |
void |
setSharedWOW_VDM(boolean value)
The flag is valid only when starting a 16-bit Windows-based application. |
void |
setSuspended(boolean value)
The primary thread of the new process is created in a suspended state. |
void |
setSynchronize(boolean value)
Requires to wait for the process to terminate using the wait functions. |
void |
setUnicodeEnvironment(boolean value)
Indicates the format of the Environment parameter. |
Methods inherited from class com.jniwrapper.util.FlagSet |
---|
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CREATE_NO_WINDOW
public static final int CREATE_DEFAULT_ERROR_MODE
public static final int CREATE_NEW_CONSOLE
public static final int CREATE_NEW_PROCESS_GROUP
public static final int CREATE_SHARED_WOW_VDM
public static final int CREATE_SUSPENDED
public static final int CREATE_UNICODE_ENVIRONMENT
public static final int CREATE_FORCEDOS
public static final int SYNCHRONIZE
Constructor Detail |
---|
public ProcessOptions()
public ProcessOptions(long flags)
public ProcessOptions(boolean createDefault)
Method Detail |
---|
public void setNoWindow(boolean value)
public boolean isNoWindow()
public void setDefaultErrorMode(boolean value)
public boolean isDefaultErrorMode()
public void setNewConsole(boolean value)
public boolean isNewConsole()
public void setNewProcessGroup(boolean value)
public boolean isNewProcessGroup()
public void setSharedWOW_VDM(boolean value)
public boolean isSharedWOW_VDM()
public void setSuspended(boolean value)
public boolean isSuspended()
public void setUnicodeEnvironment(boolean value)
public boolean isUnicodeEnvironment()
public void setSynchronize(boolean value)
public boolean isSynchronize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |