codeTerminate (ULONG)

      Termination code or process identifier.

      For asynchronous requests, this field contains the process identifier of the child process. For synchronous requests, this field contains the termination code furnished by the system describing why the child process ended. The values of the termination code are shown in the following list:

    • TC_EXIT
      Normal exit.

    • TC_HARDERROR
      Hard-error halt

    • TC_TRAP
      Trap operation for a 16-bit child process

    • TC_KILLPROCESS
      Unintercepted DosKillProcess

    • TC_EXCEPTION
      Exception operation for a 32-bit child process


    [Back] [Next]