ReactOS  0.4.15-dev-2344-g8ddbfde
FxPnpDeviceUsageNotification Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceUsageNotification:
Collaboration diagram for FxPnpDeviceUsageNotification:

Public Member Functions

 FxPnpDeviceUsageNotification (VOID)
VOID Invoke (__in WDFDEVICE Device, __in WDF_SPECIAL_FILE_TYPE NotificationType, __in BOOLEAN InPath)
- 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 624 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceUsageNotification()

FxPnpDeviceUsageNotification::FxPnpDeviceUsageNotification ( VOID  )

Definition at line 629 of file fxpnpcallbacks.hpp.

631  : FxCallback(), m_Method(NULL)
632  {
633  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPnpDeviceUsageNotification::Invoke ( __in WDFDEVICE  Device,
__in WDF_SPECIAL_FILE_TYPE  NotificationType,
__in BOOLEAN  InPath 

Definition at line 636 of file fxpnpcallbacks.hpp.

641  {
642  if (m_Method != NULL) {
643  CallbackStart();
644  m_Method(Device, NotificationType, InPath);
645  CallbackEnd();
646  }
647  }
_In_ WDF_SPECIAL_FILE_TYPE NotificationType
Definition: wdfdevice.h:1024
_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

Referenced by FxPkgPnp::PnpDeviceUsageNotification().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_USAGE_NOTIFICATION FxPnpDeviceUsageNotification::m_Method

Definition at line 627 of file fxpnpcallbacks.hpp.

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

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