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.

29 lines
771 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: osift.hxx
  7. //
  8. // Contents: Definition of server side sift object
  9. //
  10. // Functions: DbgDllSetSiftObject - sets up global sift pointer
  11. //
  12. // History: 6-01-94 t-chripi Created
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef __OSIFT_HXX__
  16. #define __OSIFT_HXX__
  17. #include <sift.hxx>
  18. extern ISift *g_psftSiftObject;
  19. #define SIMULATE_FAILURE( dwRes ) \
  20. ((NULL != g_psftSiftObject) && \
  21. (g_psftSiftObject->SimFail( ( dwRes ) ))) \
  22. #endif // __OSIFT_HXX__
  23.