TestProc (Windows CE 5.0)
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.
TESTPROCAPI TestProcExample(UINTuMsg,TPPARAMtpParam,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
Returns SPR_NOT_HANDLED for all messages that are not handled.
Remarks
See Tuxdemo.cpp for sample TestProc implementations.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Tux.h.
Link Library: Coredll.lib.
See Also
Send Feedback on this topic to the authors