xref: /reactos/dll/shellext/fontext/fontpidl.hpp (revision 84344399)
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:     pidl handling
5  * COPYRIGHT:   Copyright 2019 Mark Jansen <mark.jansen@reactos.org>
6  */
7 
8 #pragma once
9 
10 #include <pshpack1.h>
11 struct FontPidlEntry
12 {
13     WORD cb;
14     WORD Magic;
15     ULONG Index;        // Informative only, used for sorting
16 
17     WCHAR Name[1];
18 };
19 #include <poppack.h>
20 
21 
22 LPITEMIDLIST _ILCreate(LPCWSTR lpString, ULONG Index);
23 const FontPidlEntry* _FontFromIL(LPCITEMIDLIST pidl);
24 
25