Windows2003-3790/windows/advcore/duser/engine/services/globals.inl

32 lines
692 B
Plaintext
Raw Normal View History

2001-01-01 00:00:00 +01:00
#if !defined(SERVICES__Globals_inl__INCLUDED)
#define SERVICES__Globals_inl__INCLUDED
#pragma once
#include "Thread.h"
//------------------------------------------------------------------------------
inline GdiCache *
GetGdiCache()
{
return GetThread()->GetGdiCache();
}
//------------------------------------------------------------------------------
inline BufferManager *
GetBufferManager()
{
return GetThread()->GetBufferManager();
}
//------------------------------------------------------------------------------
inline ComManager *
GetComManager()
{
return GetThread()->GetComManager();
}
#endif // SERVICES__Globals_inl__INCLUDED