ReactOS 0.4.16-dev-91-g764881a
FxPnpDeviceSelfManagedIoRestart Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceSelfManagedIoRestart:
Collaboration diagram for FxPnpDeviceSelfManagedIoRestart:

Public Member Functions

 FxPnpDeviceSelfManagedIoRestart (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device)
 
- 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

PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 406 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceSelfManagedIoRestart()

FxPnpDeviceSelfManagedIoRestart::FxPnpDeviceSelfManagedIoRestart ( VOID  )
inline

Definition at line 411 of file fxpnpcallbacks.hpp.

413 : m_Method(NULL)
414 {
415 }
PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceSelfManagedIoRestart::Invoke ( __in WDFDEVICE  Device)
inline

Definition at line 419 of file fxpnpcallbacks.hpp.

422 {
423 if (m_Method != NULL) {
425
428 CallbackEnd();
429
430 return status;
431 }
432 else {
433 return STATUS_SUCCESS;
434 }
435 }
LONG NTSTATUS
Definition: precomp.h:26
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
#define STATUS_SUCCESS
Definition: shellext.h:65
Definition: ps.c:97
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART FxPnpDeviceSelfManagedIoRestart::m_Method

Definition at line 409 of file fxpnpcallbacks.hpp.

Referenced by FxSelfManagedIoMachine::InitializeMachine(), and Invoke().


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