Share via


SPM_EXCEPTION (Windows CE 5.0)

Send Feedback

This message is sent to the DLL whenever code execution in the DLL causes an exception fault. Tux traps all exceptions that occur while executing code inside a test DLL.

Parameters

  • uMsg
    SPM_EXCEPTION message.
  • spParam
    Pointer to a SPS_EXCEPTION structure.

Return Values

Return SPR_HANDLED or SPR_NOT_HANDLED to continue. You can also affect how the exception is handled by changing the dwExceptionValue member of the SPS_EXCEPTION structure.

Remarks

The SPM_EXCEPTION message is sent to ShellProc whenever code in your DLL raises an exception. These exceptions can occur in a TestProc function, as well as from code in ShellProc. The message is sent during the actual filtering of the exception. This allows you to modify the exception context and also decide how the exception is to be handled. By default, the exception will be caught and handled, and the next test script, if any, will begin running.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Tux.h.

See Also

Tux Architecture | ShellProc | TestProc | SPS_EXCEPTION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.