ReactOS  0.4.15-dev-3173-g40ee59d
FxDriverDeviceAdd Class Reference

#include <fxdrivercallbacks.hpp>

Inheritance diagram for FxDriverDeviceAdd:
Collaboration diagram for FxDriverDeviceAdd:

Public Member Functions

 FxDriverDeviceAdd (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDRIVER Driver, __in PWDFDEVICE_INIT DeviceInit)
 
- Public Member Functions inherited from FxLockedCallback
 FxLockedCallback (VOID)
 
FxCallbackLockGetCallbackLockPtr (VOID)
 
void SetCallbackLockPtr (FxCallbackLock *Lock)
 

Public Attributes

PFN_WDF_DRIVER_DEVICE_ADD 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 36 of file fxdrivercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxDriverDeviceAdd()

FxDriverDeviceAdd::FxDriverDeviceAdd ( VOID  )
inline

Definition at line 41 of file fxdrivercallbacks.hpp.

43  :
45  {
46  Method = NULL;
47  }
FxLockedCallback(VOID)
Definition: fxcallback.hpp:89
PFN_WDF_DRIVER_DEVICE_ADD Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxDriverDeviceAdd::Invoke ( __in WDFDRIVER  Driver,
__in PWDFDEVICE_INIT  DeviceInit 
)
inline

Definition at line 51 of file fxdrivercallbacks.hpp.

55  {
56  if (Method != NULL) {
58  KIRQL irql = 0;
59 
63 
64  return status;
65  }
66  else {
67  return STATUS_UNSUCCESSFUL;
68  }
69  }
PFN_WDF_DRIVER_DEVICE_ADD Method
__inline void CallbackStart(__out PKIRQL PreviousIrql)
Definition: fxcallback.hpp:115
LONG NTSTATUS
Definition: precomp.h:26
KIRQL irql
Definition: wave.h:1
UCHAR KIRQL
Definition: env_spec_w32.h:591
__inline void CallbackEnd(__in KIRQL PreviousIrql)
Definition: fxcallback.hpp:126
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
#define NULL
Definition: types.h:112
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfcontrol.h:113
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83
static SERVICE_STATUS status
Definition: service.c:31
Definition: ps.c:97

Member Data Documentation

◆ Method


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