ReactOS 0.4.16-dev-92-g0c2cdca
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 188 of file desktop.cpp.

189{
190 CDesktopThread* pDesktopThread = new CDesktopThread();
191
192 HRESULT hres = pDesktopThread->Initialize(Tray);
194 {
195 delete pDesktopThread;
196 return NULL;
197 }
198
199 return pDesktopThread;
200}
HRESULT Initialize(ITrayWindow *pTray)
Definition: desktop.cpp:57
#define NULL
Definition: types.h:112
#define FAILED_UNEXPECTEDLY(hr)
Definition: precomp.h:121
HRESULT hres
Definition: protocol.c:465

Referenced by StartWithDesktop().

◆ DesktopDestroyShellWindow()

VOID DesktopDestroyShellWindow ( IN HANDLE  hDesktop)

Definition at line 203 of file desktop.cpp.

204{
205 CDesktopThread* pDesktopThread = reinterpret_cast<CDesktopThread*>(hDesktop);
206 delete pDesktopThread;
207}

Referenced by StartWithDesktop().