Share via


TestProc

This function is a prototype that is used for all test cases listed in the module's function table. The following is the syntax for a test case function named TestProcExample.

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

None.

Remarks

TestProc functions should return TPR_NOT_HANDLED for all messages that are not handled. 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

Tux Architecture

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.