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.

52 lines
1.4 KiB

  1. /*****************************************************************************/
  2. /* */
  3. /* ICAPEXP.H -- Exports from ICAP.DLL */
  4. /* */
  5. /* Copyright (C) 1995 by Microsoft Corp. */
  6. /* All rights reserved */
  7. /* */
  8. /*****************************************************************************/
  9. #ifndef __ICAPEXP_H__
  10. #define __ICAPEXP_H__
  11. #ifndef PROFILE
  12. #define PROFILE 1 // define this as zero to macro-out the API
  13. #endif
  14. #if PROFILE
  15. #ifdef __cplusplus
  16. extern "C"
  17. {
  18. #endif
  19. int __stdcall StartCAP(void); // start profiling
  20. int __stdcall StopCAP(void); // stop profiling until StartCAP
  21. int __stdcall SuspendCAP(void); // suspend profiling until ResumeCAP
  22. int __stdcall ResumeCAP(void); // resume profiling
  23. int __stdcall StartCAPAll(void); // process-wide start profiling
  24. int __stdcall StopCAPAll(void); // process-wide stop profiling
  25. int __stdcall SuspendCAPAll(void); // process-wide suspend profiling
  26. int __stdcall ResumeCAPAll(void); // process-wide resume profiling
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #else // NOT PROFILE
  31. #define StartCAP() 0
  32. #define StopCAP() 0
  33. #define SuspendCAP() 0
  34. #define ResumeCAP() 0
  35. #define StartCAPAll() 0
  36. #define StopCAPAll() 0
  37. #define SuspendCAPAll() 0
  38. #define ResumeCAPAll() 0
  39. #endif // NOT PROFILE
  40. #endif // __ICAPEXP_H__