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.

85 lines
3.1 KiB

  1. #if !defined(AFX_COLLECTIONCONTROL_H__74C9CD33_EC48_11D2_826A_0008C75BFC19__INCLUDED_)
  2. #define AFX_COLLECTIONCONTROL_H__74C9CD33_EC48_11D2_826A_0008C75BFC19__INCLUDED_
  3. //***************************************************************************
  4. //
  5. // judyp May 1999
  6. //
  7. //***************************************************************************
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. int StartTraceAPI
  12. (
  13. IN LPTSTR lptstrAction, // For logging only.
  14. IN LPCTSTR pctstrDataFile, // For logging only.
  15. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  16. IN bool bLogExpected, // If true we log expected vs actual result.
  17. IN OUT TCOData *pstructTCOData, // TCO test data.
  18. OUT int *pAPIReturn // StartTrace API call return
  19. );
  20. int StopTraceAPI
  21. (
  22. IN LPTSTR lptstrAction, // For logging only.
  23. IN LPCTSTR pctstrDataFile, // For logging only.
  24. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  25. IN bool bLogExpected, // If true we log expected vs actual result.
  26. IN bool bUseTraceHandle, // If true use the handle.
  27. IN OUT TCOData *pstructTCOData, // TCO test data.
  28. OUT int *pAPIReturn // StopTrace API call return
  29. );
  30. // Enable all Guids
  31. int EnableTraceAPI
  32. (
  33. IN LPTSTR lptstrAction, // For logging only.
  34. IN LPCTSTR pctstrDataFile, // For logging only.
  35. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  36. IN bool bLogExpected, // If true we log expected vs actual result.
  37. IN OUT TCOData *pstructTCOData, // TCO test data.
  38. OUT int *pAPIReturn // EnableTrace API call return
  39. );
  40. // Only enable one Guid
  41. int EnableTraceAPI
  42. (
  43. IN LPTSTR lptstrAction, // For logging only.
  44. IN LPCTSTR pctstrDataFile, // For logging only.
  45. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  46. IN bool bLogExpected, // If true we log expected vs actual result.
  47. IN int nGuidIndex, // Index or if -1 use Guid from WNode.
  48. IN OUT TCOData *pstructTCOData, // TCO test data.
  49. OUT int *pAPIReturn // EnableTrace API call return
  50. );
  51. int QueryTraceAPI
  52. (
  53. IN LPTSTR lptstrAction, // For logging only.
  54. IN LPCTSTR pctstrDataFile, // For logging only.
  55. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  56. IN bool bLogExpected, // If true we log expected vs actual result.
  57. IN bool bUseTraceHandle, // If true use the handle.
  58. IN OUT TCOData *pstructTCOData, // TCO test data.
  59. OUT int *pAPIReturn // QueryTrace API call return
  60. );
  61. int UpdateTraceAPI
  62. (
  63. IN LPTSTR lptstrAction, // For logging only.
  64. IN LPCTSTR pctstrDataFile, // For logging only.
  65. IN LPCTSTR lpctstrTCODetailFile, // If valid we will log to it, can be NULL.
  66. IN bool bLogExpected, // If true we log expected vs actual result.
  67. IN bool bUseTraceHandle, // If true use the handle.
  68. IN OUT TCOData *pstructTCOData, // TCO test data.
  69. OUT int *pAPIReturn // UpdateTrace API call return
  70. );
  71. int QueryAllTracesAPI
  72. (
  73. IN LPTSTR lptstrAction, // For logging only.
  74. OUT int *pAPIReturn // QueryAllTraces API call return
  75. );
  76. #endif // !defined(AFX_COLLECTIONCONTROL_H__74C9CD33_EC48_11D2_826A_0008C75BFC19__INCLUDED_)