ReactOS  0.4.14-dev-1256-g2125fec
CTaskbarList.h
Go to the documentation of this file.
1 /*
2  * PROJECT: browseui
3  * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE: ITaskbarList header
5  * COPYRIGHT: Copyright 2018 Mark Jansen (mark.jansen@reactos.org)
6  */
7 
8 #ifndef _CTASKBARLIST_H_
9 #define _CTASKBARLIST_H_
10 
11 class CTaskbarList :
12  public CComCoClass<CTaskbarList, &CLSID_TaskbarList>,
13  public CComObjectRootEx<CComMultiThreadModelNoCS>,
14  public ITaskbarList2
15 {
18 
19  HWND TaskWnd();
21 
22 public:
23  CTaskbarList();
24  virtual ~CTaskbarList();
25 
26  /*** ITaskbarList2 methods ***/
27  virtual HRESULT WINAPI MarkFullscreenWindow(HWND hwnd, BOOL fFullscreen);
28 
29  /*** ITaskbarList methods ***/
35 
36 
39 
41 
43  COM_INTERFACE_ENTRY_IID(IID_ITaskbarList2, ITaskbarList2)
44  COM_INTERFACE_ENTRY_IID(IID_ITaskbarList, ITaskbarList)
45  END_COM_MAP()
46 };
47 
48 
49 #endif // _CTASKBARLIST_H_
void SendTaskWndShellHook(WPARAM wParam, HWND hWnd)
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HWND hWnd
Definition: settings.c:17
virtual HRESULT STDMETHODCALLTYPE HrInit()
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:611
UINT_PTR WPARAM
Definition: windef.h:207
WPARAM wParam
Definition: combotst.c:138
#define IDR_TASKBARLIST
Definition: resource.h:107
virtual HRESULT STDMETHODCALLTYPE ActivateTab(HWND hwnd)
virtual HRESULT STDMETHODCALLTYPE SetActiveAlt(HWND hwnd)
unsigned int BOOL
Definition: ntddk_ex.h:94
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:541
LONG HRESULT
Definition: typedefs.h:78
#define WINAPI
Definition: msvc.h:6
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
UINT m_ShellHookMsg
Definition: CTaskbarList.h:17
virtual HRESULT STDMETHODCALLTYPE AddTab(HWND hwnd)
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:605
virtual ~CTaskbarList()
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:561
unsigned int UINT
Definition: ndis.h:50
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:639
#define END_COM_MAP()
Definition: atlcom.h:552
virtual HRESULT WINAPI MarkFullscreenWindow(HWND hwnd, BOOL fFullscreen)
virtual HRESULT STDMETHODCALLTYPE DeleteTab(HWND hwnd)