ReactOS  0.4.14-dev-49-gfb4591c
desktop.cpp File Reference
#include "precomp.h"
Include dependency graph for desktop.cpp:

Go to the source code of this file.

Classes

class  CDesktopThread
 

Functions

HANDLE DesktopCreateWindow (IN OUT ITrayWindow *Tray)
 
VOID DesktopDestroyShellWindow (IN HANDLE hDesktop)
 

Function Documentation

◆ DesktopCreateWindow()

HANDLE DesktopCreateWindow ( IN OUT ITrayWindow *  Tray)

Definition at line 118 of file desktop.cpp.

119 {
120  CDesktopThread* pDesktopThread = new CDesktopThread();
121 
122  HRESULT hres = pDesktopThread->Initialize(Tray);
124  {
125  delete pDesktopThread;
126  return NULL;
127  }
128 
129  return pDesktopThread;
130 }
smooth NULL
Definition: ftsmooth.c:416
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:71
HRESULT Initialize(IN OUT ITrayWindow *pTray)
Definition: desktop.cpp:71

Referenced by StartWithDesktop().

◆ DesktopDestroyShellWindow()

VOID DesktopDestroyShellWindow ( IN HANDLE  hDesktop)

Definition at line 133 of file desktop.cpp.

134 {
135  CDesktopThread* pDesktopThread = reinterpret_cast<CDesktopThread*>(hDesktop);
136  pDesktopThread->Destroy();
137 }
void Destroy()
Definition: desktop.cpp:111

Referenced by StartWithDesktop().