#NEWLINE# @ Kernel32Proxy ( 'CreateProcessW' ) #NEWLINE# def CreateProcessW( lpApplicationName , lpCommandLine = None , lpProcessAttributes = None , lpThreadAttributes = None , bInheritHandles = False , dwCreationFlags = 0 , lpEnvironment = None , lpCurrentDirectory = None , lpStartupInfo = None , lpProcessInformation = None ) : #NEWLINE# #INDENT# if ( lpStartupInfo is None ) : #NEWLINE# #INDENT# StartupInfo = STARTUPINFOW ( ) #NEWLINE# StartupInfo . cb = ctypes . sizeof ( StartupInfo ) #NEWLINE# StartupInfo . dwFlags = STARTF_USESHOWWINDOW #NEWLINE# StartupInfo . wShowWindow = SW_HIDE #NEWLINE# lpStartupInfo = ctypes . byref ( StartupInfo ) #NEWLINE# #UNINDENT# if ( lpProcessInformation is None ) : #NEWLINE# #INDENT# lpProcessInformation = ctypes . byref ( PROCESS_INFORMATION ( ) ) #NEWLINE# #UNINDENT# return CreateProcessW . ctypes_function ( lpApplicationName , lpCommandLine , lpProcessAttributes , lpThreadAttributes , bInheritHandles , dwCreationFlags , lpEnvironment , lpCurrentDirectory , lpStartupInfo , lpProcessInformation )