ReactOS 0.4.16-dev-2279-gc890759
CFontFolderViewCB.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Font Shell Extension
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Fonts folder view callback implementation
5 * COPYRIGHT: Copyright 2026 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
6 */
7
8#pragma once
9
11 : public CComObjectRootEx<CComMultiThreadModelNoCS>
12 , public IShellFolderViewCB
13{
14 CFontExt* m_pFontExt = nullptr;
15 CComPtr<IShellView> m_pShellView;
16 HWND m_hwndView = nullptr;
17 CComHeapPtr<ITEMIDLIST> m_pidlParent;
18
20
21public:
23 void Initialize(CFontExt* pFontExt, IShellView *psv, LPCITEMIDLIST pidlParent);
24
25 // IShellFolderViewCB
27
31 COM_INTERFACE_ENTRY_IID(IID_IShellFolderViewCB, IShellFolderViewCB)
33};
#define STDMETHODIMP
Definition: basetyps.h:43
BOOL FilterEvent(PIDLIST_ABSOLUTE *apidls, LONG lEvent) const
STDMETHODIMP MessageSFVCB(UINT uMsg, WPARAM wParam, LPARAM lParam) override
CComHeapPtr< ITEMIDLIST > m_pidlParent
CComPtr< IShellView > m_pShellView
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
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_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define END_COM_MAP()
Definition: atlcom.h:592
#define DECLARE_NO_REGISTRY()
Definition: atlcom.h:639
LONG_PTR LPARAM
Definition: minwindef.h:175
UINT_PTR WPARAM
Definition: minwindef.h:174
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
HANDLE lEvent
Definition: tftpd.cpp:56
static void Initialize()
Definition: xlate.c:212