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.

94 lines
6.4 KiB

  1. /****************************************************************************/
  2. /* */
  3. /* ntrcapi.h */
  4. /* */
  5. /* DC-Groupware tracing API header - Windows NT specifc */
  6. /* */
  7. /* Copyright(c) Microsoft 1996 */
  8. /* */
  9. /****************************************************************************/
  10. /* Changes: */
  11. /* */
  12. /* 07Oct96 PAB Created Millennium codebase. */
  13. /* 22Oct96 PAB SFR0534 Mark ups from display driver review */
  14. /* 23Oct96 PAB SFR0730 Merged shared memory changes */
  15. /* 17Dec96 PAB SFR0646 Use DLL_DISP to identify display driver code */
  16. /* */
  17. /****************************************************************************/
  18. #ifndef _H_NTRCAPI
  19. #define _H_NTRCAPI
  20. #ifdef DLL_DISP
  21. /****************************************************************************/
  22. /* API FUNCTION: TRC_DDSetTrace(...) */
  23. /* */
  24. /* DESCRIPTION: */
  25. /* ============ */
  26. /* This function takes the new trace settings from the OSI request and sets */
  27. /* the trace configuration accordingly. */
  28. /* */
  29. /* PARAMETERS: */
  30. /* =========== */
  31. /* cjIn : Size of request block */
  32. /* pvIn : Pointer to new trace request block */
  33. /* */
  34. /* RETURNS: */
  35. /* ======== */
  36. /* Nothing. */
  37. /* */
  38. /****************************************************************************/
  39. DCVOID DCAPI TRC_DDSetTrace(DCUINT32 cjIn, PDCVOID pvIn);
  40. /****************************************************************************/
  41. /* API FUNCTION: TRC_DDGetTraceOutput(...) */
  42. /* */
  43. /* DESCRIPTION: */
  44. /* ============ */
  45. /* This function passes back any accumulated kernel mode tracing back to */
  46. /* the user mode task that requested the data. */
  47. /* */
  48. /* PARAMETERS: */
  49. /* =========== */
  50. /* cjIn : Size of request block */
  51. /* pvIn : Pointer to request block */
  52. /* cjOut: Size of output block */
  53. /* pvOut: Pointer to output block */
  54. /* */
  55. /* RETURNS: */
  56. /* ======== */
  57. /* Nothing. */
  58. /* */
  59. /****************************************************************************/
  60. DCVOID DCAPI TRC_DDGetTraceOutput(DCUINT32 cjIn,
  61. PDCVOID pvIn,
  62. DCUINT32 cjOut,
  63. PDCVOID pvOut);
  64. /****************************************************************************/
  65. /* API FUNCTION: TRC_DDProcessRequest(...) */
  66. /* */
  67. /* DESCRIPTION: */
  68. /* ============ */
  69. /* This function processes tracing specific requests received on the */
  70. /* display driver side of the OSI. */
  71. /* */
  72. /* PARAMETERS: */
  73. /* =========== */
  74. /* cjIn : Size of request block */
  75. /* pvIn : Pointer to new trace request block */
  76. /* */
  77. /* RETURNS: */
  78. /* ======== */
  79. /* Nothing. */
  80. /* */
  81. /****************************************************************************/
  82. ULONG DCAPI TRC_DDProcessRequest(SURFOBJ* pso,
  83. DCUINT32 cjIn,
  84. PDCVOID pvIn,
  85. DCUINT32 cjOut,
  86. PDCVOID pvOut);
  87. #endif
  88. #endif /* _H_NTRCAPI */