Name
PySTARTUPINFO
Synopsis
A PySTARTUPINFO
represents a Win32
STARTUPINFO
structure. It’s created by the
function win32process.STARTUPINFO()
. Once created,
you can assign values to the attributes, then pass the object to
win32process.CreateProcess()
.
Methods
There are no methods.
Attributes
-
dwFlags
A bit field that determines whether certain
PySTARTUPINFO
attributes are used when the process creates a window. To use many of the additional attributes, you set the appropriate mask in this attribute and also set the attributes themselves.Any combination of the following values can be specified:
-
win32process.STARTF_FORCEONFEEDBACK
Indicates that the cursor is in feedback mode for two seconds after
CreateProcess()
is called. If during those two seconds the process makes the first GUI call, the system gives five more seconds to the process. If during those five seconds the process shows a window, the system gives five more seconds to the process to finish drawing the window.-
win32process.STARTF_FORCEOFFFEEDBACK
Indicates that the feedback cursor is forced off while the process is starting. The normal cursor is displayed.
-
win32process.STARTF_RUNFULLSCREEN
Indicates that the process should be run in full-screen mode, rather than in windowed mode. This flag is valid only for console applications running on an x86 computer.
-
win32process.STARTF_USECOUNTCHARS
If not specified, the
dwXCountChars
anddwYCountChars
attributes are ignored.-
win32process.STARTF_USEFILLATTRIBUTE
If not specified, the ...
-
Get Python Programming On Win32 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.