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.

50 lines
723 B

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Header Name:
  4. critsect.h
  5. Abstract:
  6. This module implements verification functions for
  7. critical section interfaces.
  8. Author:
  9. Daniel Mihai (DMihai) 27-Mar-2001
  10. Revision History:
  11. --*/
  12. #ifndef _CRITSECT_H_
  13. #define _CRITSECT_H_
  14. #include "support.h"
  15. NTSTATUS
  16. CritSectInitialize (
  17. VOID
  18. );
  19. VOID
  20. CritSectUninitialize (
  21. VOID
  22. );
  23. VOID
  24. AVrfpFreeMemLockChecks (
  25. VERIFIER_DLL_FREEMEM_TYPE FreeMemType,
  26. PVOID StartAddress,
  27. SIZE_T RegionSize,
  28. PWSTR UnloadedDllName
  29. );
  30. VOID
  31. AVrfpIncrementOwnedCriticalSections (
  32. LONG Increment
  33. );
  34. #endif // _CRITSECT_H_