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.

37 lines
653 B

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. fusioninitializecriticalsection.h
  5. Abstract:
  6. non throwing replacements for InitializeCriticalSection and InitializeCriticalAndSpinCount
  7. Author:
  8. Jay Krell (JayKrell) November 2001
  9. Revision History:
  10. --*/
  11. #pragma once
  12. /*
  13. Use instead of InitializeCriticalSection.
  14. */
  15. BOOL
  16. FusionpInitializeCriticalSection(
  17. LPCRITICAL_SECTION CriticalSection
  18. );
  19. /*
  20. Use instead of InitializeCriticalSectionAndSpinCount
  21. */
  22. BOOL
  23. FusionpInitializeCriticalSectionAndSpinCount(
  24. LPCRITICAL_SECTION CriticalSection,
  25. DWORD SpinCount
  26. );