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.

31 lines
692 B

  1. #if !defined(SERVICES__Globals_inl__INCLUDED)
  2. #define SERVICES__Globals_inl__INCLUDED
  3. #pragma once
  4. #include "Thread.h"
  5. //------------------------------------------------------------------------------
  6. inline GdiCache *
  7. GetGdiCache()
  8. {
  9. return GetThread()->GetGdiCache();
  10. }
  11. //------------------------------------------------------------------------------
  12. inline BufferManager *
  13. GetBufferManager()
  14. {
  15. return GetThread()->GetBufferManager();
  16. }
  17. //------------------------------------------------------------------------------
  18. inline ComManager *
  19. GetComManager()
  20. {
  21. return GetThread()->GetComManager();
  22. }
  23. #endif // SERVICES__Globals_inl__INCLUDED