ReactOS  0.4.15-dev-3163-gf17c2c0
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 {
34  m_Entry.Next = NULL;
35 }
PWCHAR m_Description
SINGLE_LIST_ENTRY m_Entry
PWCHAR m_LocationInformation
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629
#define NULL
Definition: types.h:112

◆ ~FxDeviceText()

FxDeviceText::~FxDeviceText ( VOID  )

Definition at line 37 of file fxdevicetext.cpp.

38 {
40 
41  ASSERT(m_Entry.Next == NULL);
42 
43  if (m_Description != NULL) {
46  }
47 
48  if (m_LocationInformation != NULL) {
51  }
52 }
PWCHAR m_Description
SINGLE_LIST_ENTRY m_Entry
PWCHAR m_LocationInformation
#define ASSERT(a)
Definition: mode.c:44
static __inline KIRQL MxGetCurrentIrql()
Definition: mxgeneralkm.h:86
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define NULL
Definition: types.h:112
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361

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  }
LPCSTR pText
Definition: txtscale.cpp:79
Definition: ntbasedef.h:628
PSINGLE_LIST_ENTRY ple
static FxDeviceText * _FromEntry(__in PSINGLE_LIST_ENTRY Entry)
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629
#define NULL
Definition: types.h:112

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  }
SINGLE_LIST_ENTRY m_Entry
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
base of all file and directory entries
Definition: entries.h:82

Referenced by _CleanupList(), and FindObjectForGivenLocale().

◆ operator delete()

Definition at line 78 of file fxdevicetext.hpp.

81  {
83  }
Definition: bufpool.h:50
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361

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: