ReactOS 0.4.16-dev-306-g647d351
WDFCXDEVICE_INIT Struct Reference

#include <fxcxdeviceinit.hpp>

Inheritance diagram for WDFCXDEVICE_INIT:
Collaboration diagram for WDFCXDEVICE_INIT:

Public Member Functions

 WDFCXDEVICE_INIT ()
 
 ~WDFCXDEVICE_INIT ()
 
- 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 _Must_inspect_result_ PWDFCXDEVICE_INIT _AllocateCxDeviceInit (__in PWDFDEVICE_INIT DeviceInit)
 

Public Attributes

LIST_ENTRY ListEntry
 
PFX_DRIVER_GLOBALS ClientDriverGlobals
 
PFX_DRIVER_GLOBALS CxDriverGlobals
 
FxIrpPreprocessInfoPreprocessInfo
 
PFN_WDF_IO_IN_CALLER_CONTEXT IoInCallerContextCallback
 
WDF_OBJECT_ATTRIBUTES RequestAttributes
 
CxFileObjectInit FileObject
 
FxCxDeviceInfoCxDeviceInfo
 

Additional Inherited Members

- Protected Member Functions inherited from FxStump
 FxStump (VOID)
 

Detailed Description

Definition at line 44 of file fxcxdeviceinit.hpp.

Constructor & Destructor Documentation

◆ WDFCXDEVICE_INIT()

WDFCXDEVICE_INIT::WDFCXDEVICE_INIT ( )

Definition at line 32 of file fxcxdeviceinit.cpp.

33{
35
42 FileObject.AutoForwardCleanupClose = WdfUseDefault;
44}
#define NULL
Definition: types.h:112
#define InitializeListHead(ListHead)
Definition: env_spec_w32.h:944
PFN_WDF_IO_IN_CALLER_CONTEXT IoInCallerContextCallback
PFX_DRIVER_GLOBALS ClientDriverGlobals
FxIrpPreprocessInfo * PreprocessInfo
FxCxDeviceInfo * CxDeviceInfo
LIST_ENTRY ListEntry
PFX_DRIVER_GLOBALS CxDriverGlobals
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
_In_ PWDFDEVICE_INIT _In_ PWDF_OBJECT_ATTRIBUTES RequestAttributes
Definition: wdfdevice.h:3431
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
@ WdfUseDefault
Definition: wdftypes.h:89

Referenced by _AllocateCxDeviceInit().

◆ ~WDFCXDEVICE_INIT()

WDFCXDEVICE_INIT::~WDFCXDEVICE_INIT ( )

Definition at line 46 of file fxcxdeviceinit.cpp.

47{
49
50 if (PreprocessInfo != NULL) {
51 delete PreprocessInfo;
52 }
53}
#define IsListEmpty(ListHead)
Definition: env_spec_w32.h:954
#define ASSERT(a)
Definition: mode.c:44

Member Function Documentation

◆ _AllocateCxDeviceInit()

_Must_inspect_result_ PWDFCXDEVICE_INIT WDFCXDEVICE_INIT::_AllocateCxDeviceInit ( __in PWDFDEVICE_INIT  DeviceInit)
static

Definition at line 57 of file fxcxdeviceinit.cpp.

60{
63
64 fxDriverGlobals = DeviceInit->DriverGlobals;
65
67 if (init == NULL) {
69 "WDFDRIVER 0x%p couldn't allocate WDFCXDEVICE_INIT",
70 DeviceInit->Driver);
71 return NULL;
72 }
73
74 DeviceInit->AddCxDeviceInit(init);
75
76 return init;
77}
#define TRACINGDEVICE
Definition: dbgtrace.h:58
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS fxDriverGlobals
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfcontrol.h:113
static int init
Definition: wintirpc.c:33

Member Data Documentation

◆ ClientDriverGlobals

PFX_DRIVER_GLOBALS WDFCXDEVICE_INIT::ClientDriverGlobals

Definition at line 65 of file fxcxdeviceinit.hpp.

Referenced by WDFCXDEVICE_INIT().

◆ CxDeviceInfo

FxCxDeviceInfo* WDFCXDEVICE_INIT::CxDeviceInfo

◆ CxDriverGlobals

PFX_DRIVER_GLOBALS WDFCXDEVICE_INIT::CxDriverGlobals

Definition at line 66 of file fxcxdeviceinit.hpp.

Referenced by FxDevice::Initialize(), and WDFCXDEVICE_INIT().

◆ FileObject

CxFileObjectInit WDFCXDEVICE_INIT::FileObject

◆ IoInCallerContextCallback

PFN_WDF_IO_IN_CALLER_CONTEXT WDFCXDEVICE_INIT::IoInCallerContextCallback

Definition at line 76 of file fxcxdeviceinit.hpp.

Referenced by FxDevice::Initialize(), and WDFCXDEVICE_INIT().

◆ ListEntry

LIST_ENTRY WDFCXDEVICE_INIT::ListEntry

◆ PreprocessInfo

FxIrpPreprocessInfo* WDFCXDEVICE_INIT::PreprocessInfo

Definition at line 71 of file fxcxdeviceinit.hpp.

Referenced by FxDevice::_Create(), if(), WDFCXDEVICE_INIT(), and ~WDFCXDEVICE_INIT().

◆ RequestAttributes

WDF_OBJECT_ATTRIBUTES WDFCXDEVICE_INIT::RequestAttributes

Definition at line 81 of file fxcxdeviceinit.hpp.

Referenced by FxDevice::Initialize().


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