ReactOS  0.4.15-dev-4874-g57c84dd
FxDriverUnload Class Reference

#include <fxdrivercallbacks.hpp>

Inheritance diagram for FxDriverUnload:
Collaboration diagram for FxDriverUnload:

Public Member Functions

 FxDriverUnload (VOID)
void Invoke (__in WDFDRIVER Driver)
- Public Member Functions inherited from FxCallback
 FxCallback (__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType=NonPagedPool)
VOID operator delete (__in PVOID pointer)

Public Attributes


Additional Inherited Members

- Protected Member Functions inherited from FxCallback
void __inline CallbackStart (VOID)
void __inline CallbackEnd (VOID)

Detailed Description

Definition at line 75 of file fxdrivercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxDriverUnload()

FxDriverUnload::FxDriverUnload ( VOID  )

Definition at line 81 of file fxdrivercallbacks.hpp.

83  :
84  FxCallback()
85  {
86  Method = NULL;
87  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

void FxDriverUnload::Invoke ( __in WDFDRIVER  Driver)

Definition at line 90 of file fxdrivercallbacks.hpp.

93  {
94  if (Method != NULL) {
96  CallbackStart();
97  Method(Driver);
98  CallbackEnd();
99  return;
100  }
101  else {
102  return;
103  }
104  }
#define NULL
Definition: types.h:112
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74

Member Data Documentation

◆ Method

PFN_WDF_DRIVER_UNLOAD FxDriverUnload::Method

Definition at line 79 of file fxdrivercallbacks.hpp.

Referenced by FxDriverUnload(), FxDriver::Initialize(), and Invoke().

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