ReactOS 0.4.15-dev-7907-g95bf896
taskswnd.cpp File Reference
#include "precomp.h"
#include <commoncontrols.h>
Include dependency graph for taskswnd.cpp:

Go to the source code of this file.

Classes

struct  _TASK_GROUP
 
struct  _TASK_ITEM
 
class  CHardErrorThread
 
class  CTaskToolbar
 
class  CTaskSwitchWnd
 

Macros

#define DUMP_TASKS   0
 
#define DEBUG_SHELL_HOOK   0
 
#define MAX_TASKS_COUNT   (0x7FFF)
 
#define TASK_ITEM_ARRAY_ALLOC   64
 
#define GET_ICON(type)    SendMessageTimeout(hwnd, WM_GETICON, (type), 0, SMTO_NOTIMEOUTIFNOTHUNG, 100, (PDWORD_PTR)&hIcon)
 

Typedefs

typedef struct _TASK_GROUP TASK_GROUP
 
typedef struct _TASK_GROUPPTASK_GROUP
 
typedef struct _TASK_ITEM TASK_ITEM
 
typedef struct _TASK_ITEMPTASK_ITEM
 

Functions

HRESULT CTaskSwitchWnd_CreateInstance (IN HWND hWndParent, IN OUT ITrayWindow *Tray, REFIID riid, void **ppv)
 

Variables

const WCHAR szTaskSwitchWndClass [] = L"MSTaskSwWClass"
 
const WCHAR szRunningApps [] = L"Running Applications"
 

Macro Definition Documentation

◆ DEBUG_SHELL_HOOK

#define DEBUG_SHELL_HOOK   0

Definition at line 27 of file taskswnd.cpp.

◆ DUMP_TASKS

#define DUMP_TASKS   0

Definition at line 26 of file taskswnd.cpp.

◆ GET_ICON

#define GET_ICON (   type)     SendMessageTimeout(hwnd, WM_GETICON, (type), 0, SMTO_NOTIMEOUTIFNOTHUNG, 100, (PDWORD_PTR)&hIcon)

◆ MAX_TASKS_COUNT

#define MAX_TASKS_COUNT   (0x7FFF)

Definition at line 29 of file taskswnd.cpp.

◆ TASK_ITEM_ARRAY_ALLOC

#define TASK_ITEM_ARRAY_ALLOC   64

Definition at line 30 of file taskswnd.cpp.

Typedef Documentation

◆ PTASK_GROUP

◆ PTASK_ITEM

◆ TASK_GROUP

◆ TASK_ITEM

Function Documentation

◆ CTaskSwitchWnd_CreateInstance()

HRESULT CTaskSwitchWnd_CreateInstance ( IN HWND  hWndParent,
IN OUT ITrayWindow *  Tray,
REFIID  riid,
void **  ppv 
)

Definition at line 2026 of file taskswnd.cpp.

2027{
2028 return ShellObjectCreatorInit<CTaskSwitchWnd>(hWndParent, Tray, riid, ppv);
2029}
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39

Referenced by CTaskBand::SetSite().

Variable Documentation

◆ szRunningApps

const WCHAR szRunningApps[] = L"Running Applications"

Definition at line 33 of file taskswnd.cpp.

Referenced by CTaskSwitchWnd::Initialize().

◆ szTaskSwitchWndClass

const WCHAR szTaskSwitchWndClass[] = L"MSTaskSwWClass"

Definition at line 32 of file taskswnd.cpp.