ReactOS 0.4.16-dev-197-g92996da
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

PFN_WDF_DEVICE_USAGE_NOTIFICATION m_Method
 

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  )
inline

Definition at line 629 of file fxpnpcallbacks.hpp.

632 {
633 }
PFN_WDF_DEVICE_USAGE_NOTIFICATION m_Method
#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 
)
inline

Definition at line 636 of file fxpnpcallbacks.hpp.

641 {
642 if (m_Method != NULL) {
645 CallbackEnd();
646 }
647 }
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_In_ WDF_SPECIAL_FILE_TYPE NotificationType
Definition: wdfdevice.h:1024

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: