SPM_BEGIN_DLL (Compact 2013)
3/26/2014
This message is sent to the DLL before a single test or group of tests from that DLL is executed. Send this message with the ShellProc function.
Parameters
- uMsg
SPM_BEGIN_DLL message.
- spParam
Not used for this message; set to NULL.
Return Values
Return SPR_HANDLED or SPR_NOT_HANDLED to continue loading the DLL. Return SPR_FAIL to stop further processing of the DLL and force it to be unloaded.
Remarks
Sending the SPM_BEGIN_DLL message gives the DLL time to initialize or allocate data for the tests that follow. Only the DLL that is scheduled to run next receives this message. The prior DLL, if any, first receives a SPM_END_DLL message.
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 |