ReactOS 0.4.16-dev-329-g9223134
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
12 public CComCoClass<CTaskbarList, &CLSID_TaskbarList>,
13 public CComObjectRootEx<CComMultiThreadModelNoCS>,
14 public ITaskbarList2
15{
18
19 HWND TaskWnd();
21
22public:
24 virtual ~CTaskbarList();
25
26 /*** ITaskbarList2 methods ***/
27 STDMETHOD(MarkFullscreenWindow)(HWND hwnd, BOOL fFullscreen) override;
28
29 /*** ITaskbarList methods ***/
30 STDMETHOD(HrInit)() override;
31 STDMETHOD(AddTab)(HWND hwnd) override;
32 STDMETHOD(DeleteTab)(HWND hwnd) override;
33 STDMETHOD(ActivateTab)(HWND hwnd) override;
35
38
40
42 COM_INTERFACE_ENTRY_IID(IID_ITaskbarList2, ITaskbarList2)
43 COM_INTERFACE_ENTRY_IID(IID_ITaskbarList, ITaskbarList)
45};
46
47
48#endif // _CTASKBARLIST_H_
HWND hWnd
Definition: settings.c:17
#define STDMETHOD(m)
Definition: basetyps.h:62
STDMETHOD() HrInit() override
STDMETHOD() MarkFullscreenWindow(HWND hwnd, BOOL fFullscreen) override
STDMETHOD() DeleteTab(HWND hwnd) override
STDMETHOD() ActivateTab(HWND hwnd) override
UINT m_ShellHookMsg
Definition: CTaskbarList.h:17
STDMETHOD() AddTab(HWND hwnd) override
STDMETHOD() SetActiveAlt(HWND hwnd) override
void SendTaskWndShellHook(WPARAM wParam, HWND hWnd)
virtual ~CTaskbarList()
WPARAM wParam
Definition: combotst.c:138
#define IDR_TASKBARLIST
Definition: resource.h:107
unsigned int BOOL
Definition: ntddk_ex.h:94
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:581
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:601
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:679
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:645
#define END_COM_MAP()
Definition: atlcom.h:592
unsigned int UINT
Definition: ndis.h:50
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
UINT_PTR WPARAM
Definition: windef.h:207