ReactOS  0.4.15-dev-3163-gf17c2c0
FxAutoIrp Struct Reference

#include <fxirp.hpp>

Inheritance diagram for FxAutoIrp:
Collaboration diagram for FxAutoIrp:

Public Member Functions

 FxAutoIrp (__in_opt MdIrp Irp=NULL)
 
 ~FxAutoIrp ()
 
- Public Member Functions inherited from FxIrp
 FxIrp ()
 
 FxIrp (MdIrp irp)
 
MdIrp SetIrp (MdIrp irp)
 
MdIrp GetIrp (VOID)
 
VOID CompleteRequest (__in_opt CCHAR PriorityBoost=IO_NO_INCREMENT)
 
NTSTATUS CallDriver (__in MdDeviceObject DeviceObject)
 
NTSTATUS PoCallDriver (__in MdDeviceObject DeviceObject)
 
VOID StartNextPowerIrp ()
 
MdCompletionRoutine GetNextCompletionRoutine (VOID)
 
VOID SetCompletionRoutine (__in MdCompletionRoutine CompletionRoutine, __in PVOID Context, __in BOOLEAN InvokeOnSuccess=TRUE, __in BOOLEAN InvokeOnError=TRUE, __in BOOLEAN InvokeOnCancel=TRUE)
 
VOID SetCompletionRoutineEx (__in MdDeviceObject DeviceObject, __in MdCompletionRoutine CompletionRoutine, __in PVOID Context, __in BOOLEAN InvokeOnSuccess=TRUE, __in BOOLEAN InvokeOnError=TRUE, __in BOOLEAN InvokeOnCancel=TRUE)
 
MdCancelRoutine SetCancelRoutine (__in_opt MdCancelRoutine CancelRoutine)
 
CHECK_RETURN_IF_USER_MODE NTSTATUS SendIrpSynchronously (__in MdDeviceObject DeviceObject)
 
VOID CopyCurrentIrpStackLocationToNext (VOID)
 
VOID CopyToNextIrpStackLocation (__in PIO_STACK_LOCATION Stack)
 
VOID SetNextIrpStackLocation (VOID)
 
UCHAR GetMajorFunction (VOID)
 
UCHAR GetMinorFunction (VOID)
 
UCHAR GetCurrentStackFlags (VOID)
 
MdFileObject GetCurrentStackFileObject (VOID)
 
KPROCESSOR_MODE GetRequestorMode (VOID)
 
VOID SetContext (__in ULONG Index, __in PVOID Value)
 
VOID SetSystemBuffer (__in PVOID Value)
 
VOID SetUserBuffer (__in PVOID Value)
 
VOID SetMdlAddress (__in PMDL Value)
 
VOID SetFlags (__in ULONG Flags)
 
PVOID GetContext (__in ULONG Index)
 
ULONG GetFlags (VOID)
 
PIO_STACK_LOCATION GetCurrentIrpStackLocation (VOID)
 
PIO_STACK_LOCATION GetNextIrpStackLocation (VOID)
 
VOID SkipCurrentIrpStackLocation (VOID)
 
VOID MarkIrpPending ()
 
BOOLEAN PendingReturned ()
 
VOID PropagatePendingReturned (VOID)
 
VOID SetStatus (__in NTSTATUS Status)
 
NTSTATUS GetStatus ()
 
BOOLEAN Cancel (VOID)
 
VOID SetCancel (__in BOOLEAN Cancel)
 
BOOLEAN IsCanceled ()
 
KIRQL GetCancelIrql ()
 
VOID SetInformation (__in ULONG_PTR Information)
 
ULONG_PTR GetInformation ()
 
CCHAR GetCurrentIrpStackLocationIndex ()
 
CCHAR GetStackCount ()
 
PLIST_ENTRY ListEntry ()
 
PVOID GetSystemBuffer ()
 
PVOID GetOutputBuffer ()
 
PMDL GetMdl ()
 
PMDLGetMdlAddressPointer ()
 
PVOID GetUserBuffer ()
 
VOID Reuse (__in NTSTATUS Status=STATUS_SUCCESS)
 
VOID SetMajorFunction (__in UCHAR MajorFunction)
 
VOID SetMinorFunction (__in UCHAR MinorFunction)
 
SYSTEM_POWER_STATE_CONTEXT GetParameterPowerSystemPowerStateContext ()
 
POWER_STATE_TYPE GetParameterPowerType ()
 
POWER_STATE GetParameterPowerState ()
 
DEVICE_POWER_STATE GetParameterPowerStateDeviceState ()
 
SYSTEM_POWER_STATE GetParameterPowerStateSystemState ()
 
POWER_ACTION GetParameterPowerShutdownType ()
 
MdFileObject GetFileObject (VOID)
 
DEVICE_RELATION_TYPE GetParameterQDRType ()
 
VOID SetParameterQDRType (__in DEVICE_RELATION_TYPE DeviceRelation)
 
PDEVICE_CAPABILITIES GetParameterDeviceCapabilities ()
 
VOID SetCurrentDeviceObject (__in MdDeviceObject DeviceObject)
 
MdDeviceObject GetDeviceObject (VOID)
 
VOID SetParameterDeviceCapabilities (__in PDEVICE_CAPABILITIES DeviceCapabilities)
 
LONGLONG GetParameterWriteByteOffsetQuadPart ()
 
VOID SetNextParameterWriteByteOffsetQuadPart (__in LONGLONG DeviceOffset)
 
ULONG GetCurrentParameterWriteLength ()
 
VOID SetNextParameterWriteLength (__in ULONG IoLength)
 
PVOIDGetNextStackParameterOthersArgument1Pointer ()
 
VOID SetNextStackParameterOthersArgument1 (__in PVOID Argument1)
 
PVOIDGetNextStackParameterOthersArgument2Pointer ()
 
PVOIDGetNextStackParameterOthersArgument4Pointer ()
 
PCM_RESOURCE_LIST GetParameterAllocatedResources ()
 
VOID SetParameterAllocatedResources (__in PCM_RESOURCE_LIST AllocatedResources)
 
PCM_RESOURCE_LIST GetParameterAllocatedResourcesTranslated ()
 
VOID SetParameterAllocatedResourcesTranslated (__in PCM_RESOURCE_LIST AllocatedResourcesTranslated)
 
LCID GetParameterQueryDeviceTextLocaleId ()
 
DEVICE_TEXT_TYPE GetParameterQueryDeviceTextType ()
 
BOOLEAN GetParameterSetLockLock ()
 
BUS_QUERY_ID_TYPE GetParameterQueryIdType ()
 
PINTERFACE GetParameterQueryInterfaceInterface ()
 
const GUIDGetParameterQueryInterfaceType ()
 
USHORT GetParameterQueryInterfaceVersion ()
 
USHORT GetParameterQueryInterfaceSize ()
 
PVOID GetParameterQueryInterfaceInterfaceSpecificData ()
 
VOID SetParameterQueryInterfaceInterface (__in PINTERFACE Interface)
 
VOID SetParameterQueryInterfaceType (__in const GUID *InterfaceType)
 
VOID SetParameterQueryInterfaceVersion (__in USHORT Version)
 
VOID SetParameterQueryInterfaceSize (__in USHORT Size)
 
VOID SetParameterQueryInterfaceInterfaceSpecificData (__in PVOID InterfaceSpecificData)
 
DEVICE_USAGE_NOTIFICATION_TYPE GetParameterUsageNotificationType ()
 
BOOLEAN GetParameterUsageNotificationInPath ()
 
VOID SetParameterUsageNotificationInPath (__in BOOLEAN InPath)
 
BOOLEAN GetNextStackParameterUsageNotificationInPath ()
 
ULONG GetParameterIoctlCode (VOID)
 
ULONG GetParameterIoctlCodeBufferMethod (VOID)
 
ULONG GetParameterIoctlInputBufferLength (VOID)
 
ULONG GetParameterIoctlOutputBufferLength (VOID)
 
PVOID GetParameterIoctlType3InputBuffer (VOID)
 
VOID SetParameterIoctlCode (__in ULONG DeviceIoControlCode)
 
VOID SetParameterIoctlInputBufferLength (__in ULONG InputBufferLength)
 
VOID SetParameterIoctlOutputBufferLength (__in ULONG OutputBufferLength)
 
VOID SetParameterIoctlType3InputBuffer (__in PVOID Type3InputBuffer)
 
ULONG GetParameterReadLength (VOID)
 
ULONG GetParameterWriteLength (VOID)
 
VOID SetNextStackFlags (__in UCHAR Flags)
 
VOID SetNextStackFileObject (_In_ MdFileObject FileObject)
 
PVOID GetCurrentParametersPointer (VOID)
 
VOID ClearNextStack (VOID)
 
VOID ClearNextStackLocation (VOID)
 
VOID InitNextStackUsingStack (__in FxIrp *Irp)
 
ULONG GetCurrentFlags (VOID)
 
VOID FreeIrp (VOID)
 
MdEThread GetThread (VOID)
 
BOOLEAN Is32bitProcess (VOID)
 
PIO_STATUS_BLOCK GetStatusBlock (VOID)
 
PVOID GetDriverContext ()
 
ULONG GetDriverContextSize ()
 
VOID CopyParameters (_Out_ PWDF_REQUEST_PARAMETERS Parameters)
 
VOID CopyStatus (_Out_ PIO_STATUS_BLOCK StatusBlock)
 
BOOLEAN HasStack (_In_ UCHAR StackCount)
 
BOOLEAN IsCurrentIrpStackLocationValid (VOID)
 
IWudfIoIrp * GetIoIrp (VOID)
 
IWudfPnpIrp * GetPnpIrp (VOID)
 

Additional Inherited Members

- Static Public Member Functions inherited from FxIrp
static PIO_STACK_LOCATION _GetAndClearNextStackLocation (__in MdIrp Irp)
 
static _Must_inspect_result_ MdIrp AllocateIrp (_In_ CCHAR StackSize, _In_opt_ FxDevice *Device=NULL)
 
static MdIrp GetIrpFromListEntry (__in PLIST_ENTRY Ple)
 
static _Must_inspect_result_ NTSTATUS RequestPowerIrp (__in MdDeviceObject DeviceObject, __in UCHAR MinorFunction, __in POWER_STATE PowerState, __in MdRequestPowerComplete CompletionFunction, __in PVOID Context)
 

Detailed Description

Definition at line 793 of file fxirp.hpp.

Constructor & Destructor Documentation

◆ FxAutoIrp()

FxAutoIrp::FxAutoIrp ( __in_opt MdIrp  Irp = NULL)
inline

Definition at line 795 of file fxirp.hpp.

797  :
798  FxIrp(Irp)
799  {
800  }
_In_ PIRP Irp
Definition: csq.h:116
FxIrp()
Definition: fxirp.hpp:37

◆ ~FxAutoIrp()

__inline FxAutoIrp::~FxAutoIrp ( )

Definition at line 1197 of file fxirpum.cpp.

1198 {
1199  if (m_Irp != NULL) {
1200  m_Irp->Release();
1201  m_Irp = NULL;
1202  }
1203 }
MdIrp m_Irp
Definition: fxirp.hpp:33
#define NULL
Definition: types.h:112

The documentation for this struct was generated from the following files: