Module Expr Str Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A 
This is a mock win32process module.

The purpose of this module is mock process creation for the PID test.

CreateProcess(...) will spawn a process, and always return a PID of 42.
 N/A win32process N/A GetExitCodeProcess N/A win32process GetExitCodeProcess N/A STARTUPINFO N/A win32process STARTUPINFO N/A STARTF_USESTDHANDLES N/A win32process STARTF_USESTDHANDLES CreateProcess N/A N/A appName cmdline procSecurity threadSecurity inheritHandles newEnvironment env workingDir startupInfo N/A N/A N/A 
    This function mocks the generated pid aspect of the win32.CreateProcess
    function.
      - the true win32process.CreateProcess is called
      - return values are harvested in a tuple.
      - all return values from createProcess are passed back to the calling
        function except for the pid, the returned pid is hardcoded to 42
     N/A N/A hProcess hThread dwPid dwTid N/A N/A win32process CreateProcess appName cmdline procSecurity threadSecurity inheritHandles newEnvironment env workingDir startupInfo N/A dwPid 42 N/A N/A hProcess hThread dwPid dwTid N/A