ReactOS 0.4.15-dev-7942-gd23573b
fxdevicetext.hpp
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 FxDeviceText.hpp
8
9Abstract:
10
11 This module implements the device text object.
12
13Author:
14
15
16
17Environment:
18
19 Both kernel and user mode
20
21Revision History:
22
23--*/
24
25#ifndef _FXDEVICETEXT_H_
26#define _FXDEVICETEXT_H_
27
28struct FxDeviceText : public FxStump {
33
35 VOID
36 );
37
39 VOID
40 );
41
42 static
46 )
47 {
49 }
50
51 static
52 void
55 )
56 {
58
59 ple = Head->Next;
60
61 if (ple != NULL) {
63
65 ple = ple->Next;
66
67 //
68 // Destructor verifies the entry is not on any list
69 //
70 pText->m_Entry.Next = NULL;
71 delete pText;
72 }
73
74 Head->Next = NULL;
75 }
76
77 VOID
78 operator delete(
80 )
81 {
83 }
84};
85
86#endif // _FXDEVICETEXT_H_
Definition: bufpool.h:50
#define __in
Definition: dbghelp.h:35
#define __inout
Definition: dbghelp.h:50
#define NULL
Definition: types.h:112
PSINGLE_LIST_ENTRY ple
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361
DWORD LCID
Definition: nls.h:13
base of all file and directory entries
Definition: entries.h:83
PWCHAR m_LocationInformation
~FxDeviceText(VOID)
static FxDeviceText * _FromEntry(__in PSINGLE_LIST_ENTRY Entry)
SINGLE_LIST_ENTRY m_Entry
PWCHAR m_Description
static void _CleanupList(__inout PSINGLE_LIST_ENTRY Head)
Definition: ntbasedef.h:628
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629
LPCSTR pText
Definition: txtscale.cpp:79
uint16_t * PWCHAR
Definition: typedefs.h:56
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260