ReactOS  0.4.15-dev-3017-g1d9542d
fxobject.cpp File Reference
#include "fxobjectpch.hpp"
Include dependency graph for fxobject.cpp:

Go to the source code of this file.

Functions

VOID FX_VF_METHOD (FxObject, VerifyConstruct)(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals
 
 PAGED_CODE_LOCKED ()
 
 ASSERTMSG ("this object's type is not listed in FxObjectsInfo\n", FxVerifyObjectTypeInTable(m_Type))
 
 if (m_Globals->IsObjectDebugOn() &&Embedded==FALSE)
 

Variables

ULONG DebugLevel = TRACE_LEVEL_INFORMATION
 
ULONG DebugFlag = 0xff
 
VOID _In_ BOOLEAN Embedded
 

Function Documentation

◆ ASSERTMSG()

ASSERTMSG ( "this object's type is not listed in FxObjectsInfo\n ,
FxVerifyObjectTypeInTable(m_Type)   
)

◆ FX_VF_METHOD()

VOID FX_VF_METHOD ( FxObject  ,
VerifyConstruct   
)

◆ if()

if ( m_Globals->IsObjectDebugOn() &&  Embedded = FALSE)

Definition at line 180 of file fxobject.cpp.

180  {
181  FxObjectDebugExtension* pExtension;
182 
183  m_ObjectFlags |= FXOBJECT_FLAGS_HAS_DEBUG;
184 
185  pExtension = GetDebugExtension();
187 
188  //
189  // Assume that zero is an invalid state.
190  //
192  RtlZeroMemory(&pExtension->StateHistory[0],
193  ARRAY_SIZE(pExtension->StateHistory));
194  pExtension->StateHistoryIndex = 0;
195 
196  //
197  // Setup the first slot to our new state.
198  //
199  pExtension->StateHistory[0] = FxObjectStateCreated;
200 
201  AllocateTagTracker(m_Type);
202  }
GLint x0
Definition: linetemp.h:95
WDFCASSERT(sizeof(WDF_DRIVER_CONFIG_V1_0)==sizeof(WDF_DRIVER_CONFIG_V1_1))
#define ASSERT(a)
Definition: mode.c:44
#define ARRAY_SIZE(a)
Definition: main.h:24
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

◆ PAGED_CODE_LOCKED()

PAGED_CODE_LOCKED ( )

Variable Documentation

◆ DebugFlag

ULONG DebugFlag = 0xff

Definition at line 44 of file fxobject.cpp.

Referenced by _main(), DoTraceLevelMessage(), and SmExecPgm().

◆ DebugLevel

Definition at line 43 of file fxobject.cpp.

◆ Embedded

VOID _In_ BOOLEAN Embedded
Initial value:
{
UNREFERENCED_PARAMETER(FxDriverGlobals)
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317

Definition at line 164 of file fxobject.cpp.

Referenced by FxObject::Construct().