ReactOS 0.4.15-dev-7674-gc0b4db1
FxDeviceText Struct Reference

#include <fxdevicetext.hpp>

Inheritance diagram for FxDeviceText:
Collaboration diagram for FxDeviceText:

Public Member Functions

 FxDeviceText (VOID)
 
 ~FxDeviceText (VOID)
 
VOID operator delete (__in PVOID Pool)
 
- Public Member Functions inherited from FxStump
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType)
 
VOID operator delete (__in PVOID pointer)
 
PVOID operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
VOID operator delete[] (__in PVOID pointer)
 

Static Public Member Functions

static FxDeviceText_FromEntry (__in PSINGLE_LIST_ENTRY Entry)
 
static void _CleanupList (__inout PSINGLE_LIST_ENTRY Head)
 

Public Attributes

SINGLE_LIST_ENTRY m_Entry
 
PWCHAR m_Description
 
PWCHAR m_LocationInformation
 
LCID m_LocaleId
 

Additional Inherited Members

- Protected Member Functions inherited from FxStump
 FxStump (VOID)
 

Detailed Description

Definition at line 28 of file fxdevicetext.hpp.

Constructor & Destructor Documentation

◆ FxDeviceText()

FxDeviceText::FxDeviceText ( VOID  )

Definition at line 27 of file fxdevicetext.cpp.

29 :
32 m_LocaleId(0)
33{
35}
#define NULL
Definition: types.h:112
PWCHAR m_LocationInformation
SINGLE_LIST_ENTRY m_Entry
PWCHAR m_Description
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629

◆ ~FxDeviceText()

FxDeviceText::~FxDeviceText ( VOID  )

Definition at line 37 of file fxdevicetext.cpp.

38{
40
42
43 if (m_Description != NULL) {
46 }
47
51 }
52}
static __inline KIRQL MxGetCurrentIrql()
Definition: mxgeneralkm.h:86
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361
#define ASSERT(a)
Definition: mode.c:44

Member Function Documentation

◆ _CleanupList()

static void FxDeviceText::_CleanupList ( __inout PSINGLE_LIST_ENTRY  Head)
inlinestatic

Definition at line 53 of file fxdevicetext.hpp.

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 }
PSINGLE_LIST_ENTRY ple
static FxDeviceText * _FromEntry(__in PSINGLE_LIST_ENTRY Entry)
Definition: ntbasedef.h:628
LPCSTR pText
Definition: txtscale.cpp:79

Referenced by FxPkgPdo::~FxPkgPdo(), and WDFDEVICE_INIT::~WDFDEVICE_INIT().

◆ _FromEntry()

static FxDeviceText * FxDeviceText::_FromEntry ( __in PSINGLE_LIST_ENTRY  Entry)
inlinestatic

Definition at line 44 of file fxdevicetext.hpp.

47 {
49 }
base of all file and directory entries
Definition: entries.h:83
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by _CleanupList(), and FindObjectForGivenLocale().

◆ operator delete()

VOID FxDeviceText::operator delete ( __in PVOID  Pool)
inline

Definition at line 78 of file fxdevicetext.hpp.

81 {
83 }
Definition: bufpool.h:50

Member Data Documentation

◆ m_Description

PWCHAR FxDeviceText::m_Description

Definition at line 30 of file fxdevicetext.hpp.

Referenced by FxPkgPdo::_PnpQueryDeviceText(), and ~FxDeviceText().

◆ m_Entry

SINGLE_LIST_ENTRY FxDeviceText::m_Entry

Definition at line 29 of file fxdevicetext.hpp.

Referenced by _FromEntry(), FxDeviceText(), and ~FxDeviceText().

◆ m_LocaleId

LCID FxDeviceText::m_LocaleId

Definition at line 32 of file fxdevicetext.hpp.

Referenced by FindObjectForGivenLocale().

◆ m_LocationInformation

PWCHAR FxDeviceText::m_LocationInformation

Definition at line 31 of file fxdevicetext.hpp.

Referenced by FxPkgPdo::_PnpQueryDeviceText(), and ~FxDeviceText().


The documentation for this struct was generated from the following files: