Techwiki:Win32k/TERMINAL

From ReactOS Wiki
Jump to: navigation, search

Windows XP version of TERMINAL

typedef struct _TERMINAL
{
  DWORD       dwTERMF_Flags;
  PWND        spwndDesktopOwner;
  PTHREADINFO ptiDesktop;
#if (_WIN32_WINNT >= 0x0501)
  DWORD       Unknown;
#endif
  PQ          pqDesktop;
  PEVENT      pEventTermInit;
  PEVENT      pEventDestroyDesktop;
  PDESKTOP    rpdeskDestroy;
  PEVENT      pEventInputReady;
  PEVENT      pEventDTExit;
} TERMINAL, *PTERMINAL;

// dwTERMF flags from reference:
#define TERMF_INITIALIZED       0x00000001
#define TERMF_NOIO              0x00000002
#define TERMF_STOPINPUT         0x00000004
#define TERMF_DTINITSUCCESS     0x00000008
#define TERMF_DTINITFAILED      0x00000010
#define TERMF_DTDESTROYED       0x00000020

References