Source code of Windows XP (NT5)
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.

39 lines
1007 B

  1. //+-------------------------------------------------------------------------
  2. // Microsoft Windows
  3. //
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: pkicrit.h
  7. //
  8. // Contents: PKI CriticalSection Functions
  9. //
  10. // APIs: Pki_InitializeCriticalSection
  11. //
  12. // History: 23-Aug-99 philh created
  13. //--------------------------------------------------------------------------
  14. #ifndef __PKICRIT_H__
  15. #define __PKICRIT_H__
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. //+-------------------------------------------------------------------------
  20. // The following calls InitializeCriticalSection within a try/except.
  21. // If an exception is raised, returns FALSE with LastError set to
  22. // the exception error. Otherwise, TRUE is returned.
  23. //--------------------------------------------------------------------------
  24. BOOL
  25. WINAPI
  26. Pki_InitializeCriticalSection(
  27. OUT LPCRITICAL_SECTION lpCriticalSection
  28. );
  29. #ifdef __cplusplus
  30. } // Balance extern "C" above
  31. #endif
  32. #endif