ReactOS 0.4.16-dev-91-g764881a
FxCxFileObjectFileCreate Class Reference

#include <fxfileobjectcallbacks.hpp>

Inheritance diagram for FxCxFileObjectFileCreate:
Collaboration diagram for FxCxFileObjectFileCreate:

Public Member Functions

 FxCxFileObjectFileCreate (VOID)
 
BOOLEAN Invoke (__in WDFDEVICE Device, __in WDFREQUEST Request, __in_opt WDFFILEOBJECT FileObject)
 
- Public Member Functions inherited from FxLockedCallback
 FxLockedCallback (VOID)
 
FxCallbackLockGetCallbackLockPtr (VOID)
 
void SetCallbackLockPtr (FxCallbackLock *Lock)
 

Public Attributes

PFN_WDFCX_DEVICE_FILE_CREATE Method
 

Additional Inherited Members

- Protected Member Functions inherited from FxLockedCallback
__inline void CallbackStart (__out PKIRQL PreviousIrql)
 
__inline void CallbackEnd (__in KIRQL PreviousIrql)
 

Detailed Description

Definition at line 129 of file fxfileobjectcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxCxFileObjectFileCreate()

FxCxFileObjectFileCreate::FxCxFileObjectFileCreate ( VOID  )
inline

Definition at line 134 of file fxfileobjectcallbacks.hpp.

136 :
138 {
139 Method = NULL;
140 }
PFN_WDFCX_DEVICE_FILE_CREATE Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

BOOLEAN FxCxFileObjectFileCreate::Invoke ( __in WDFDEVICE  Device,
__in WDFREQUEST  Request,
__in_opt WDFFILEOBJECT  FileObject 
)
inline

Definition at line 143 of file fxfileobjectcallbacks.hpp.

148 {
149 BOOLEAN claimed = FALSE;
150
151 if (Method != NULL) {
152 KIRQL irql = 0;
153
155 claimed = Method(Device, Request, FileObject);
157 }
158
159 return claimed;
160 }
unsigned char BOOLEAN
__inline void CallbackEnd(__in KIRQL PreviousIrql)
Definition: fxcallback.hpp:126
__inline void CallbackStart(__out PKIRQL PreviousIrql)
Definition: fxcallback.hpp:115
#define FALSE
Definition: types.h:117
KIRQL irql
Definition: wave.h:1
UCHAR KIRQL
Definition: env_spec_w32.h:591
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547

Referenced by FxPkgGeneral::OnCreate().

Member Data Documentation

◆ Method


The documentation for this class was generated from the following file: