Custom Stress Module Functions
Other versions of this page are also available for the following:
8/27/2008
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, seeWindows Embedded CE Stress Tool Functions.
In This Section
A test module can export the following functions.
- 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
Other Resources
Custom Module Creation for the Windows Embedded CE Stress Tool