Share via


SPM_EXCEPTION (Windows Embedded CE 6.0)

1/6/2010

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.

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

Header tux.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

ShellProc Messages