phandler (PEXCEPTIONREGISTRATIONRECORD) - input

      A pointer to the exception registration record that describes the exception handler to be unregistered.

      This parameter can have one of the following values:

      Address

        A pointer to the exception registration record where the unwind operation should stop.
      0
        UNWIND_ALL
        An exit unwind operation is performed. This removes all exception handlers from the thread, and ends the thread.
      -1
        END_OF_CHAIN
        All exception handlers for the thread are unwound.

      pTargetIP (PVOID) - input

        A pointer to where DosUnwindException branches after calling all applicable handlers.

      pERepRec (PEXCEPTIONREPORTRECORD) - input

        An optional pointer to an exception record.

        Set this field to zero if it is not used.

      ulrc (APIRET) - returns

        Return Code.

        DosUnwindException returns one of the following values:

      • NO_ERROR 1
          ERROR_INVALID_FUNCTION
        For a full list of error codes, see Errors.


      [Back] [Next]