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.

97 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. CLink.hxx
  6. Abstract:
  7. C linkage support for DEBUG support only.
  8. Author:
  9. Albert Ting (AlbertT) 10-Oct-95
  10. Revision History:
  11. --*/
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. HANDLE
  16. DbgAllocBackTrace(
  17. VOID
  18. );
  19. HANDLE
  20. DbgAllocBackTraceMem(
  21. VOID
  22. );
  23. HANDLE
  24. DbgAllocBackTraceFile(
  25. VOID
  26. );
  27. VOID
  28. DbgFreeBackTrace(
  29. HANDLE hBackTrace
  30. );
  31. VOID
  32. DbgCaptureBackTrace(
  33. HANDLE hBackTrace,
  34. ULONG_PTR Info1,
  35. ULONG_PTR Info2,
  36. ULONG_PTR Info3
  37. );
  38. HANDLE
  39. DbgAllocCritSec(
  40. VOID
  41. );
  42. VOID
  43. DbgFreeCritSec(
  44. HANDLE hCritSec
  45. );
  46. BOOL
  47. DbgInsideCritSec(
  48. HANDLE hCritSec
  49. );
  50. BOOL
  51. DbgOutsideCritSec(
  52. HANDLE hCritSec
  53. );
  54. VOID
  55. DbgEnterCritSec(
  56. HANDLE hCritSec
  57. );
  58. VOID
  59. DbgLeaveCritSec(
  60. HANDLE hCritSec
  61. );
  62. VOID
  63. DbgSetAllocFail(
  64. BOOL bEnable,
  65. LONG cAllocFail
  66. );
  67. PVOID
  68. DbgGetPointers(
  69. VOID
  70. );
  71. #ifdef __cplusplus
  72. } // extern "C"
  73. #endif