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>
13{
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
unsigned short WORD
Definition: ntddk_ex.h:93
const FontPidlEntry * _FontFromIL(PCITEMID_CHILD pidl)
Definition: fontpidl.cpp:80
PITEMID_CHILD _ILCreate(LPCWSTR lpName, LPCWSTR lpFileName)
Definition: fontpidl.cpp:16
BYTE * PBYTE
Definition: pedump.c:66
LPWSTR Name()
Definition: fontpidl.hpp:18
LPCWSTR FileName() const
Definition: fontpidl.hpp:21
WORD ibFileName
Definition: fontpidl.hpp:17
LPCWSTR Name() const
Definition: fontpidl.hpp:20
LPWSTR FileName()
Definition: fontpidl.hpp:19
_In_ LPCSTR lpFileName
Definition: winbase.h:2824
_In_ LPCSTR lpName
Definition: winbase.h:2543
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
WCHAR * LPWSTR
Definition: xmlstorage.h:184