TestProc (Compact 2013)
3/26/2014
This function is a prototype that is used for all test cases listed in the test module's function table. The following is the syntax for a test case function named TestProcExample.
Syntax
TESTPROCAPI TestProcExample(
UINT uMsg,
TPPARAM tpParam,
LPFUNCTION_TABLE_ENTRY lpFTE
)
Parameters
- uMsg
TestProc functions are always called with known defined message value in the uMsg parameter.
- tpParam
Dependent on the uMsg parameter and is usually a pointer to a structure for that message type.
- lpFTE
Pointer to the DLL's global function table array, which represents the current test. From this pointer, the DLL file can reference all fields in the function table entry, such as the lpDescription, dwUserData and dwUniqueID.
Return Values
For a list of return values, see TestProc Return Values. This function returns TPR_NOT_HANDLED for all messages that are not handled.
Requirements
Header |
tux.h |
Library |
coredll.lib |