SPM_END_DLL (Compact 2013)
3/26/2014
This message is sent to the DLL after a group of tests from that DLL has finished running. Send this message with the ShellProc function.
Parameters
- uMsg
SPM_END_DLL message.
- spParam
Not used for this message; set to NULL.
Return Values
Return SPR_HANDLED or SPR_NOT_HANDLED to continue.
Remarks
Sending the SPM_END_DLL message gives the DLL time to clean up after it has run. This message does not imply that the DLL will not be called again; it signifies that the next test to run belongs to a different DLL or that there are no more tests to run.
SPM_BEGIN_DLL and SPM_END_DLL are used to inform test modules when they receive or lose execution focus. If more than one test is scheduled to run consecutively for a DLL, that DLL receives an SPM_BEGIN_DLL before the first test and an SPM_END_DLL after the final test in the group of tests.
For global initialization and de-initialization, the DLL must use SPM_START_SCRIPT and SPM_STOP_SCRIPT, or SPM_LOAD_DLL and SPM_UNLOAD_DLL.
Requirements
Header |
tux.h |