action (ULONG) - input

      Ends the process and all of its threads.

      The values of this field are as follows:

    • EXIT_THREAD
      The current thread ends.

    • EXIT_PROCESS
      All threads in the process end.

    result (ULONG) - input

      Program's completion code.

      It is passed to any thread that issues DosWaitChild for this process.

      Note: Although result is a 32-bit parameter, the current release only permits the low 16 bits to be used. This means result must be <= 0xFFFF and implies that returning a 32-bit value (including NULL) is not possible.

      Return Code.

      DosExit returns no values.


    [Back] [Next]