ReactOS  0.4.15-dev-5487-ge7bbbf0
FxPnpDeviceSurpriseRemoval Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceSurpriseRemoval:
Collaboration diagram for FxPnpDeviceSurpriseRemoval:

Public Member Functions

 FxPnpDeviceSurpriseRemoval (VOID)
VOID 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


Additional Inherited Members

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

Detailed Description

Definition at line 600 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceSurpriseRemoval()

FxPnpDeviceSurpriseRemoval::FxPnpDeviceSurpriseRemoval ( VOID  )

Definition at line 605 of file fxpnpcallbacks.hpp.

607  : FxCallback(), m_Method(NULL)
608  {
609  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPnpDeviceSurpriseRemoval::Invoke ( __in WDFDEVICE  Device)

Definition at line 612 of file fxpnpcallbacks.hpp.

615  {
616  if (m_Method != NULL) {
617  CallbackStart();
618  m_Method(Device);
619  CallbackEnd();
620  }
621  }
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_SURPRISE_REMOVAL FxPnpDeviceSurpriseRemoval::m_Method

Definition at line 603 of file fxpnpcallbacks.hpp.

Referenced by Invoke(), and FxPkgPnp::RegisterCallbacks().

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