ReactOS  0.4.15-dev-5462-g4d0d22a
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 184 of file desktop.cpp.

185 {
186  CDesktopThread* pDesktopThread = new CDesktopThread();
187 
188  HRESULT hres = pDesktopThread->Initialize(Tray);
190  {
191  delete pDesktopThread;
192  return NULL;
193  }
194 
195  return pDesktopThread;
196 }
HRESULT Initialize(ITrayWindow *pTray)
Definition: desktop.cpp:55
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:79
#define FAILED_UNEXPECTEDLY(hr)
Definition: shellutils.h:82
#define NULL
Definition: types.h:112

Referenced by StartWithDesktop().

◆ DesktopDestroyShellWindow()

VOID DesktopDestroyShellWindow ( IN HANDLE  hDesktop)

Definition at line 199 of file desktop.cpp.

200 {
201  CDesktopThread* pDesktopThread = reinterpret_cast<CDesktopThread*>(hDesktop);
202  delete pDesktopThread;
203 }

Referenced by StartWithDesktop().