ReactOS
0.4.16-dev-2293-g4d8327b
fontpidl.hpp
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: pidl handling
5
* COPYRIGHT: Copyright 2019 Mark Jansen <mark.jansen@reactos.org>
6
* Copyright 2026 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
7
*/
8
9
#pragma once
10
11
#include <pshpack1.h>
12
struct
FontPidlEntry
13
{
14
WORD
cb
;
15
WORD
Magic
;
16
WORD
ibName
;
17
WORD
ibFileName
;
18
LPWSTR
Name
() {
return
(
LPWSTR
)((
PBYTE
)
this
+
ibName
); }
19
LPWSTR
FileName
() {
return
(
LPWSTR
)((
PBYTE
)
this
+
ibFileName
); }
20
LPCWSTR
Name
()
const
{
return
(
LPCWSTR
)((
PBYTE
)
this
+
ibName
); }
21
LPCWSTR
FileName
()
const
{
return
(
LPCWSTR
)((
PBYTE
)
this
+
ibFileName
); }
22
};
23
#include <poppack.h>
24
25
PITEMID_CHILD
_ILCreate
(
LPCWSTR
lpName
,
LPCWSTR
lpFileName
);
26
const
FontPidlEntry
*
_FontFromIL
(
PCITEMID_CHILD
pidl);
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
_FontFromIL
const FontPidlEntry * _FontFromIL(PCITEMID_CHILD pidl)
Definition:
fontpidl.cpp:80
_ILCreate
PITEMID_CHILD _ILCreate(LPCWSTR lpName, LPCWSTR lpFileName)
Definition:
fontpidl.cpp:16
PBYTE
BYTE * PBYTE
Definition:
pedump.c:66
FontPidlEntry
Definition:
fontpidl.hpp:13
FontPidlEntry::Name
LPWSTR Name()
Definition:
fontpidl.hpp:18
FontPidlEntry::FileName
LPCWSTR FileName() const
Definition:
fontpidl.hpp:21
FontPidlEntry::Magic
WORD Magic
Definition:
fontpidl.hpp:15
FontPidlEntry::ibFileName
WORD ibFileName
Definition:
fontpidl.hpp:17
FontPidlEntry::Name
LPCWSTR Name() const
Definition:
fontpidl.hpp:20
FontPidlEntry::ibName
WORD ibName
Definition:
fontpidl.hpp:16
FontPidlEntry::FileName
LPWSTR FileName()
Definition:
fontpidl.hpp:19
FontPidlEntry::cb
WORD cb
Definition:
fontpidl.hpp:14
_ITEMID_CHILD
Definition:
shtypes.idl:47
lpFileName
_In_ LPCSTR lpFileName
Definition:
winbase.h:2824
lpName
_In_ LPCSTR lpName
Definition:
winbase.h:2543
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
dll
shellext
fontext
fontpidl.hpp
Generated on Tue Feb 17 2026 06:03:40 for ReactOS by
1.9.6