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.

47 lines
1.1 KiB

  1. //================================================================================
  2. // Copyright (C) 1997 Microsoft Corporation
  3. // Author: RameshV
  4. // Description: per thread error status
  5. //================================================================================
  6. #include <hdrmacro.h>
  7. const
  8. DWORD nErrorsToStore = 4; // the size of the array is 1+nErrorsToStore
  9. DWORD StErrTlsIndex[5] = { -1, -1, -1, -1, -1 };
  10. //BeginExport(function)
  11. DWORD
  12. StErrInit(
  13. VOID
  14. ) //EndExport(function)
  15. {
  16. return ERROR_SUCCESS;
  17. }
  18. //BeginExport(function)
  19. VOID
  20. StErrCleanup(
  21. VOID
  22. ) //EndExport(function)
  23. {
  24. }
  25. //BeginExport(function)
  26. VOID
  27. SetInternalFormatError(
  28. IN DWORD Code,
  29. IN BOOL ReallyDoIt
  30. )
  31. {
  32. #ifdef DBG
  33. if(ReallyDoIt) {
  34. // printf("InternalError: %lx\n", Code);
  35. }
  36. #endif // DBG
  37. }
  38. //EndExport(function)
  39. //================================================================================
  40. // end of file
  41. //================================================================================