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.

29 lines
811 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: cifailte.hxx
  7. //
  8. // Contents: CI selective fail testing. This lets developers invoke
  9. // fail testing at selective points in the code and test
  10. // if recovery is working properly or not.
  11. //
  12. // Classes:
  13. //
  14. // Functions:
  15. //
  16. // History: 7-06-94 srikants Created
  17. //
  18. //----------------------------------------------------------------------------
  19. #pragma once
  20. #if defined(CI_FAILTEST)
  21. extern void DoFailTest( NTSTATUS status = STATUS_NO_MEMORY );
  22. #define ciFAILTEST(status) DoFailTest(status)
  23. #else // CI_FAILTEST
  24. #define ciFAILTEST(status)
  25. #endif // CI_FAILTEST