ReactOS  0.4.15-dev-3723-g8d70159
FxPnpDeviceSelfManagedIoSuspend Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceSelfManagedIoSuspend:
Collaboration diagram for FxPnpDeviceSelfManagedIoSuspend:

Public Member Functions

 FxPnpDeviceSelfManagedIoSuspend (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_SUSPEND m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 374 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceSelfManagedIoSuspend()

FxPnpDeviceSelfManagedIoSuspend::FxPnpDeviceSelfManagedIoSuspend ( VOID  )
inline

Definition at line 379 of file fxpnpcallbacks.hpp.

381  : m_Method(NULL)
382  {
383  }
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND m_Method

Member Function Documentation

◆ Invoke()

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

Definition at line 387 of file fxpnpcallbacks.hpp.

390  {
391  if (m_Method != NULL) {
393 
394  CallbackStart();
396  CallbackEnd();
397 
398  return status;
399  }
400  else {
401  return STATUS_SUCCESS;
402  }
403  }
LONG NTSTATUS
Definition: precomp.h:26
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND m_Method
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
#define STATUS_SUCCESS
Definition: shellext.h:65
static SERVICE_STATUS status
Definition: service.c:31
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
Definition: ps.c:97

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND FxPnpDeviceSelfManagedIoSuspend::m_Method

Definition at line 377 of file fxpnpcallbacks.hpp.

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


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