Custom Stress Module Functions (Windows CE 5.0)
In your test module, you must implement and export three required functions. Your dynamic-link library (DLL) must export an InitializeStressModule function, a DoStressIteration function, and a TerminateStressModule function. Optionally, your DLL can also export an InitializeTestThread function and a CleanupTestThread function.
The StressUtils.dll module exports functions that you can use to add functionality to your test. To use these functions, you must link your test module to the StressUtils.lib library. For information about the functions exported by the StressUtils.dll module, see Windows CE Stress Tool Functions.
The following table shows the functions that a test module can export.
Function | Description |
---|---|
CleanupTestThread | Optional. Called once before each test thread exits. The function is not required to complete an action. This function is provided for test cleanup purposes only. |
DoStressIteration | Required. Main function for a test module. |
InitializeStressModule | Required. Initializes the test module. |
InitializeTestThread | Optional. Called once at the beginning of each test thread. This function is provided for test-specific initialization only. |
TerminateStressModule | Required. Called once before a test module exits. This function is provided for test cleanup purposes only. |
See Also
Custom Module Creation for the Windows CE Stress Tool
Send Feedback on this topic to the authors