ReactOS 0.4.15-dev-8102-g108db8f
FxCallback Class Reference

#include <fxcallback.hpp>

Inherited by FxChildListCreateDeviceCallback, FxChildListScanForChildrenCallback, FxDeviceProcessQueryInterfaceRequest, FxDmaTransactionConfigureChannel, FxDmaTransactionProgramOrReserveDma, FxDmaTransactionTransferComplete, FxDriverUnload, FxEvtDmaEnablerDisableCallback, FxEvtDmaEnablerEnableCallback, FxEvtDmaEnablerFillCallback, FxEvtDmaEnablerFlushCallback, FxEvtDmaEnablerSelfManagedIoStartCallback, FxEvtDmaEnablerSelfManagedIoStopCallback, FxIoInCallerContext, FxIoQueueForwardProgressAllocateResources, FxIoQueueForwardProgressAllocateResourcesReserved, FxIoQueueForwardProgressExamineIrp, FxIoTargetQueryRemove, FxIoTargetRemoveCanceled, FxIoTargetRemoveComplete, FxPnpDeviceD0Entry, FxPnpDeviceD0EntryPostInterruptsEnabled, FxPnpDeviceD0Exit, FxPnpDeviceD0ExitPreInterruptsDisabled, FxPnpDeviceEject, FxPnpDeviceFilterResourceRequirements, FxPnpDevicePrepareHardware, FxPnpDeviceQueryRemove, FxPnpDeviceQueryStop, FxPnpDeviceRelationsQuery, FxPnpDeviceReleaseHardware, FxPnpDeviceRemoveAddedResources, FxPnpDeviceReportedMissing, FxPnpDeviceResourceRequirementsQuery, FxPnpDeviceResourcesQuery, FxPnpDeviceSelfManagedIoCleanup, FxPnpDeviceSelfManagedIoFlush, FxPnpDeviceSelfManagedIoInit, FxPnpDeviceSelfManagedIoRestart, FxPnpDeviceSelfManagedIoSuspend, FxPnpDeviceSetLock, FxPnpDeviceSurpriseRemoval, FxPnpDeviceUsageNotification, FxPnpDeviceUsageNotificationEx, FxPnpStateCallback, FxPowerDeviceArmWakeFromS0, FxPowerDeviceArmWakeFromSx, FxPowerDeviceDisableWakeAtBus, FxPowerDeviceDisarmWakeFromS0, FxPowerDeviceDisarmWakeFromSx, FxPowerDeviceEnableWakeAtBus, FxPowerDeviceWakeFromS0Triggered, FxPowerDeviceWakeFromSxTriggered, FxPowerPolicyStateCallback, FxPowerStateCallback, FxRequestCancelCallback, FxRequestCompletionCallback, FxShutDown, FxWmiInstanceExecuteMethodCallback, FxWmiInstanceQueryInstanceCallback, FxWmiInstanceSetInstanceCallback, FxWmiInstanceSetItemCallback, and FxWmiProviderFunctionControlCallback.

Public Member Functions

 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)
 

Protected Member Functions

void __inline CallbackStart (VOID)
 
void __inline CallbackEnd (VOID)
 

Detailed Description

Definition at line 32 of file fxcallback.hpp.

Constructor & Destructor Documentation

◆ FxCallback()

FxCallback::FxCallback ( __in_opt PFX_DRIVER_GLOBALS  FxDriverGlobals = NULL)
inline

Definition at line 36 of file fxcallback.hpp.

39 {
40 UNREFERENCED_PARAMETER(FxDriverGlobals);
41 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317

Member Function Documentation

◆ CallbackEnd()

void __inline FxCallback::CallbackEnd ( VOID  )
inlineprotected

Definition at line 74 of file fxcallback.hpp.

77 {
78 // intentionally does nothing, visual place marker only for now
79 DO_NOTHING();
80 }
#define DO_NOTHING()
Definition: mxgeneral.h:32

Referenced by FxWmiInstanceSetInstanceCallback::__in_bcount(), FxWmiInstanceSetItemCallback::__in_bcount(), FxWmiInstanceQueryInstanceCallback::if(), FxWmiInstanceExecuteMethodCallback::if(), FxPnpStateCallback::Invoke(), FxPowerPolicyStateCallback::Invoke(), FxPowerStateCallback::Invoke(), FxChildListScanForChildrenCallback::Invoke(), FxChildListCreateDeviceCallback::Invoke(), FxShutDown::Invoke(), FxPnpDeviceSelfManagedIoCleanup::Invoke(), FxPnpDeviceSelfManagedIoFlush::Invoke(), FxPnpDeviceSelfManagedIoInit::Invoke(), FxPnpDeviceSelfManagedIoSuspend::Invoke(), FxPnpDeviceSelfManagedIoRestart::Invoke(), FxPnpDeviceQueryStop::Invoke(), FxPnpDeviceQueryRemove::Invoke(), FxPnpDeviceEject::Invoke(), FxPnpDeviceSurpriseRemoval::Invoke(), FxPnpDeviceReportedMissing::Invoke(), FxPowerDeviceDisableWakeAtBus::Invoke(), FxPowerDeviceArmWakeFromS0::Invoke(), FxPowerDeviceDisarmWakeFromS0::Invoke(), FxPowerDeviceDisarmWakeFromSx::Invoke(), FxPowerDeviceWakeFromSxTriggered::Invoke(), FxPowerDeviceWakeFromS0Triggered::Invoke(), FxPowerDeviceArmWakeFromSx::Invoke(), FxPnpDeviceSetLock::Invoke(), FxPnpDeviceRelationsQuery::Invoke(), FxDeviceProcessQueryInterfaceRequest::Invoke(), FxPowerDeviceEnableWakeAtBus::Invoke(), FxPnpDeviceD0Entry::Invoke(), FxPnpDeviceD0EntryPostInterruptsEnabled::Invoke(), FxPnpDeviceD0Exit::Invoke(), FxPnpDeviceD0ExitPreInterruptsDisabled::Invoke(), FxPnpDeviceUsageNotification::Invoke(), FxPnpDeviceUsageNotificationEx::Invoke(), FxPnpDeviceResourcesQuery::Invoke(), FxPnpDevicePrepareHardware::Invoke(), FxPnpDeviceRemoveAddedResources::Invoke(), FxPnpDeviceReleaseHardware::Invoke(), FxPnpDeviceFilterResourceRequirements::Invoke(), FxPnpDeviceResourceRequirementsQuery::Invoke(), FxIoInCallerContext::Invoke(), FxWmiProviderFunctionControlCallback::Invoke(), FxEvtDmaEnablerFillCallback::Invoke(), FxEvtDmaEnablerFlushCallback::Invoke(), FxEvtDmaEnablerEnableCallback::Invoke(), FxEvtDmaEnablerDisableCallback::Invoke(), FxEvtDmaEnablerSelfManagedIoStartCallback::Invoke(), FxEvtDmaEnablerSelfManagedIoStopCallback::Invoke(), FxDmaTransactionConfigureChannel::Invoke(), FxDmaTransactionTransferComplete::Invoke(), FxDriverUnload::Invoke(), FxIoTargetQueryRemove::Invoke(), FxIoTargetRemoveCanceled::Invoke(), FxIoTargetRemoveComplete::Invoke(), FxDmaTransactionProgramOrReserveDma::InvokeProgramDma(), and FxDmaTransactionProgramOrReserveDma::InvokeReserveDma().

◆ CallbackStart()

void __inline FxCallback::CallbackStart ( VOID  )
inlineprotected

Definition at line 64 of file fxcallback.hpp.

67 {
68 // intentionally does nothing, visual place marker only for now
69 DO_NOTHING();
70 }

Referenced by FxWmiInstanceSetInstanceCallback::__in_bcount(), FxWmiInstanceSetItemCallback::__in_bcount(), FxWmiInstanceQueryInstanceCallback::if(), FxWmiInstanceExecuteMethodCallback::if(), FxPnpStateCallback::Invoke(), FxPowerPolicyStateCallback::Invoke(), FxPowerStateCallback::Invoke(), FxChildListScanForChildrenCallback::Invoke(), FxChildListCreateDeviceCallback::Invoke(), FxShutDown::Invoke(), FxPnpDeviceSelfManagedIoCleanup::Invoke(), FxPnpDeviceSelfManagedIoFlush::Invoke(), FxPnpDeviceSelfManagedIoInit::Invoke(), FxPnpDeviceSelfManagedIoSuspend::Invoke(), FxPnpDeviceSelfManagedIoRestart::Invoke(), FxPnpDeviceQueryStop::Invoke(), FxPnpDeviceQueryRemove::Invoke(), FxPnpDeviceEject::Invoke(), FxPnpDeviceSurpriseRemoval::Invoke(), FxPnpDeviceReportedMissing::Invoke(), FxPowerDeviceDisableWakeAtBus::Invoke(), FxPowerDeviceArmWakeFromS0::Invoke(), FxPowerDeviceDisarmWakeFromS0::Invoke(), FxPowerDeviceDisarmWakeFromSx::Invoke(), FxPowerDeviceWakeFromSxTriggered::Invoke(), FxPowerDeviceWakeFromS0Triggered::Invoke(), FxPowerDeviceArmWakeFromSx::Invoke(), FxPnpDeviceSetLock::Invoke(), FxPnpDeviceRelationsQuery::Invoke(), FxDeviceProcessQueryInterfaceRequest::Invoke(), FxPowerDeviceEnableWakeAtBus::Invoke(), FxPnpDeviceD0Entry::Invoke(), FxPnpDeviceD0EntryPostInterruptsEnabled::Invoke(), FxPnpDeviceD0Exit::Invoke(), FxPnpDeviceD0ExitPreInterruptsDisabled::Invoke(), FxPnpDeviceUsageNotification::Invoke(), FxPnpDeviceUsageNotificationEx::Invoke(), FxPnpDeviceResourcesQuery::Invoke(), FxPnpDevicePrepareHardware::Invoke(), FxPnpDeviceRemoveAddedResources::Invoke(), FxPnpDeviceReleaseHardware::Invoke(), FxPnpDeviceFilterResourceRequirements::Invoke(), FxPnpDeviceResourceRequirementsQuery::Invoke(), FxIoInCallerContext::Invoke(), FxWmiProviderFunctionControlCallback::Invoke(), FxEvtDmaEnablerFillCallback::Invoke(), FxEvtDmaEnablerFlushCallback::Invoke(), FxEvtDmaEnablerEnableCallback::Invoke(), FxEvtDmaEnablerDisableCallback::Invoke(), FxEvtDmaEnablerSelfManagedIoStartCallback::Invoke(), FxEvtDmaEnablerSelfManagedIoStopCallback::Invoke(), FxDmaTransactionConfigureChannel::Invoke(), FxDmaTransactionTransferComplete::Invoke(), FxDriverUnload::Invoke(), FxIoTargetQueryRemove::Invoke(), FxIoTargetRemoveCanceled::Invoke(), FxIoTargetRemoveComplete::Invoke(), FxDmaTransactionProgramOrReserveDma::InvokeProgramDma(), and FxDmaTransactionProgramOrReserveDma::InvokeReserveDma().

◆ operator delete()

VOID FxCallback::operator delete ( __in PVOID  pointer)
inline

Definition at line 54 of file fxcallback.hpp.

57 {
59 }
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361
GLsizei const GLvoid * pointer
Definition: glext.h:5848

◆ operator new()

PVOID FxCallback::operator new ( __in size_t  Size,
__in PFX_DRIVER_GLOBALS  FxDriverGlobals,
__in POOL_TYPE  PoolType = NonPagedPool 
)
inline

Definition at line 44 of file fxcallback.hpp.

49 {
50 return FxPoolAllocate(FxDriverGlobals, PoolType, Size);
51 }
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3815
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

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