Leaked source code of windows server 2003
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.

103 lines
1.7 KiB

  1. #ifndef _ISCAPTRC_H
  2. #define _ISCAPTRC_H
  3. /*++
  4. Copyright (c) 1998 Microsoft Corporation
  5. Module Name:
  6. iscaptrc.h
  7. Abstract:
  8. Include file to contain variables required for capacity planning tracing
  9. of IIS.
  10. Author:
  11. 07-Nov-1998 SaurabN
  12. Revision History:
  13. --*/
  14. //
  15. //
  16. //
  17. #include <nt.h>
  18. #include <ntrtl.h>
  19. #include <nturtl.h>
  20. #include <windows.h>
  21. #include <wtypes.h>
  22. #ifdef __cplusplus
  23. extern "C"
  24. {
  25. #endif // __cplusplus
  26. #include <wmistr.h>
  27. #include <evntrace.h>
  28. #ifdef __cplusplus
  29. }
  30. #endif // __cplusplus
  31. # if !defined( dllexp)
  32. # define dllexp __declspec( dllexport)
  33. # endif // !defined( dllexp)
  34. dllexp
  35. ULONG
  36. _stdcall
  37. IISInitializeCapTrace(
  38. PVOID Param
  39. );
  40. dllexp
  41. DWORD
  42. GetIISCapTraceFlag();
  43. dllexp
  44. TRACEHANDLE
  45. GetIISCapTraceLoggerHandle();
  46. dllexp
  47. VOID
  48. SetIISCapTraceFlag(DWORD dwFlag);
  49. typedef struct _IIS_CAP_TRACE_HEADER
  50. {
  51. EVENT_TRACE_HEADER TraceHeader;
  52. MOF_FIELD TraceContext;
  53. } IIS_CAP_TRACE_HEADER, *PIIS_CAP_TRACE_HEADER;
  54. typedef struct _IIS_CAP_TRACE_INFO
  55. {
  56. IIS_CAP_TRACE_HEADER IISCapTraceHeader;
  57. MOF_FIELD MofFields[3];
  58. } IIS_CAP_TRACE_INFO, *PIIS_CAP_TRACE_INFO;
  59. #endif /* _ISCAPTRC_H*/
  60. #define IIS_CAP_TRACE_VERSION 1
  61. //
  62. // This is the control Guid for the group of Guids traced below
  63. //
  64. // {7380A4C4-7911-11d2-8BD7-080009DCC2FA}
  65. DEFINE_GUID(IISCapControlGuid,
  66. 0x7380a4c4, 0x7911, 0x11d2, 0x8b, 0xd7, 0x8, 0x0, 0x9, 0xdc, 0xc2, 0xfa);
  67. //
  68. // This is the trace guid
  69. //
  70. // {7380A4C5-7911-11d2-8BD7-080009DCC2FA}
  71. DEFINE_GUID(IISCapTraceGuid,
  72. 0x7380a4c5, 0x7911, 0x11d2, 0x8b, 0xd7, 0x8, 0x0, 0x9, 0xdc, 0xc2, 0xfa);