Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
837 B

  1. #ifndef PROFILE_H
  2. #define PROFILE_H
  3. #include "skeltest.h"
  4. #define PRFL_NO_ERROR 0
  5. #define PRFL_ERROR_OPENFILE 1
  6. #define PRFL_ERROR_LOADFILE 2
  7. #define PRFL_ERROR_FILESEEK 3
  8. #define PRFL_ERROR_CLOSEFILE 4
  9. #define PRFL_ERROR_UNKNOWN_TYPE 5
  10. typedef void void_void(void);
  11. BOOL prfl_RegisterClass(HINSTANCE hInstance);
  12. /*
  13. * if *piError is 0, then no error, cast prfl_Autoload to SkeletonTest*
  14. * if *piError is not 0, then error, cast prfl_Autoload to char* for message
  15. */
  16. void *prfl_AutoLoad(const char *szFileName, int *piError);
  17. BOOL prfl_StartTest(SkeletonTest *ptest, LPCTSTR lpzWinName, void_void EndFn);
  18. BOOL prfl_StopTest(void);
  19. BOOL prfl_TestRunning(void);
  20. double prfl_GetCount(void);
  21. double prfl_GetDuration(void);
  22. char * prfl_GetTestStatName(void);
  23. double prfl_GetResult(void);
  24. #endif // PROFILE_H