Windows2003-3790/windows/advcore/duser/engine/services/globals.h
2020-09-30 16:53:55 +02:00

29 lines
634 B
C++

#if !defined(SERVICES__Globals_h__INCLUDED)
#define SERVICES__Globals_h__INCLUDED
#pragma once
extern HINSTANCE g_hDll;
#if USE_DYNAMICTLS
extern DWORD g_tlsThread; // TLS Slot for Thread data
#endif
#if ENABLE_MPH
extern MESSAGEPUMPHOOK
g_mphReal;
#endif
class GdiCache;
class BufferManager;
class ComManager;
class TicketManager;
inline GdiCache * GetGdiCache();
inline BufferManager * GetBufferManager();
inline ComManager * GetComManager();
DuTicketManager * GetTicketManager();
#include "Globals.inl"
#endif // SERVICES__Globals_h__INCLUDED