ReactOS 0.4.16-dev-297-gc569aee
fxdevice.hpp File Reference
#include "fxcxdeviceinit.hpp"
#include "fxdeviceinit.hpp"
#include "fxtelemetry.hpp"
#include "fxdevicekm.hpp"
Include dependency graph for fxdevice.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FxWdmDeviceExtension
 
class  FxDeviceBase
 
class  FxDevice
 
class  FxMpDevice
 

Macros

#define FX_DISPATCH_IRP_TO_IO_QUEUE_FLAGS_MASK
 

Enumerations

enum  FxDmaPacketTransactionStatus { FxDmaPacketTransactionCompleted =0 , FxDmaPacketTransactionPending }
 
enum  FxDeviceRemLockAction { FxDeviceRemLockNotRequired = 0 , FxDeviceRemLockRequired , FxDeviceRemLockTestValid , FxDeviceRemLockOptIn }
 
enum  FxPropertyType { FxDeviceProperty = 0 , FxInterfaceProperty }
 

Functions

WDF_FILEOBJECT_CLASS __inline FxFileObjectClassNormalize (__in WDF_FILEOBJECT_CLASS FileObjectClass)
 
BOOLEAN __inline FxIsFileObjectOptional (__in WDF_FILEOBJECT_CLASS FileObjectClass)
 

Macro Definition Documentation

◆ FX_DISPATCH_IRP_TO_IO_QUEUE_FLAGS_MASK

#define FX_DISPATCH_IRP_TO_IO_QUEUE_FLAGS_MASK
Value:

Definition at line 93 of file fxdevice.hpp.

Enumeration Type Documentation

◆ FxDeviceRemLockAction

Enumerator
FxDeviceRemLockNotRequired 
FxDeviceRemLockRequired 
FxDeviceRemLockTestValid 
FxDeviceRemLockOptIn 

Definition at line 78 of file fxdevice.hpp.

78 {
83};
@ FxDeviceRemLockRequired
Definition: fxdevice.hpp:80
@ FxDeviceRemLockTestValid
Definition: fxdevice.hpp:81
@ FxDeviceRemLockNotRequired
Definition: fxdevice.hpp:79
@ FxDeviceRemLockOptIn
Definition: fxdevice.hpp:82

◆ FxDmaPacketTransactionStatus

Enumerator
FxDmaPacketTransactionCompleted 
FxDmaPacketTransactionPending 

Definition at line 67 of file fxdevice.hpp.

67 {
70};
@ FxDmaPacketTransactionCompleted
Definition: fxdevice.hpp:68
@ FxDmaPacketTransactionPending
Definition: fxdevice.hpp:69

◆ FxPropertyType

Enumerator
FxDeviceProperty 
FxInterfaceProperty 

Definition at line 85 of file fxdevice.hpp.

85 {
88};
@ FxDeviceProperty
Definition: fxdevice.hpp:86
@ FxInterfaceProperty
Definition: fxdevice.hpp:87

Function Documentation

◆ FxFileObjectClassNormalize()

WDF_FILEOBJECT_CLASS __inline FxFileObjectClassNormalize ( __in WDF_FILEOBJECT_CLASS  FileObjectClass)

Definition at line 103 of file fxdevice.hpp.

106{
107 return (WDF_FILEOBJECT_CLASS)(FileObjectClass & ~WdfFileObjectCanBeOptional);
108}
enum _WDF_FILEOBJECT_CLASS WDF_FILEOBJECT_CLASS

Referenced by FxFileObject::_CreateFileObject(), FxFileObject::_DestroyFileObject(), FxFileObject::_GetFileObjectFromWdm(), FX_VF_METHOD(), and if().

◆ FxIsFileObjectOptional()

BOOLEAN __inline FxIsFileObjectOptional ( __in WDF_FILEOBJECT_CLASS  FileObjectClass)

Definition at line 112 of file fxdevice.hpp.

115{
116 return (FileObjectClass & WdfFileObjectCanBeOptional) ? TRUE : FALSE;
117}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
@ WdfFileObjectCanBeOptional
Definition: wdfdevice.h:464

Referenced by FxFileObject::_GetFileObjectFromWdm(), FxPkgGeneral::ConfigureFileObjectClass(), and FxRequest::GetFileObject().