ReactOS  0.4.15-dev-3440-g915569a
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  }
FxLockedCallback(VOID)
Definition: fxcallback.hpp:89
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);
156  CallbackEnd(irql);
157  }
158 
159  return claimed;
160  }
__inline void CallbackStart(__out PKIRQL PreviousIrql)
Definition: fxcallback.hpp:115
PFN_WDFCX_DEVICE_FILE_CREATE Method
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547
KIRQL irql
Definition: wave.h:1
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
__inline void CallbackEnd(__in KIRQL PreviousIrql)
Definition: fxcallback.hpp:126
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112

Referenced by FxPkgGeneral::OnCreate().

Member Data Documentation

◆ Method


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