ReactOS 0.4.16-dev-197-g92996da
vffxdynamics.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

_Must_inspect_result_ _IRQL_requires_max_ (PASSIVE_LEVEL) WDFAPI NTSTATUS VFWDFEXPORT(WdfChildListCreate)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 Queries information details about a security descriptor.
 
 _IRQL_requires_max_ (DISPATCH_LEVEL) WDFAPI WDFDEVICE VFWDFEXPORT(WdfChildListGetDevice)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _When_ (Length==0, __drv_reportError(Length cannot be zero)) size_t Length
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT _In_ PFN_WDFCXDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _When_ (NumMinorFunctions > 0, _In_reads_bytes_(NumMinorFunctions)) _When_(NumMinorFunctions
 
WDFAPI VOID VFWDFEXPORT() WdfCxVerifierKeBugCheck (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_opt_ WDFOBJECT Object, _In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_writes_bytes_all_ (BufferLength) PVOID PropertyBuffer
 
_Must_inspect_result_ _When_ (WaitForD0==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(WaitForD0 !=0
 
_Must_inspect_result_ _IRQL_requires_max_ (APC_LEVEL) WDFAPI NTSTATUS VFWDFEXPORT(WdfDeviceQueryPropertyEx)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 Probes and locks virtual pages in memory for the specified process.
 
_In_ WDFDMAENABLER _In_ _When_ (MaximumFragments==0, __drv_reportError(MaximumFragments cannot be zero)) size_t MaximumFragments)
 
 _Success_ (TRUE) _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS VFWDFEXPORT(WdfDmaTransactionRelease)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
 _IRQL_requires_max_ (HIGH_LEVEL) WDFAPI BOOLEAN VFWDFEXPORT(WdfDpcEnqueue)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
 _When_ (Wait==__true, _IRQL_requires_max_(PASSIVE_LEVEL)) _When_(Wait
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_writes_bytes_all_opt_ (BufferLength) PVOID PropertyBuffer
 
WDFAPI BOOLEAN VFWDFEXPORT() WdfInterruptQueueDpcForIsr (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
 
WDFAPI BOOLEAN VFWDFEXPORT() WdfInterruptQueueWorkItemForIsr (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
 
 _IRQL_requires_max_ (DISPATCH_LEVEL+1) WDFAPI VOID VFWDFEXPORT(WdfInterruptAcquireLock)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
_In_ _Requires_lock_not_held_ (_Curr_) _Acquires_lock_(_Curr_) WDFINTERRUPT Interrupt)
 
_In_ _Requires_lock_held_ (_Curr_) _Releases_lock_(_Curr_) WDFINTERRUPT Interrupt)
 
_Must_inspect_result_ WDFAPI PKINTERRUPT VFWDFEXPORT() WdfInterruptWdmGetInterrupt (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
 
WDFAPI WDFDEVICE VFWDFEXPORT() WdfInterruptGetDevice (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
 
_Must_inspect_result_ _Post_satisfies_ (return==1||return==0) _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI BOOLEAN VFWDFEXPORT(WdfInterruptTryToAcquireLock)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
_Must_inspect_result_ _In_ _Acquires_lock_ (_Curr_)) WDFINTERRUPT Interrupt)
 
_In_ WDFQUEUE _When_ (Context !=0, _In_) _When_(Context
 
_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE _When_ (StopComplete !=0, _In_) _When_(StopComplete
 
 _When_ (Action==3, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(Action
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _When_ (BufferLength !=0, _Out_writes_bytes_to_opt_(BufferLength, *ResultLength)) _When_(BufferLength
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_opt_ PVOID _Deref_out_range_ (<=, BufferLength) PULONG ResultLength)
 
_Must_inspect_result_ _When_ (PoolType==1||PoolType==257, _IRQL_requires_max_(APC_LEVEL)) _When_(PoolType
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _When_ (BufferSize==0, __drv_reportError(BufferSize cannot be zero)) size_t BufferSize
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ (BufferSize) PVOID *Buffer)
 
_Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ _Pre_writable_byte_size_ (BufferSize) PVOID Buffer
 
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _Out_writes_bytes_ (NumBytesToCopyTo) PVOID Buffer
 
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _In_ _When_ (NumBytesToCopyTo==0, __drv_reportError(NumBytesToCopyTo cannot be zero)) size_t NumBytesToCopyTo)
 
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _In_ PVOID _In_ _When_ (NumBytesToCopyFrom==0, __drv_reportError(NumBytesToCopyFrom cannot be zero)) size_t NumBytesToCopyFrom)
 
WDFAPI VOID VFWDFEXPORT() WdfDriverMiniportUnload (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFDRIVER Driver)
 
WDFAPI PVOID FASTCALL VFWDFEXPORT() WdfObjectGetTypedContextWorker (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo)
 
WDFAPI NTSTATUS VFWDFEXPORT() WdfObjectAllocateContext (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PWDF_OBJECT_ATTRIBUTES ContextAttributes, _Outptr_opt_ PVOID *Context)
 
WDFAPI WDFOBJECT FASTCALL VFWDFEXPORT() WdfObjectContextGetObject (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ PVOID ContextPointer)
 
WDFAPI VOID VFWDFEXPORT() WdfObjectReferenceActual (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File)
 
WDFAPI VOID VFWDFEXPORT() WdfObjectDereferenceActual (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File)
 
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID _In_ ULONG _Out_writes_bytes_ (QueryBufferLength) PVOID QueryBuffer)
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_writes_bytes_opt_ (ValueLength) PVOID Value
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _In_ ULONG _In_reads_ (ValueLength) PVOID Value)
 
_Must_inspect_result_ WDFAPI BOOLEAN VFWDFEXPORT() WdfRequestSend (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFREQUEST Request, _In_ WDFIOTARGET Target, _In_opt_ PWDF_REQUEST_SEND_OPTIONS Options)
 
_Must_inspect_result_ _In_ WDFREQUEST _In_reads_bytes_ (Length) PVOID Buffer
 
 _When_ (Timeout==NULL, _IRQL_requires_max_(PASSIVE_LEVEL)) _When_(Timeout !
 
 _Acquires_lock_ (Lock))) _When_(Timeout !
 
_Must_inspect_result_ WDFAPI NTSTATUS VFWDFEXPORT() WdfWaitLockAcquire (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ _Requires_lock_not_held_(_Curr_) WDFWAITLOCK Lock, _In_opt_ PLONGLONG Timeout)
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_reads_ (_Inexpressible_("union bug in SAL")) PURB Urb)
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _When_ (CapabilityBufferLength==0, _Out_opt_) _When_(CapabilityBufferLength !=0 &&ResultLength
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _Out_writes_bytes_ (CapabilityBufferLength)) _When_(CapabilityBufferLength !=0 &&ResultLength !
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _Out_writes_bytes_to_opt_ (CapabilityBufferLength, *ResultLength)) PVOID CapabilityBuffer
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _Out_opt_ _When_ (ResultLength !=NULL, _Deref_out_range_(<=, CapabilityBufferLength)) PULONG ResultLength)
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ (sizeof(URB)) PURB *Urb)
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ ULONG _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ (GET_ISO_URB_SIZE(NumberOfIsochPackets)) PURB *Urb)
 
WDFAPI VOID VFWDFEXPORT() WdfVerifierDbgBreakPoint (_In_ PWDF_DRIVER_GLOBALS DriverGlobals)
 
WDFAPI VOID VFWDFEXPORT() WdfVerifierKeBugCheck (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
 
WDFAPI PVOID VFWDFEXPORT() WdfGetTriageInfo (_In_ PWDF_DRIVER_GLOBALS DriverGlobals)
 
_Must_inspect_result_ _In_ WDFWMIINSTANCE _In_opt_ ULONG _In_reads_bytes_opt_ (EventDataSize) PVOID EventData)
 

Variables

_Must_inspect_result_ _In_ WDFDEVICE Device
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG Config
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES ChildListAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCHILDLIST * ChildList
 
_Must_inspect_result_ _In_ WDFCHILDLIST _Inout_ PWDF_CHILD_RETRIEVE_INFO RetrieveInfo
 
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER IdentificationDescription
 
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER _Inout_ PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER AddressDescription
 
_In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR Iterator
 
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES CollectionAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
 
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
 
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
 
_In_ WDFCOLLECTION _In_ ULONG Index
 
_Must_inspect_result_ _In_ WDFDMAENABLER DmaEnabler
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOMMONBUFFER * CommonBuffer
 
_Must_inspect_result_ _In_ WDFDRIVER Driver
 
_Must_inspect_result_ _In_ WDFDRIVER _In_ CONST UNICODE_STRINGSDDLString
 
_In_ PWDFDEVICE_INIT DeviceInit
 
_In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION Notification
 
_In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION _In_ UCHAR Flags
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT CxDeviceInit
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT _In_ PFN_WDFCXDEVICE_WDM_IRP_PREPROCESS EvtCxDeviceWdmIrpPreprocess
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT _In_ PFN_WDFCXDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR MajorFunction
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT _In_ PFN_WDFCXDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR MinorFunctions
 
_Must_inspect_result_ _In_ PWDFCXDEVICE_INIT _In_ PFN_WDFCXDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR _In_ ULONG NumMinorFunctions
 
_In_ PWDFCXDEVICE_INIT _In_ PFN_WDF_IO_IN_CALLER_CONTEXT EvtIoInCallerContext
 
_In_ PWDFCXDEVICE_INIT _In_ PWDF_OBJECT_ATTRIBUTES RequestAttributes
 
_In_ PWDFCXDEVICE_INIT _In_ PWDFCX_FILEOBJECT_CONFIG CxFileObjectConfig
 
_In_ PWDFCXDEVICE_INIT _In_ PWDFCX_FILEOBJECT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES FileObjectAttributes
 
_In_ WDFDEVICE _Out_ PWDF_DEVICE_STATE DeviceState
 
_In_ PDEVICE_OBJECT DeviceObject
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP Irp
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFCONTEXT DispatchContext
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT DependentDevice
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG DeviceInstanceKeyType
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
 
_In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE FileType
 
_In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE _In_ BOOLEAN FileTypeIsSupported
 
_In_ WDFDEVICE _In_ ULONG DeviceCharacteristics
 
_In_ WDFDEVICE _In_ ULONG AlignmentRequirement
 
_In_ PWDFDEVICE_INIT _In_ PWDF_PNPPOWER_EVENT_CALLBACKS PnpPowerEventCallbacks
 
_In_ PWDFDEVICE_INIT _In_ PWDF_POWER_POLICY_EVENT_CALLBACKS PowerPolicyEventCallbacks
 
_In_ PWDFDEVICE_INIT _In_ BOOLEAN IsPowerPolicyOwner
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE PnpState
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION EvtDevicePnpStateChange
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION _In_ ULONG CallbackTypes
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE _In_ PFN_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION EvtDevicePowerStateChange
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_POLICY_STATE PowerPolicyState
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_POLICY_STATE _In_ PFN_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION EvtDevicePowerPolicyStateChange
 
_In_ PWDFDEVICE_INIT _In_ BOOLEAN IsExclusive
 
_In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_IO_TYPE IoType
 
_In_ PWDFDEVICE_INIT _In_ DEVICE_TYPE DeviceType
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
 
_In_ PWDFDEVICE_INIT _In_ CONST GUIDDeviceClassGuid
 
_In_ PWDFDEVICE_INIT _In_ ULONG _In_ BOOLEAN OrInValues
 
_In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG FileObjectConfig
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS EvtDeviceWdmIrpPreprocess
 
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
 
_Must_inspect_result_ _Inout_ PWDFDEVICE_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES DeviceAttributes
 
_In_ WDFDEVICE _In_ BOOLEAN Stoppable
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUIDInterfaceClassGUID
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString
 
_In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING _In_ BOOLEAN IsInterfaceEnabled
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING SymbolicLinkName
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
 
_In_ WDFDEVICE _In_ PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities
 
_In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities
 
_In_ WDFDEVICE _In_ PPNP_BUS_INFORMATION BusInformation
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ NTSTATUS WaitWakeStatus
 
_In_ WDFDEVICE _In_ WDF_DEVICE_FAILED_ACTION FailedAction
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN WaitForD0
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG Line
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG _In_z_ PCHAR File
 
_In_ WDFDEVICE _In_ PFILE_OBJECT FileObject
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFREQUEST Request
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFQUEUE _In_ _Strict_type_match_ WDF_REQUEST_TYPE RequestType
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDisptach
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH _In_opt_ WDFCONTEXT DriverContext
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_POWER_FRAMEWORK_SETTINGS PowerFrameworkSettings
 
_In_ PWDFDEVICE_INIT _In_ WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE ReleaseHardwareOrderOnFailure
 
_In_ PWDFDEVICE_INIT _In_ PWDF_IO_TYPE_CONFIG IoTypeConfig
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG _In_opt_ PVOID Data
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DMA_ENABLER_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDMAENABLER * DmaEnablerHandle
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ PWDF_DMA_SYSTEM_PROFILE_CONFIG ProfileConfig
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ PWDF_DMA_SYSTEM_PROFILE_CONFIG _In_ WDF_DMA_DIRECTION ConfigDirection
 
_In_ WDFDMAENABLER _In_ WDF_DMA_DIRECTION DmaDirection
 
_Must_inspect_result_ _In_ WDFDMAENABLER _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDMATRANSACTION * DmaTransaction
 
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA EvtProgramDmaFunction
 
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL Mdl
 
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
 
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ size_t Offset
 
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_opt_ WDFCONTEXT Context
 
_In_ WDFDMATRANSACTION _Out_ NTSTATUSStatus
 
_In_ WDFDMATRANSACTION _In_ size_t TransferredLength
 
_In_ WDFDMATRANSACTION _In_ size_t FinalTransferredLength
 
_In_ WDFDMATRANSACTION _In_ size_t MaximumLength
 
_In_ WDFDMATRANSACTION _Out_opt_ ULONGMapRegisterCount
 
_In_ WDFDMATRANSACTION _Out_opt_ ULONG _Out_opt_ ULONGScatterGatherElementCount
 
_In_ WDFDMATRANSACTION _In_opt_ PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL ConfigureRoutine
 
_In_ WDFDMATRANSACTION _In_opt_ PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL _In_opt_ PVOID ConfigureContext
 
_In_ WDFDMATRANSACTION _In_opt_ PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE DmaCompletionRoutine
 
_In_ WDFDMATRANSACTION _In_opt_ PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE _In_opt_ PVOID DmaCompletionContext
 
_In_ WDFDMATRANSACTION _In_ BOOLEAN UseImmediateExecution
 
_In_ WDFDMATRANSACTION _In_ WDF_DMA_DIRECTION _In_ ULONG RequiredMapRegisters
 
_In_ WDFDMATRANSACTION _In_ WDF_DMA_DIRECTION _In_ ULONG _In_ PFN_WDF_RESERVE_DMA EvtReserveDmaFunction
 
_In_ WDFDMATRANSACTION _In_ WDF_DMA_DIRECTION _In_ ULONG _In_ PFN_WDF_RESERVE_DMA _In_ PVOID EvtReserveDmaContext
 
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
 
_In_ WDFDPC _In_ BOOLEAN Wait
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES DriverAttributes
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_DRIVER_CONFIG DriverConfig
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PFN_WDF_TRACE_CALLBACK EvtTraceCallback
 
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PFN_WDF_TRACE_CALLBACK _In_ PVOID ControlBlock
 
_Must_inspect_result_ _In_ WDFDRIVER _In_ PWDF_DRIVER_VERSION_AVAILABLE_PARAMS VersionAvailableParams
 
_In_ PWDFDEVICE_INIT _In_ PWDF_FDO_EVENT_CALLBACKS FdoEventCallbacks
 
_Inout_ PWDFDEVICE_INIT _In_ PWDF_CHILD_LIST_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES DefaultChildListAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE Fdo
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDEVICE PreviousChild
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG Configuration
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
 
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
 
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY Policy
 
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
 
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY _In_ KAFFINITY TargetProcessorSet
 
_In_ WDFINTERRUPT _In_ PWDF_INTERRUPT_EXTENDED_POLICY PolicyAndGroup
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_IO_QUEUE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES QueueAttributes
 
_In_ WDFQUEUE _Out_opt_ PULONG QueueRequests
 
_In_ WDFQUEUE _Out_opt_ PULONG _Out_opt_ PULONG DriverRequests
 
_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE StopComplete
 
_Must_inspect_result_ _In_ WDFQUEUE _Out_ WDFREQUEST * OutRequest
 
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST FoundRequest
 
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
 
_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE DrainComplete
 
_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE PurgeComplete
 
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE QueueReady
 
_Must_inspect_result_ _In_ WDFQUEUE _In_ PWDF_IO_QUEUE_FORWARD_PROGRESS_POLICY ForwardProgressPolicy
 
_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE StopAndPurgeComplete
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES IoTargetAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIOTARGET * IoTarget
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ PWDF_IO_TARGET_OPEN_PARAMS OpenParams
 
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG DeviceOffset
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS RequestOptions
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesRead
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OutputBufferOffset
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesWritten
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET InputBufferOffset
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG IoctlCode
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesReturned
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg1
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg2
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg4
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg1Offset
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg2Offset
 
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg4Offset
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ __drv_aliasesMem PVOID Buffer
 
_In_ WDFMEMORY _Out_opt_ size_tBufferSize
 
_Must_inspect_result_ _In_ WDFMEMORY SourceMemory
 
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
 
_Must_inspect_result_ _In_ WDFMEMORY DestinationMemory
 
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t DestinationOffset
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES LookasideAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES MemoryAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_opt_ ULONG _Out_ WDFLOOKASIDE * Lookaside
 
_Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT AttachedDeviceObject
 
_Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
 
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUIDGuid
 
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID _In_ ULONG QueryBufferLength
 
_Must_inspect_result_ _In_ WDFDEVICE ParentDevice
 
_In_ PWDFDEVICE_INIT _In_ PWDF_PDO_EVENT_CALLBACKS DispatchTable
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceID
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING InstanceID
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING HardwareID
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING CompatibleID
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING ContainerID
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceDescription
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING DeviceLocation
 
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig
 
_Must_inspect_result_ _In_opt_ WDFKEY ParentKey
 
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG CreateOptions
 
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG _Out_opt_ PULONG CreateDisposition
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_opt_ PULONG ValueLengthQueried
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_opt_ PULONG _Out_opt_ PULONG ValueType
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES StringsAttributes
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT ValueByteLength
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _In_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET MemoryOffsets
 
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ WDFCOLLECTION StringsCollection
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PIRP _In_ BOOLEAN RequestFreesIrp
 
_In_ WDFREQUEST _In_ PWDF_REQUEST_REUSE_PARAMS ReuseParams
 
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
 
_In_ WDFREQUEST _In_ PFN_WDF_REQUEST_CANCEL EvtRequestCancel
 
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE CompletionRoutine
 
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
 
_In_ WDFREQUEST _Out_ PWDF_REQUEST_COMPLETION_PARAMS Params
 
_In_ WDFREQUEST _In_ NTSTATUS _In_ CCHAR PriorityBoost
 
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t MinimumRequiredLength
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t _Outptr_result_bytebuffer_ Length PVOID _Out_opt_ size_tLength
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t MinimumRequiredSize
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t _Out_ WDFMEMORY * MemoryObject
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ WDFQUEUE DestinationQueue
 
_In_ WDFREQUEST _In_ BOOLEAN Requeue
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ WDFQUEUE ParentDeviceQueue
 
_Must_inspect_result_ _In_ WDFREQUEST _In_ WDFQUEUE _In_ PWDF_REQUEST_FORWARD_OPTIONS ForwardOptions
 
_In_ WDFIORESREQLIST RequirementsList
 
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
 
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST IoResList
 
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
 
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
 
_Must_inspect_result_ _In_ WDFCMRESLIST List
 
_Must_inspect_result_ _In_opt_ PCUNICODE_STRING UnicodeString
 
_Must_inspect_result_ _In_opt_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES StringAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES LockAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES SpinLockAttributes
 
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
 
_Must_inspect_result_ _In_ PWDF_TIMER_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFTIMER * Timer
 
_In_ WDFTIMER _In_ LONGLONG DueTime
 
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFUSBDEVICE * UsbDevice
 
_In_ WDFUSBDEVICE _Out_ PUSB_DEVICE_DESCRIPTOR UsbDeviceDescriptor
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _Out_writes_bytes_to_opt_ ConfigDescriptorLength PVOID ConfigDescriptor
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _Out_writes_bytes_to_opt_ ConfigDescriptorLength PVOID _Inout_ PUSHORT ConfigDescriptorLength
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT NumCharacters
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR StringIndex
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR _In_opt_ USHORT LangID
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES StringMemoryAttributes
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * StringMemory
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES PipeAttributes
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _Out_ PULONG CurrentFrameNumber
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_ PWDF_USB_CONTROL_SETUP_PACKET SetupPacket
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ PWDF_MEMORY_DESCRIPTOR MemoryDescriptor
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ PWDF_MEMORY_DESCRIPTOR _Out_opt_ PULONG BytesTransferred
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ WDFMEMORY TransferMemory
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET TransferOffset
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY UrbMemory
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET UrbMemoryOffset
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUIDCapabilityType
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG CapabilityBufferLength
 
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ ULONG NumberOfIsochPackets
 
_In_ WDFUSBPIPE Pipe
 
_In_ WDFUSBPIPE _Out_ PWDF_USB_PIPE_INFORMATION PipeInformation
 
_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY WriteMemory
 
_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET WriteOffset
 
_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY ReadMemory
 
_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET ReadOffset
 
_Must_inspect_result_ _In_ WDFUSBPIPE PIPE
 
_In_ WDFUSBINTERFACE UsbInterface
 
_In_ WDFUSBINTERFACE _In_ UCHAR SettingIndex
 
_In_ WDFUSBINTERFACE _In_ UCHAR _Out_ PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor
 
_Must_inspect_result_ _In_ WDFUSBINTERFACE _In_opt_ PWDF_OBJECT_ATTRIBUTES PipesAttributes
 
_In_ WDFUSBINTERFACE _In_ UCHAR _In_ UCHAR EndpointIndex
 
_In_ WDFUSBINTERFACE _In_ UCHAR _In_ UCHAR _Out_ PWDF_USB_PIPE_INFORMATION EndpointInfo
 
_In_ WDFUSBDEVICE _In_ UCHAR InterfaceIndex
 
_In_ WDFUSBINTERFACE _In_ UCHAR PipeIndex
 
_In_ WDFUSBINTERFACE _In_ UCHAR _Out_opt_ PWDF_USB_PIPE_INFORMATION PipeInfo
 
_In_ WDFUSBPIPE UsbPipe
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_PROVIDER_CONFIG WmiProviderConfig
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_PROVIDER_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES ProviderAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_PROVIDER_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWMIPROVIDER * WmiProvider
 
_In_ WDFWMIPROVIDER _In_ WDF_WMI_PROVIDER_CONTROL ProviderControl
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG InstanceConfig
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES InstanceAttributes
 
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
 
_Must_inspect_result_ _In_ WDFWMIINSTANCE WmiInstance
 
_Must_inspect_result_ _In_ WDFWMIINSTANCE _In_opt_ ULONG EventDataSize
 
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem
 

Function Documentation

◆ _Acquires_lock_() [1/2]

_Must_inspect_result_ _In_ _Acquires_lock_ ( _Curr_  )

Definition at line 3816 of file vfwdfdynamics.cpp.

3819{
3821 return ((PFN_WDFINTERRUPTTRYTOACQUIRELOCK) WdfVersion.Functions.pfnWdfInterruptTryToAcquireLock)(DriverGlobals, Interrupt);
3822}
DriverGlobals
WDFVERSION WdfVersion
PAGED_CODE_LOCKED()
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
PFN_WDFINTERRUPTTRYTOACQUIRELOCK pfnWdfInterruptTryToAcquireLock
Definition: fxdynamics.h:549
WDFFUNCTIONS Functions
Definition: fxdynamics.h:594

◆ _Acquires_lock_() [2/2]

_Acquires_lock_ ( Lock  )

◆ _Deref_out_range_()

Definition at line 4359 of file vfwdfdynamics.cpp.

4362{
4364#pragma prefast(suppress: __WARNING_HIGH_PRIORITY_OVERFLOW_POSTCONDITION, "This is a verifier DDI hook routine and all it does is call original routine.")
4366}
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIOTARGET * IoTarget
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
PropertyBuffer
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
PFN_WDFIOTARGETQUERYTARGETPROPERTY pfnWdfIoTargetQueryTargetProperty
Definition: fxdynamics.h:226

◆ _In_reads_() [1/2]

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_reads_ ( _Inexpressible_("union bug in SAL")  )

Definition at line 7480 of file vfwdfdynamics.cpp.

7483{
7485 return ((PFN_WDFUSBTARGETDEVICESENDURBSYNCHRONOUSLY) WdfVersion.Functions.pfnWdfUsbTargetDeviceSendUrbSynchronously)(DriverGlobals, UsbDevice, Request, RequestOptions, Urb);
7486}
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFUSBDEVICE * UsbDevice
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS RequestOptions
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFREQUEST Request
PFN_ROSWDFUNIMPLEMENTED pfnWdfUsbTargetDeviceSendUrbSynchronously
Definition: fxdynamics.h:447

◆ _In_reads_() [2/2]

Definition at line 5701 of file vfwdfdynamics.cpp.

5704{
5707}
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_opt_ PULONG _Out_opt_ PULONG ValueType
PFN_WDFREGISTRYASSIGNVALUE pfnWdfRegistryAssignValue
Definition: fxdynamics.h:292

◆ _In_reads_bytes_()

_Must_inspect_result_ _In_ WDFREQUEST _In_reads_bytes_ ( Length  )

◆ _In_reads_bytes_opt_()

_Must_inspect_result_ _In_ WDFWMIINSTANCE _In_opt_ ULONG _In_reads_bytes_opt_ ( EventDataSize  )

Definition at line 8244 of file vfwdfdynamics.cpp.

8247{
8249 return ((PFN_WDFWMIINSTANCEFIREEVENT) WdfVersion.Functions.pfnWdfWmiInstanceFireEvent)(DriverGlobals, WmiInstance, EventDataSize, EventData);
8250}
_Must_inspect_result_ _In_ WDFWMIINSTANCE _In_opt_ ULONG EventDataSize
_Must_inspect_result_ _In_ WDFWMIINSTANCE WmiInstance
PFN_ROSWDFUNIMPLEMENTED pfnWdfWmiInstanceFireEvent
Definition: fxdynamics.h:486

◆ _IRQL_requires_max_() [1/5]

_Must_inspect_result_ _IRQL_requires_max_ ( APC_LEVEL  )

Probes and locks virtual pages in memory for the specified process.

Parameters
[in,out]MemoryDescriptorListMemory Descriptor List (MDL) containing the buffer to be probed and locked.
[in]ProcessThe process for which the buffer should be probed and locked.
[in]AccessModeAccess mode for probing the pages. Can be KernelMode or UserMode.
[in]LockOperationThe type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess.
Returns
Nothing.
See also
MmProbeAndLockPages
Remarks
Must be called at IRQL <= APC_LEVEL

Definition at line 37 of file cddata.c.

254{
255 THREAD_CONTEXT ThreadContext = {0};
256 PIRP_CONTEXT IrpContext = NULL;
258
259#ifdef CD_SANITY
260 PVOID PreviousTopLevel;
261#endif
262
264
265#if DBG
266
267 KIRQL SaveIrql = KeGetCurrentIrql();
268
269#endif
270
272
274
276
277#ifdef CD_SANITY
278 PreviousTopLevel = IoGetTopLevelIrp();
279#endif
280
281 //
282 // Loop until this request has been completed or posted.
283 //
284
285 do {
286
287 //
288 // Use a try-except to handle the exception cases.
289 //
290
291 _SEH2_TRY {
292
293 //
294 // If the IrpContext is NULL then this is the first pass through
295 // this loop.
296 //
297
298 if (IrpContext == NULL) {
299
300 //
301 // Decide if this request is waitable an allocate the IrpContext.
302 // If the file object in the stack location is NULL then this
303 // is a mount which is always waitable. Otherwise we look at
304 // the file object flags.
305 //
306
308
309 Wait = TRUE;
310
311 } else {
312
313 Wait = CanFsdWait( Irp );
314 }
315
316 IrpContext = CdCreateIrpContext( Irp, Wait );
317
318 //
319 // Update the thread context information.
320 //
321
322 CdSetThreadContext( IrpContext, &ThreadContext );
323
324#ifdef CD_SANITY
325 NT_ASSERT( !CdTestTopLevel ||
326 SafeNodeType( IrpContext->TopLevel ) == CDFS_NTC_IRP_CONTEXT );
327#endif
328
329 //
330 // Otherwise cleanup the IrpContext for the retry.
331 //
332
333 } else {
334
335 //
336 // Set the MORE_PROCESSING flag to make sure the IrpContext
337 // isn't inadvertently deleted here. Then cleanup the
338 // IrpContext to perform the retry.
339 //
340
341 SetFlag( IrpContext->Flags, IRP_CONTEXT_FLAG_MORE_PROCESSING );
342 CdCleanupIrpContext( IrpContext, FALSE );
343 }
344
345 //
346 // Case on the major irp code.
347 //
348
349 switch (IrpContext->MajorFunction) {
350
351 case IRP_MJ_CREATE :
352
353 Status = CdCommonCreate( IrpContext, Irp );
354 break;
355
356 case IRP_MJ_CLOSE :
357
358 Status = CdCommonClose( IrpContext, Irp );
359 break;
360
361 case IRP_MJ_READ :
362
363 //
364 // If this is an Mdl complete request, don't go through
365 // common read.
366 //
367
368 if (FlagOn( IrpContext->MinorFunction, IRP_MN_COMPLETE )) {
369
370 Status = CdCompleteMdl( IrpContext, Irp );
371
372 } else {
373
374 Status = CdCommonRead( IrpContext, Irp );
375 }
376
377 break;
378
379 case IRP_MJ_WRITE :
380
381 Status = CdCommonWrite( IrpContext, Irp );
382 break;
383
385
386 Status = CdCommonQueryInfo( IrpContext, Irp );
387 break;
388
390
391 Status = CdCommonSetInfo( IrpContext, Irp );
392 break;
393
395
396 Status = CdCommonQueryVolInfo( IrpContext, Irp );
397 break;
398
400
401 Status = CdCommonDirControl( IrpContext, Irp );
402 break;
403
405
406 Status = CdCommonFsControl( IrpContext, Irp );
407 break;
408
410
411 Status = CdCommonDevControl( IrpContext, Irp );
412 break;
413
415
416 Status = CdCommonLockControl( IrpContext, Irp );
417 break;
418
419 case IRP_MJ_CLEANUP :
420
421 Status = CdCommonCleanup( IrpContext, Irp );
422 break;
423
424 case IRP_MJ_PNP :
425
426 Status = CdCommonPnp( IrpContext, Irp );
427 break;
428
429 case IRP_MJ_SHUTDOWN :
430
431 Status = CdCommonShutdown( IrpContext, Irp );
432 break;
433
434 default :
435
437 CdCompleteRequest( IrpContext, Irp, Status );
438 }
439
441
442 Status = CdProcessException( IrpContext, Irp, _SEH2_GetExceptionCode() );
443 } _SEH2_END;
444
445 } while (Status == STATUS_CANT_WAIT);
446
447#ifdef CD_SANITY
448 NT_ASSERT( !CdTestTopLevel ||
449 (PreviousTopLevel == IoGetTopLevelIrp()) );
450#endif
451
453
454 NT_ASSERT( SaveIrql == KeGetCurrentIrql( ));
455
456 return Status;
457}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
VOID CdCompleteRequest(_Inout_opt_ PIRP_CONTEXT IrpContext, _Inout_opt_ PIRP Irp, _In_ NTSTATUS Status)
Definition: cddata.c:914
LONG CdExceptionFilter(_Inout_ PIRP_CONTEXT IrpContext, _In_ PEXCEPTION_POINTERS ExceptionPointer)
Definition: cddata.c:525
VOID CdSetThreadContext(_Inout_ PIRP_CONTEXT IrpContext, _In_ PTHREAD_CONTEXT ThreadContext)
Definition: cddata.c:981
#define ASSERT_OPTIONAL_IRP(I)
Definition: cddata.h:251
NTSTATUS CdCompleteMdl(_In_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: cachesup.c:411
VOID CdCleanupIrpContext(_In_ PIRP_CONTEXT IrpContext, _In_ BOOLEAN Post)
Definition: strucsup.c:1733
#define CanFsdWait(I)
Definition: cdprocs.h:2001
NTSTATUS CdCommonLockControl(_Inout_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: lockctrl.c:35
NTSTATUS CdCommonDevControl(_Inout_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: devctrl.c:46
_Ret_valid_ PIRP_CONTEXT CdCreateIrpContext(_In_ PIRP Irp, _In_ BOOLEAN Wait)
Definition: strucsup.c:1573
#define IRP_MJ_PNP
Definition: cdrw_usr.h:52
#define IRP_CONTEXT_FLAG_MORE_PROCESSING
Definition: cdstruc.h:1214
_In_ PIRP Irp
Definition: csq.h:116
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define CDFS_NTC_IRP_CONTEXT
Definition: nodetype.h:34
#define SafeNodeType(Ptr)
Definition: nodetype.h:54
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
#define SetFlag(_F, _SF)
Definition: ext2fs.h:187
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
#define _SEH2_END
Definition: filesup.c:22
#define _SEH2_TRY
Definition: filesup.c:19
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
Status
Definition: gdiplustypes.h:25
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
PIRP NTAPI IoGetTopLevelIrp(VOID)
Definition: irp.c:1843
#define STATUS_CANT_WAIT
Definition: ntstatus.h:452
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:66
#define _SEH2_GetExceptionInformation()
Definition: pseh2_64.h:164
#define IRP_MJ_DIRECTORY_CONTROL
Definition: rdpdr.c:51
#define IRP_MJ_CLOSE
Definition: rdpdr.c:45
#define IRP_MJ_READ
Definition: rdpdr.c:46
#define IRP_MJ_DEVICE_CONTROL
Definition: rdpdr.c:52
#define IRP_MJ_QUERY_VOLUME_INFORMATION
Definition: rdpdr.c:50
#define IRP_MJ_LOCK_CONTROL
Definition: rdpdr.c:53
#define IRP_MJ_WRITE
Definition: rdpdr.c:47
#define IRP_MJ_SET_INFORMATION
Definition: rdpdr.c:49
#define IRP_MJ_CREATE
Definition: rdpdr.c:44
#define IRP_MJ_QUERY_INFORMATION
Definition: rdpdr.c:48
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:170
#define IRP_MN_COMPLETE
Definition: iotypes.h:4420
#define IRP_MJ_FILE_SYSTEM_CONTROL
#define IRP_MJ_SHUTDOWN
#define IRP_MJ_CLEANUP
#define NT_ASSERT
Definition: rtlfuncs.h:3324

◆ _IRQL_requires_max_() [2/5]

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 347 of file common.c.

3587{
3589 BOOLEAN requestSent = FALSE;
3590
3591 BOOLEAN shouldRetry = TRUE;
3592 PCDB cdb = (PCDB)DeviceExtension->PowerContext.Srb.Cdb;
3593 ULONG timeoutValue = DeviceExtension->TimeOutValue;
3594 ULONG retryCount = 1;
3595
3596 // reset some fields.
3597 DeviceExtension->PowerContext.RetryIntervalIn100ns = 0;
3598 status = PowerContextReuseRequest(DeviceExtension);
3599 RequestClearSendTime(DeviceExtension->PowerContext.PowerRequest);
3600
3601 if (!NT_SUCCESS(status))
3602 {
3603 return status;
3604 }
3605
3606 // set proper timeout value and max retry count.
3607 switch(DeviceExtension->PowerContext.PowerChangeState.PowerDown)
3608 {
3612 break;
3613
3615 // Case of issuing SYNC CACHE command. Do not use power irp timeout remaining time in this case
3616 // as we want to give best try on SYNC CACHE command.
3617 retryCount = MAXIMUM_RETRIES;
3618 timeoutValue = DeviceExtension->TimeOutValue;
3619 break;
3620
3622 {
3623 // Case of issuing STOP UNIT command
3624 // As "Imme" bit is set to '1', this command should be completed in short time.
3625 // This command is at low importance, failure of this command has very small impact.
3626 ULONG secondsRemaining = 0;
3627
3628#if (WINVER >= 0x0601)
3629 // this API is introduced in Windows7
3630 PoQueryWatchdogTime(DeviceExtension->LowerPdo, &secondsRemaining);
3631#endif
3632
3633 if (secondsRemaining == 0)
3634 {
3635 // not able to retrieve remaining time from PoQueryWatchdogTime API, use default values.
3636 retryCount = MAXIMUM_RETRIES;
3637 timeoutValue = SCSI_CDROM_TIMEOUT;
3638 }
3639 else
3640 {
3641 // plan to leave about 30 seconds to lower level drivers if possible.
3642 if (secondsRemaining >= 32)
3643 {
3644 retryCount = (secondsRemaining - 30)/SCSI_CDROM_TIMEOUT + 1;
3645 timeoutValue = SCSI_CDROM_TIMEOUT;
3646
3647 if (retryCount > MAXIMUM_RETRIES)
3648 {
3649 retryCount = MAXIMUM_RETRIES;
3650 }
3651
3652 if (retryCount == 1)
3653 {
3654 timeoutValue = secondsRemaining - 30;
3655 }
3656 }
3657 else
3658 {
3659 // issue the command with minimal timeout value and do not retry on it.
3660 retryCount = 1;
3661 timeoutValue = 2;
3662 }
3663 }
3664 }
3665 break;
3666 default:
3667 NT_ASSERT( FALSE );
3669 return status;
3670 }
3671
3672 DeviceExtension->PowerContext.RetryCount = retryCount;
3673
3674 // issue command.
3675 while (shouldRetry)
3676 {
3677
3678 // set SRB fields.
3679 DeviceExtension->PowerContext.Srb.SrbFlags = SRB_FLAGS_NO_DATA_TRANSFER |
3684
3685 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_EXECUTE_SCSI;
3686 DeviceExtension->PowerContext.Srb.TimeOutValue = timeoutValue;
3687
3688 if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceInitial)
3689 {
3690 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_LOCK_QUEUE;
3691 }
3692 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceLocked)
3693 {
3694 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_QUIESCE_DEVICE;
3695 }
3696 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced)
3697 {
3698 // Case of issuing SYNC CACHE command.
3699 DeviceExtension->PowerContext.Srb.CdbLength = 10;
3700 cdb->SYNCHRONIZE_CACHE10.OperationCode = SCSIOP_SYNCHRONIZE_CACHE;
3701 }
3702 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceFlushed)
3703 {
3704 // Case of issuing STOP UNIT command.
3705 DeviceExtension->PowerContext.Srb.CdbLength = 6;
3706 cdb->START_STOP.OperationCode = SCSIOP_START_STOP_UNIT;
3707 cdb->START_STOP.Start = 0;
3708 cdb->START_STOP.Immediate = 1;
3709 }
3710 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceStopped)
3711 {
3712 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_UNLOCK_QUEUE;
3713 }
3714
3715 // Set up completion routine and context if requested
3717 {
3718 WdfRequestSetCompletionRoutine(DeviceExtension->PowerContext.PowerRequest,
3720 Context);
3721 }
3722
3723 status = RequestSend(DeviceExtension,
3724 DeviceExtension->PowerContext.PowerRequest,
3725 DeviceExtension->IoTarget,
3727 &requestSent);
3728
3729 if (requestSent)
3730 {
3731 if ((CompletionRoutine == NULL) &&
3732 (SRB_STATUS(DeviceExtension->PowerContext.Srb.SrbStatus) != SRB_STATUS_SUCCESS))
3733 {
3734 TracePrint((TRACE_LEVEL_ERROR,
3735 TRACE_FLAG_POWER,
3736 "%p\tError occured when issuing %s command to device. Srb %p, Status %x\n",
3737 DeviceExtension->PowerContext.PowerRequest,
3738 (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced) ? "SYNC CACHE" : "STOP UNIT",
3739 &DeviceExtension->PowerContext.Srb,
3740 DeviceExtension->PowerContext.Srb.SrbStatus));
3741
3742 NT_ASSERT(!(TEST_FLAG(DeviceExtension->PowerContext.Srb.SrbStatus, SRB_STATUS_QUEUE_FROZEN)));
3743
3744 shouldRetry = RequestSenseInfoInterpret(DeviceExtension,
3745 DeviceExtension->PowerContext.PowerRequest,
3746 &(DeviceExtension->PowerContext.Srb),
3747 retryCount - DeviceExtension->PowerContext.RetryCount,
3748 &status,
3749 &(DeviceExtension->PowerContext.RetryIntervalIn100ns));
3750
3751 if (shouldRetry && (DeviceExtension->PowerContext.RetryCount-- == 0))
3752 {
3753 shouldRetry = FALSE;
3754 }
3755 }
3756 else
3757 {
3758 // succeeded, do not need to retry.
3759 shouldRetry = FALSE;
3760 }
3761
3762 }
3763 else
3764 {
3765 // request failed to be sent
3766 shouldRetry = FALSE;
3767 }
3768
3769 if (shouldRetry)
3770 {
3772 t.QuadPart = -DeviceExtension->PowerContext.RetryIntervalIn100ns;
3774
3775 status = PowerContextReuseRequest(DeviceExtension);
3776 if (!NT_SUCCESS(status))
3777 {
3778 shouldRetry = FALSE;
3779 }
3780 }
3781 }
3782
3783 if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced)
3784 {
3785 // record SYNC CACHE command completion time stamp.
3786 KeQueryTickCount(&DeviceExtension->PowerContext.Step1CompleteTime);
3787 }
3788
3789 return status;
3790}
#define MAXIMUM_RETRIES
Definition: cdrom.h:124
#define SCSI_CDROM_TIMEOUT
Definition: cdrom.h:680
BOOLEAN RequestSenseInfoInterpret(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ PSCSI_REQUEST_BLOCK Srb, _In_ ULONG RetriedCount, _Out_ NTSTATUS *Status, _Out_opt_ _Deref_out_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) LONGLONG *RetryIntervalIn100ns)
Definition: sense.c:2467
#define TEST_FLAG(Flags, Bit)
Definition: cdrom.h:1495
@ PowerDownDeviceStopped
Definition: cdrom.h:412
@ PowerDownDeviceQuiesced
Definition: cdrom.h:410
@ PowerDownDeviceInitial
Definition: cdrom.h:408
@ PowerDownDeviceLocked
Definition: cdrom.h:409
@ PowerDownDeviceFlushed
Definition: cdrom.h:411
union _CDB * PCDB
#define SCSIOP_START_STOP_UNIT
Definition: cdrw_hw.h:897
#define SCSIOP_SYNCHRONIZE_CACHE
Definition: cdrw_hw.h:918
#define STATUS_NOT_IMPLEMENTED
Definition: d3dkmdt.h:42
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
NTSTATUS RequestSend(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDFIOTARGET IoTarget, _In_ ULONG Flags, _Out_opt_ PBOOLEAN RequestSent)
Definition: common.c:3793
VOID RequestClearSendTime(_In_ WDFREQUEST Request)
Definition: common.c:111
#define SRB_FUNCTION_EXECUTE_SCSI
Definition: srb.h:315
#define SRB_FLAGS_NO_DATA_TRANSFER
Definition: srb.h:402
#define SRB_FUNCTION_LOCK_QUEUE
Definition: srb.h:332
#define SRB_FUNCTION_UNLOCK_QUEUE
Definition: srb.h:333
#define SRB_FLAGS_BYPASS_LOCKED_QUEUE
Definition: srb.h:410
#define SRB_FLAGS_DISABLE_SYNCH_TRANSFER
Definition: srb.h:397
#define SRB_STATUS(Status)
Definition: srb.h:389
#define SRB_STATUS_QUEUE_FROZEN
Definition: srb.h:386
#define SRB_FLAGS_NO_QUEUE_FREEZE
Definition: srb.h:404
#define SRB_STATUS_SUCCESS
Definition: srb.h:341
#define KeDelayExecutionThread(mode, foo, t)
Definition: env_spec_w32.h:484
GLdouble GLdouble t
Definition: gl.h:2047
#define KernelMode
Definition: asm.h:34
#define SRB_FLAGS_D3_PROCESSING
Definition: srb.h:165
#define SRB_FUNCTION_QUIESCE_DEVICE
Definition: srb.h:99
#define KeQueryTickCount(CurrentCount)
Definition: ke.h:43
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
Definition: ps.c:97
uint32_t ULONG
Definition: typedefs.h:59
Definition: cdrw_hw.h:28
struct _CDB::_START_STOP START_STOP
struct _CDB::_SYNCHRONIZE_CACHE10 SYNCHRONIZE_CACHE10
@ WDF_REQUEST_SEND_OPTION_SYNCHRONOUS
Definition: wdfrequest.h:109
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE CompletionRoutine
Definition: wdfrequest.h:895

◆ _IRQL_requires_max_() [3/5]

_IRQL_requires_max_ ( DISPATCH_LEVEL 1)

◆ _IRQL_requires_max_() [4/5]

_IRQL_requires_max_ ( HIGH_LEVEL  )

Definition at line 55 of file wdfdpc.h.

151{
152 return ((PFN_WDFDPCENQUEUE) WdfFunctions[WdfDpcEnqueueTableIndex])(WdfDriverGlobals, Dpc);
153}
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
Definition: wdfdpc.h:112
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDpcEnqueueTableIndex
Definition: wdffuncenum.h:137

◆ _IRQL_requires_max_() [5/5]

_Must_inspect_result_ _IRQL_requires_max_ ( PASSIVE_LEVEL  )

Queries information details about a security descriptor.

Computes the quota size of a security descriptor.

Assigns a security descriptor for a new object.

An extended function that assigns a security descriptor for a new object.

Frees a security descriptor.

An extended function that sets new information data to a security descriptor.

Modifies some information data about a security descriptor.

Parameters
[in]SecurityInformationSecurity information details to be queried from a security descriptor.
[out]SecurityDescriptorThe returned security descriptor with security information data.
[in,out]LengthThe returned length of a security descriptor.
[in,out]ObjectsSecurityDescriptorThe returned object security descriptor.
Returns
Returns STATUS_SUCCESS if the operations have been completed successfully and that the specific information about the security descriptor has been queried. STATUS_BUFFER_TOO_SMALL is returned if the buffer size is too small to contain the queried info about the security descriptor.
Parameters
[in]ObjectIf specified, the function will use this arbitrary object that points to an object security descriptor.
[in]SecurityInformationSecurity information details to be set.
[in]SecurityDescriptorA security descriptor where its info is to be changed.
[in,out]ObjectsSecurityDescriptorThe returned pointer to security descriptor objects.
[in]PoolTypePool type for the new security descriptor to allocate.
[in]GenericMappingThe generic mapping of access rights masks.
Returns
See SeSetSecurityDescriptorInfoEx.
Parameters
[in]ObjectIf specified, the function will use this arbitrary object that points to an object security descriptor.
[in]SecurityInformationSecurity information details to be set.
[in]SecurityDescriptorA security descriptor where its info is to be changed.
[in,out]ObjectsSecurityDescriptorThe returned pointer to security descriptor objects.
[in]AutoInheritFlagsFlags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place.
[in]PoolTypePool type for the new security descriptor to allocate.
[in]GenericMappingThe generic mapping of access rights masks.
Returns
Returns STATUS_SUCCESS if the operations have been completed without problems and that new info has been set to the security descriptor. STATUS_NO_SECURITY_ON_OBJECT is returned if the object does not have a security descriptor. STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the new security descriptor with new info set has failed.
Parameters
[in]SecurityDescriptorA security descriptor to be freed from memory.
Returns
Returns STATUS_SUCCESS.
Parameters
[in]_ParentDescriptorA security descriptor of the parent object that is being created.
[in]_ExplicitDescriptorAn explicit security descriptor that is applied to a new object.
[out]NewDescriptorThe new allocated security descriptor.
[in]ObjectTypeThe type of the new object.
[in]IsDirectoryObjectSet this to TRUE if the newly created object is a directory object, otherwise set this to FALSE.
[in]AutoInheritFlagsAutomatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited.
[in]SubjectContextSecurity subject context of the new object.
[in]GenericMappingGeneric mapping of access mask rights.
[in]PoolTypeThis parameter is unused.
Returns
Returns STATUS_SUCCESS if the operations have been completed successfully and that the security descriptor has been assigned to the new object. STATUS_NO_TOKEN is returned if the caller hasn't supplied a valid argument to a security subject context. STATUS_INVALID_OWNER is returned if the caller hasn't supplied a parent descriptor that belongs to the main user (owner). STATUS_INVALID_PRIMARY_GROUP is returned by the same reason as with the previous NTSTATUS code. The two NTSTATUS codes are returned if the calling thread stated that the owner and/or group is defaulted to the parent descriptor (SEF_DEFAULT_OWNER_FROM_PARENT and/or SEF_DEFAULT_GROUP_FROM_PARENT respectively). STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the descriptor buffer has failed. A failure NTSTATUS is returned otherwise.
Parameters
[in]ParentDescriptorA security descriptor of the parent object that is being created.
[in]ExplicitDescriptorAn explicit security descriptor that is applied to a new object.
[out]NewDescriptorThe new allocated security descriptor.
[in]IsDirectoryObjectSet this to TRUE if the newly created object is a directory object, otherwise set this to FALSE.
[in]SubjectContextSecurity subject context of the new object.
[in]GenericMappingGeneric mapping of access mask rights.
[in]PoolTypeThis parameter is unused.
Returns
See SeAssignSecurityEx.
Parameters
[in]SecurityDescriptorA security descriptor.
[out]QuotaInfoSizeThe returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even.
Returns
Returns STATUS_SUCCESS if the quota size of a security descriptor has been computed successfully. STATUS_UNKNOWN_REVISION is returned if the security descriptor has an invalid revision.

Definition at line 923 of file Messaging.c.

75{
76 PFLT_SERVER_PORT_OBJECT PortObject;
78
79 /* The caller must allow at least one connection */
80 if (MaxConnections == 0)
81 {
83 }
84
85 /* The request must be for a kernel handle */
86 if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87 {
89 }
90
91 /*
92 * Get rundown protection on the target to stop the owner
93 * from unloading whilst this port object is open. It gets
94 * removed in the FltpServerPortClose callback
95 */
97 if (!NT_SUCCESS(Status))
98 {
99 return Status;
100 }
101
102 /* Create the server port object for this filter */
107 NULL,
109 0,
110 0,
111 (PVOID *)&PortObject);
112 if (NT_SUCCESS(Status))
113 {
114 /* Zero out the struct */
115 RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116
117 /* Increment the ref count on the target filter */
119
120 /* Setup the filter port object */
121 PortObject->Filter = Filter;
125 PortObject->Cookie = ServerPortCookie;
126 PortObject->MaxConnections = MaxConnections;
127
128 /* Insert the object */
129 Status = ObInsertObject(PortObject,
130 NULL,
132 0,
133 NULL,
135 if (NT_SUCCESS(Status))
136 {
137 /* Lock the connection list */
139
140 /* Add the new port object to the connection list and increment the count */
143
144 /* Unlock the connection list*/
146 }
147 }
148
149 if (!NT_SUCCESS(Status))
150 {
151 /* Allow the filter to be cleaned up */
153 }
154
155 return Status;
156}
static const INTERNET_PORT ServerPort
Definition: CWebService.cpp:11
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:36
#define InsertTailList(ListHead, Entry)
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1801
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1877
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1875
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1874
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1876
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
static LONG MaxConnections
#define FILE_READ_DATA
Definition: nt_native.h:628
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2935
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
Definition: oblife.c:1039
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121
LIST_ENTRY mList
Definition: fltmgrint.h:56
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135

◆ _Out_writes_bytes_() [1/3]

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _Out_writes_bytes_ ( CapabilityBufferLength  ) &&
pure virtual

◆ _Out_writes_bytes_() [2/3]

_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _Out_writes_bytes_ ( NumBytesToCopyTo  )

◆ _Out_writes_bytes_() [3/3]

Definition at line 5095 of file vfwdfdynamics.cpp.

5098{
5100 return ((PFN_WDFOBJECTQUERY) WdfVersion.Functions.pfnWdfObjectQuery)(DriverGlobals, Object, Guid, QueryBufferLength, QueryBuffer);
5101}
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID _In_ ULONG QueryBufferLength
PFN_WDFOBJECTQUERY pfnWdfObjectQuery
Definition: fxdynamics.h:260

◆ _Out_writes_bytes_all_()

◆ _Out_writes_bytes_all_opt_()

◆ _Out_writes_bytes_opt_()

_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_writes_bytes_opt_ ( ValueLength  )

◆ _Out_writes_bytes_to_opt_()

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _Out_writes_bytes_to_opt_ ( CapabilityBufferLength  ,
ResultLength 
)

◆ _Outptr_opt_result_bytebuffer_() [1/3]

Definition at line 4773 of file vfwdfdynamics.cpp.

4776{
4779}
BufferSize
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ __drv_aliasesMem PVOID Buffer
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
PFN_WDFMEMORYCREATE pfnWdfMemoryCreate
Definition: fxdynamics.h:243

◆ _Outptr_opt_result_bytebuffer_() [2/3]

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ ULONG _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ ( GET_ISO_URB_SIZE(NumberOfIsochPackets )

Definition at line 1723 of file wdfusb.h.

1726{
1728}
@ WdfUsbTargetDeviceCreateIsochUrbTableIndex
Definition: wdffuncenum.h:449
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY UrbMemory
Definition: wdfusb.h:1576
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFUSBDEVICE * UsbDevice
Definition: wdfusb.h:906
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ ULONG NumberOfIsochPackets
Definition: wdfusb.h:1703
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
Definition: wdfusb.h:903

◆ _Outptr_opt_result_bytebuffer_() [3/3]

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ ( sizeof(URB )

Definition at line 7548 of file vfwdfdynamics.cpp.

7551{
7553 return ((PFN_WDFUSBTARGETDEVICECREATEURB) WdfVersion.Functions.pfnWdfUsbTargetDeviceCreateUrb)(DriverGlobals, UsbDevice, Attributes, UrbMemory, Urb);
7554}
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY UrbMemory
PFN_ROSWDFUNIMPLEMENTED pfnWdfUsbTargetDeviceCreateUrb
Definition: fxdynamics.h:559

◆ _Post_satisfies_()

_Must_inspect_result_ _Post_satisfies_ ( return  = = 1 || return == 0)

◆ _Pre_writable_byte_size_()

_Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ _Pre_writable_byte_size_ ( BufferSize  )

◆ _Requires_lock_held_()

_In_ _Requires_lock_held_ ( _Curr_  )

Definition at line 3690 of file vfwdfdynamics.cpp.

3694{
3696 ((PFN_WDFINTERRUPTRELEASELOCK) WdfVersion.Functions.pfnWdfInterruptReleaseLock)(DriverGlobals, Interrupt);
3697}
PFN_WDFINTERRUPTRELEASELOCK pfnWdfInterruptReleaseLock
Definition: fxdynamics.h:196

◆ _Requires_lock_not_held_()

_In_ _Requires_lock_not_held_ ( _Curr_  )

◆ _Success_()

_Success_ ( TRUE  )

◆ _When_() [1/16]

_When_ ( Action  = = 3,
_IRQL_requires_max_(DISPATCH_LEVEL  
)

◆ _When_() [2/16]

◆ _When_() [3/16]

◆ _When_() [4/16]

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG _When_ ( CapabilityBufferLength  = = 0,
_Out_opt_   
) &&
pure virtual

◆ _When_() [5/16]

_In_ WDFQUEUE _When_ ( Context = 0,
_In_   
)

◆ _When_() [6/16]

_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _When_ ( Length  = =0,
__drv_reportError(Length cannot be zero  
)

◆ _When_() [7/16]

_In_ WDFDMAENABLER _In_ _When_ ( MaximumFragments  = =0,
__drv_reportError(MaximumFragments cannot be zero  
)

Definition at line 2591 of file vfwdfdynamics.cpp.

2594{
2596 ((PFN_WDFDMAENABLERSETMAXIMUMSCATTERGATHERELEMENTS) WdfVersion.Functions.pfnWdfDmaEnablerSetMaximumScatterGatherElements)(DriverGlobals, DmaEnabler, MaximumFragments);
2597}
_Must_inspect_result_ _In_ WDFDMAENABLER DmaEnabler
PFN_ROSWDFUNIMPLEMENTED pfnWdfDmaEnablerSetMaximumScatterGatherElements
Definition: fxdynamics.h:147

◆ _When_() [8/16]

_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _In_ PVOID _In_ _When_ ( NumBytesToCopyFrom  = =0,
__drv_reportError(NumBytesToCopyFrom cannot be zero  
)

Definition at line 381 of file wdfmemory.h.

384{
385 return ((PFN_WDFMEMORYCOPYFROMBUFFER) WdfFunctions[WdfMemoryCopyFromBufferTableIndex])(WdfDriverGlobals, DestinationMemory, DestinationOffset, Buffer, NumBytesToCopyFrom);
386}
@ WdfMemoryCopyFromBufferTableIndex
Definition: wdffuncenum.h:222
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ __drv_aliasesMem PVOID Buffer
Definition: wdfmemory.h:213
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t DestinationOffset
Definition: wdfmemory.h:361
_Must_inspect_result_ _In_ WDFMEMORY DestinationMemory
Definition: wdfmemory.h:359

◆ _When_() [9/16]

_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _In_ _When_ ( NumBytesToCopyTo  = =0,
__drv_reportError(NumBytesToCopyTo cannot be zero  
)

Definition at line 340 of file wdfmemory.h.

343{
344 return ((PFN_WDFMEMORYCOPYTOBUFFER) WdfFunctions[WdfMemoryCopyToBufferTableIndex])(WdfDriverGlobals, SourceMemory, SourceOffset, Buffer, NumBytesToCopyTo);
345}
@ WdfMemoryCopyToBufferTableIndex
Definition: wdffuncenum.h:221
_Must_inspect_result_ _In_ WDFMEMORY SourceMemory
Definition: wdfmemory.h:318
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
Definition: wdfmemory.h:320

◆ _When_() [10/16]

◆ _When_() [11/16]

_Must_inspect_result_ _When_ ( PoolType  = = 1 || PoolType == 257,
_IRQL_requires_max_(APC_LEVEL  
)

◆ _When_() [12/16]

Definition at line 1641 of file wdfusb.h.

1644{
1645 return ((PFN_WDFUSBTARGETDEVICEQUERYUSBCAPABILITY) WdfFunctions[WdfUsbTargetDeviceQueryUsbCapabilityTableIndex])(WdfDriverGlobals, UsbDevice, CapabilityType, CapabilityBufferLength, CapabilityBuffer, ResultLength);
1646}
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdfdevice.h:3776
@ WdfUsbTargetDeviceQueryUsbCapabilityTableIndex
Definition: wdffuncenum.h:447
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID _In_ ULONG CapabilityBufferLength
Definition: wdfusb.h:1615
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ CONST GUID * CapabilityType
Definition: wdfusb.h:1613

◆ _When_() [13/16]

_In_ WDFQUEUE _In_opt_ PFN_WDF_IO_QUEUE_STATE _When_ ( StopComplete = 0,
_In_   
)

◆ _When_() [14/16]

_When_ ( Timeout  = NULL,
_IRQL_requires_max_(PASSIVE_LEVEL  
)

◆ _When_() [15/16]

_When_ ( Wait  = = __true,
_IRQL_requires_max_(PASSIVE_LEVEL  
)

◆ _When_() [16/16]

_Must_inspect_result_ _When_ ( WaitForD0  = = 0,
_IRQL_requires_max_(DISPATCH_LEVEL  
)
pure virtual

◆ WdfCxVerifierKeBugCheck()

WDFAPI VOID VFWDFEXPORT() WdfCxVerifierKeBugCheck ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_opt_ WDFOBJECT  Object,
_In_ ULONG  BugCheckCode,
_In_ ULONG_PTR  BugCheckParameter1,
_In_ ULONG_PTR  BugCheckParameter2,
_In_ ULONG_PTR  BugCheckParameter3,
_In_ ULONG_PTR  BugCheckParameter4 
)

Definition at line 1043 of file vfwdfdynamics.cpp.

1059{
1061 ((PFN_WDFCXVERIFIERKEBUGCHECK) WdfVersion.Functions.pfnWdfCxVerifierKeBugCheck)(DriverGlobals, Object, BugCheckCode, BugCheckParameter1, BugCheckParameter2, BugCheckParameter3, BugCheckParameter4);
1062}
PFN_ROSWDFUNIMPLEMENTED pfnWdfCxVerifierKeBugCheck
Definition: fxdynamics.h:566
VOID(STDCALL * PFN_WDFCXVERIFIERKEBUGCHECK)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_opt_ WDFOBJECT Object, _In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
Definition: wdfcx.h:104

◆ WdfDriverMiniportUnload()

WDFAPI VOID VFWDFEXPORT() WdfDriverMiniportUnload ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFDRIVER  Driver 
)

Definition at line 4955 of file vfwdfdynamics.cpp.

4961{
4964}
_Must_inspect_result_ _In_ WDFDRIVER Driver
PFN_WDFDRIVERMINIPORTUNLOAD pfnWdfDriverMiniportUnload
Definition: fxdynamics.h:252
WDFAPI VOID(STDCALL * PFN_WDFDRIVERMINIPORTUNLOAD)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFDRIVER Driver)
Definition: wdfminiport.h:105

◆ WdfGetTriageInfo()

WDFAPI PVOID VFWDFEXPORT() WdfGetTriageInfo ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals)

Definition at line 241 of file verifierapi.cpp.

262{
263 DDI_ENTRY();
264
266 return &g_WdfTriageInfo;
267}
#define DDI_ENTRY()
Definition: fxglobalskm.h:56
WDF_TRIAGE_INFO g_WdfTriageInfo

◆ WdfInterruptGetDevice()

WDFAPI WDFDEVICE VFWDFEXPORT() WdfInterruptGetDevice ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFINTERRUPT  Interrupt 
)

Definition at line 3795 of file vfwdfdynamics.cpp.

3801{
3804}
PFN_WDFINTERRUPTGETDEVICE pfnWdfInterruptGetDevice
Definition: fxdynamics.h:202
WDFAPI WDFDEVICE(STDCALL * PFN_WDFINTERRUPTGETDEVICE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
Definition: wdfinterrupt.h:712

◆ WdfInterruptQueueDpcForIsr()

WDFAPI BOOLEAN VFWDFEXPORT() WdfInterruptQueueDpcForIsr ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFINTERRUPT  Interrupt 
)

Definition at line 3625 of file vfwdfdynamics.cpp.

3631{
3634}
PFN_WDFINTERRUPTQUEUEDPCFORISR pfnWdfInterruptQueueDpcForIsr
Definition: fxdynamics.h:193
WDFAPI BOOLEAN(STDCALL * PFN_WDFINTERRUPTQUEUEDPCFORISR)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
Definition: wdfinterrupt.h:405

◆ WdfInterruptQueueWorkItemForIsr()

WDFAPI BOOLEAN VFWDFEXPORT() WdfInterruptQueueWorkItemForIsr ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFINTERRUPT  Interrupt 
)

Definition at line 3638 of file vfwdfdynamics.cpp.

3644{
3647}
PFN_WDFINTERRUPTQUEUEWORKITEMFORISR pfnWdfInterruptQueueWorkItemForIsr
Definition: fxdynamics.h:548
WDFAPI BOOLEAN(STDCALL * PFN_WDFINTERRUPTQUEUEWORKITEMFORISR)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
Definition: wdfinterrupt.h:428

◆ WdfInterruptWdmGetInterrupt()

_Must_inspect_result_ WDFAPI PKINTERRUPT VFWDFEXPORT() WdfInterruptWdmGetInterrupt ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFINTERRUPT  Interrupt 
)

Definition at line 3730 of file vfwdfdynamics.cpp.

3736{
3739}
PFN_WDFINTERRUPTWDMGETINTERRUPT pfnWdfInterruptWdmGetInterrupt
Definition: fxdynamics.h:199
_Must_inspect_result_ WDFAPI PKINTERRUPT(STDCALL * PFN_WDFINTERRUPTWDMGETINTERRUPT)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFINTERRUPT Interrupt)
Definition: wdfinterrupt.h:593

◆ WdfObjectAllocateContext()

WDFAPI NTSTATUS VFWDFEXPORT() WdfObjectAllocateContext ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFOBJECT  Handle,
_In_ PWDF_OBJECT_ATTRIBUTES  ContextAttributes,
_Outptr_opt_ PVOID Context 
)

Definition at line 4984 of file vfwdfdynamics.cpp.

4994{
4997}
ULONG Handle
Definition: gdb_input.c:15
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_opt_ WDFCONTEXT Context
PFN_WDFOBJECTALLOCATECONTEXT pfnWdfObjectAllocateContext
Definition: fxdynamics.h:254
WDFAPI NTSTATUS(STDCALL * PFN_WDFOBJECTALLOCATECONTEXT)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PWDF_OBJECT_ATTRIBUTES ContextAttributes, _Outptr_opt_ PVOID *Context)
Definition: wdfobject.h:574

◆ WdfObjectContextGetObject()

WDFAPI WDFOBJECT FASTCALL VFWDFEXPORT() WdfObjectContextGetObject ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ PVOID  ContextPointer 
)

Definition at line 5002 of file vfwdfdynamics.cpp.

5008{
5011}
__in PVOID ContextPointer
Definition: handleapi.cpp:679
PFN_WDFOBJECTCONTEXTGETOBJECT pfnWdfObjectContextGetObject
Definition: fxdynamics.h:255
WDFAPI WDFOBJECT(FASTCALL * PFN_WDFOBJECTCONTEXTGETOBJECT)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ PVOID ContextPointer)
Definition: wdfobject.h:605

◆ WdfObjectDereferenceActual()

WDFAPI VOID VFWDFEXPORT() WdfObjectDereferenceActual ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFOBJECT  Handle,
_In_opt_ PVOID  Tag,
_In_ LONG  Line,
_In_z_ PCHAR  File 
)

Definition at line 5034 of file vfwdfdynamics.cpp.

5046{
5049}
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG Line
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG _In_z_ PCHAR File
PFN_WDFOBJECTDEREFERENCEACTUAL pfnWdfObjectDereferenceActual
Definition: fxdynamics.h:257
WDFAPI VOID(STDCALL * PFN_WDFOBJECTDEREFERENCEACTUAL)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File)
Definition: wdfobject.h:663

◆ WdfObjectGetTypedContextWorker()

WDFAPI PVOID FASTCALL VFWDFEXPORT() WdfObjectGetTypedContextWorker ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFOBJECT  Handle,
_In_ PCWDF_OBJECT_CONTEXT_TYPE_INFO  TypeInfo 
)

Definition at line 4969 of file vfwdfdynamics.cpp.

4977{
4980}
__in WDFOBJECT __in PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo
Definition: handleapi.cpp:601
PFN_WDFOBJECTGETTYPEDCONTEXTWORKER pfnWdfObjectGetTypedContextWorker
Definition: fxdynamics.h:253
WDFAPI PVOID(FASTCALL * PFN_WDFOBJECTGETTYPEDCONTEXTWORKER)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo)
Definition: wdfobject.h:547

◆ WdfObjectReferenceActual()

WDFAPI VOID VFWDFEXPORT() WdfObjectReferenceActual ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFOBJECT  Handle,
_In_opt_ PVOID  Tag,
_In_ LONG  Line,
_In_z_ PCHAR  File 
)

Definition at line 5015 of file vfwdfdynamics.cpp.

5027{
5030}
PFN_WDFOBJECTREFERENCEACTUAL pfnWdfObjectReferenceActual
Definition: fxdynamics.h:256
WDFAPI VOID(STDCALL * PFN_WDFOBJECTREFERENCEACTUAL)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File)
Definition: wdfobject.h:628

◆ WdfRequestSend()

_Must_inspect_result_ WDFAPI BOOLEAN VFWDFEXPORT() WdfRequestSend ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ WDFREQUEST  Request,
_In_ WDFIOTARGET  Target,
_In_opt_ PWDF_REQUEST_SEND_OPTIONS  Options 
)

Definition at line 5915 of file vfwdfdynamics.cpp.

5925{
5928}
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
PFN_WDFREQUESTSEND pfnWdfRequestSend
Definition: fxdynamics.h:304
_In_ WDFIOTARGET Target
Definition: wdfrequest.h:306
_Must_inspect_result_ WDFAPI BOOLEAN(STDCALL * PFN_WDFREQUESTSEND)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFREQUEST Request, _In_ WDFIOTARGET Target, _In_opt_ PWDF_REQUEST_SEND_OPTIONS Options)
Definition: wdfrequest.h:662

◆ WdfVerifierDbgBreakPoint()

WDFAPI VOID VFWDFEXPORT() WdfVerifierDbgBreakPoint ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals)

Definition at line 8049 of file vfwdfdynamics.cpp.

8053{
8056}
PFN_ROSWDFUNIMPLEMENTED pfnWdfVerifierDbgBreakPoint
Definition: fxdynamics.h:475
WDFAPI VOID(STDCALL * PFN_WDFVERIFIERDBGBREAKPOINT)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: wdfverifier.h:61

◆ WdfVerifierKeBugCheck()

WDFAPI VOID VFWDFEXPORT() WdfVerifierKeBugCheck ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ ULONG  BugCheckCode,
_In_ ULONG_PTR  BugCheckParameter1,
_In_ ULONG_PTR  BugCheckParameter2,
_In_ ULONG_PTR  BugCheckParameter3,
_In_ ULONG_PTR  BugCheckParameter4 
)

Definition at line 8060 of file vfwdfdynamics.cpp.

8074{
8076 ((PFN_WDFVERIFIERKEBUGCHECK) WdfVersion.Functions.pfnWdfVerifierKeBugCheck)(DriverGlobals, BugCheckCode, BugCheckParameter1, BugCheckParameter2, BugCheckParameter3, BugCheckParameter4);
8077}
PFN_ROSWDFUNIMPLEMENTED pfnWdfVerifierKeBugCheck
Definition: fxdynamics.h:476
WDFAPI VOID(STDCALL * PFN_WDFVERIFIERKEBUGCHECK)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
Definition: wdfverifier.h:80

◆ WdfWaitLockAcquire()

_Must_inspect_result_ WDFAPI NTSTATUS VFWDFEXPORT() WdfWaitLockAcquire ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals,
_In_ _Requires_lock_not_held_(_Curr_) WDFWAITLOCK  Lock,
_In_opt_ PLONGLONG  Timeout 
)

Definition at line 6974 of file vfwdfdynamics.cpp.

6983{
6986}
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
static ULONG Timeout
Definition: ping.c:61
PFN_WDFWAITLOCKACQUIRE pfnWdfWaitLockAcquire
Definition: fxdynamics.h:364
_Must_inspect_result_ WDFAPI NTSTATUS(STDCALL * PFN_WDFWAITLOCKACQUIRE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ _Requires_lock_not_held_(_Curr_) WDFWAITLOCK Lock, _In_opt_ PLONGLONG Timeout)
Definition: wdfsync.h:155

Variable Documentation

◆ Action

◆ AddressDescription

◆ AlignmentRequirement

Definition at line 833 of file vffxdynamics.h.

◆ AttachedDeviceObject

◆ Attributes

◆ Buffer

◆ BufferLength

◆ BufferSize

Definition at line 3330 of file vffxdynamics.h.

◆ BusInformation

Definition at line 1281 of file vffxdynamics.h.

◆ BytesRead

◆ BytesReturned

◆ BytesTransferred

◆ BytesWritten

◆ Callback

Definition at line 2448 of file vffxdynamics.h.

◆ CallbackTypes

◆ CapabilityBufferLength

◆ CapabilityType

Definition at line 5421 of file vffxdynamics.h.

◆ Child

_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child

Definition at line 2326 of file vffxdynamics.h.

◆ ChildList

_In_ WDFCHILDLIST ChildList

Definition at line 32 of file vffxdynamics.h.

◆ ChildListAttributes

◆ Collection

◆ CollectionAttributes

Definition at line 192 of file vffxdynamics.h.

◆ CommonBuffer

_In_ WDFCOMMONBUFFER CommonBuffer

Definition at line 291 of file vffxdynamics.h.

◆ CompatibleID

◆ CompletionContext

◆ CompletionRoutine

◆ Config

◆ ConfigDescriptor

◆ ConfigDescriptorLength

◆ ConfigDirection

◆ Configuration

◆ ConfigureContext

◆ ConfigureRoutine

◆ ContainerID

◆ Context

◆ ControlBlock

◆ CreateDisposition

◆ CreateOptions

◆ CurrentFrameNumber

Definition at line 5288 of file vffxdynamics.h.

◆ CxDeviceInit

_In_ PWDFCXDEVICE_INIT CxDeviceInit

Definition at line 400 of file vffxdynamics.h.

◆ CxFileObjectConfig

Definition at line 445 of file vffxdynamics.h.

◆ Data

◆ DefaultChildListAttributes

◆ DependentDevice

Definition at line 588 of file vffxdynamics.h.

◆ Descriptor

Definition at line 4769 of file vffxdynamics.h.

◆ DesiredAccess

◆ DestinationMemory

Definition at line 3375 of file vffxdynamics.h.

◆ DestinationOffset

◆ DestinationQueue

Definition at line 4574 of file vffxdynamics.h.

◆ Device

Definition at line 26 of file vffxdynamics.h.

◆ DeviceAttributes

◆ DeviceCharacteristics

◆ DeviceClassGuid

◆ DeviceDescription

◆ DeviceID

◆ DeviceInit

Definition at line 364 of file vffxdynamics.h.

◆ DeviceInstanceKeyType

◆ DeviceLocation

◆ DeviceName

◆ DeviceObject

◆ DeviceOffset

Definition at line 3057 of file vffxdynamics.h.

◆ DeviceProperty

◆ DeviceState

Definition at line 478 of file vffxdynamics.h.

◆ DeviceType

◆ DispatchContext

◆ DispatchTable

◆ DmaCompletionContext

◆ DmaCompletionRoutine

◆ DmaDirection

Definition at line 1642 of file vffxdynamics.h.

◆ DmaEnabler

Definition at line 284 of file vffxdynamics.h.

◆ DmaEnablerHandle

◆ DmaTransaction

_In_ WDFDMATRANSACTION DmaTransaction

Definition at line 1669 of file vffxdynamics.h.

◆ Dpc

_In_ WDFDPC Dpc

Definition at line 1985 of file vffxdynamics.h.

◆ DrainComplete

Definition at line 2749 of file vffxdynamics.h.

◆ Driver

Definition at line 352 of file vffxdynamics.h.

◆ DriverAttributes

◆ DriverConfig

◆ DriverContext

◆ DriverObject

◆ DriverRequests

Definition at line 2618 of file vffxdynamics.h.

◆ DueTime

Definition at line 5080 of file vffxdynamics.h.

◆ EndpointIndex

Definition at line 5768 of file vffxdynamics.h.

◆ EndpointInfo

Definition at line 5770 of file vffxdynamics.h.

◆ EventDataSize

Definition at line 5977 of file vffxdynamics.h.

◆ EvtCxDeviceWdmIrpPreprocess

◆ EvtDevicePnpStateChange

◆ EvtDevicePowerPolicyStateChange

◆ EvtDevicePowerStateChange

◆ EvtDeviceWdmIrpDisptach

◆ EvtDeviceWdmIrpPreprocess

◆ EvtIoInCallerContext

◆ EvtProgramDmaFunction

Definition at line 1682 of file vffxdynamics.h.

◆ EvtRequestCancel

◆ EvtReserveDmaContext

◆ EvtReserveDmaFunction

◆ EvtTraceCallback

◆ FailedAction

Definition at line 1306 of file vffxdynamics.h.

◆ Fdo

_In_ WDFDEVICE Fdo

Definition at line 2293 of file vffxdynamics.h.

◆ FdoEventCallbacks

◆ File

Definition at line 1350 of file vffxdynamics.h.

◆ FileObject

_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT FileObject

Definition at line 1378 of file vffxdynamics.h.

◆ FileObjectAttributes

◆ FileObjectConfig

◆ FileType

Definition at line 787 of file vffxdynamics.h.

◆ FileTypeIsSupported

◆ FinalTransferredLength

Definition at line 1792 of file vffxdynamics.h.

◆ Flags

Definition at line 368 of file vffxdynamics.h.

◆ ForwardOptions

◆ ForwardProgressPolicy

◆ FoundRequest

Definition at line 2705 of file vffxdynamics.h.

◆ Guid

◆ HardwareID

◆ IdentificationDescription

◆ Index

_In_ WDFCMRESLIST _In_ ULONG Index

Definition at line 241 of file vffxdynamics.h.

◆ Info

Definition at line 119 of file vffxdynamics.h.

◆ Information

◆ InputBuffer

◆ InputBufferOffset

Definition at line 3118 of file vffxdynamics.h.

◆ Instance

◆ InstanceAttributes

◆ InstanceConfig

◆ InstanceID

◆ Interface

_In_ WDFUSBINTERFACE Interface

Definition at line 2297 of file vffxdynamics.h.

◆ InterfaceClassGUID

◆ InterfaceConfig

◆ InterfaceDescriptor

◆ InterfaceIndex

_In_ WDFUSBDEVICE _In_ UCHAR InterfaceIndex

Definition at line 5782 of file vffxdynamics.h.

◆ InterfaceSpecificData

◆ InterfaceType

Definition at line 2295 of file vffxdynamics.h.

◆ Interrupt

_In_ WDFINTERRUPT Interrupt

Definition at line 2418 of file vffxdynamics.h.

◆ IoctlCode

Definition at line 3135 of file vffxdynamics.h.

◆ IoResList

_In_ WDFIORESREQLIST _In_ WDFIORESLIST IoResList

Definition at line 4680 of file vffxdynamics.h.

◆ IoTarget

_Must_inspect_result_ _In_ WDFREQUEST _In_ WDFIOTARGET IoTarget

Definition at line 2847 of file vffxdynamics.h.

◆ IoTargetAttributes

◆ IoType

◆ IoTypeConfig

◆ Irp

◆ IsExclusive

◆ IsInterfaceEnabled

◆ IsPowerPolicyOwner

◆ Item

_In_ WDFCOLLECTION _In_ WDFOBJECT Item

Definition at line 229 of file vffxdynamics.h.

◆ Iterator

Definition at line 102 of file vffxdynamics.h.

◆ Key

Definition at line 756 of file vffxdynamics.h.

◆ KeyAttributes

◆ KeyName

◆ LangID

Definition at line 5198 of file vffxdynamics.h.

◆ Length

Definition at line 4408 of file vffxdynamics.h.

◆ Line

Definition at line 1348 of file vffxdynamics.h.

◆ List

_In_ WDFCMRESLIST List

Definition at line 4855 of file vffxdynamics.h.

◆ LocaleId

Definition at line 3659 of file vffxdynamics.h.

◆ Lock

◆ LockAttributes

◆ Lookaside

Definition at line 3406 of file vffxdynamics.h.

◆ LookasideAttributes

◆ MajorFunction

Definition at line 404 of file vffxdynamics.h.

◆ MapRegisterCount

_In_ WDFDMATRANSACTION _Out_opt_ ULONG* MapRegisterCount

Definition at line 1858 of file vffxdynamics.h.

◆ MaximumLength

_In_ WDFDMATRANSACTION _In_ size_t MaximumLength

Definition at line 1816 of file vffxdynamics.h.

◆ Mdl

Definition at line 1686 of file vffxdynamics.h.

◆ Memory

_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY Memory

Definition at line 3298 of file vffxdynamics.h.

◆ MemoryAttributes

◆ MemoryDescriptor

◆ MemoryObject

Definition at line 4534 of file vffxdynamics.h.

◆ MemoryOffsets

◆ MinimumRequiredLength

◆ MinimumRequiredSize

◆ MinorFunctions

◆ MofResourceName

◆ Notification

◆ NumberOfIsochPackets

◆ NumCharacters

◆ NumMinorFunctions

◆ Object

◆ Offset

Definition at line 1710 of file vffxdynamics.h.

◆ OpenParams

◆ Options

◆ OrInValues

◆ OtherArg1

_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY OtherArg1

Definition at line 3229 of file vffxdynamics.h.

◆ OtherArg1Offset

Definition at line 3256 of file vffxdynamics.h.

◆ OtherArg2

Definition at line 3231 of file vffxdynamics.h.

◆ OtherArg2Offset

◆ OtherArg4

Definition at line 3233 of file vffxdynamics.h.

◆ OtherArg4Offset

◆ OutputBuffer

◆ OutputBufferOffset

◆ OutRequest

_Must_inspect_result_ _In_ WDFQUEUE _In_ WDFREQUEST _Out_ WDFREQUEST* OutRequest

Definition at line 2677 of file vffxdynamics.h.

◆ Parameters

Definition at line 2709 of file vffxdynamics.h.

◆ Params

◆ ParentDevice

Definition at line 3565 of file vffxdynamics.h.

◆ ParentDeviceQueue

Definition at line 4640 of file vffxdynamics.h.

◆ ParentKey

Definition at line 3823 of file vffxdynamics.h.

◆ Pdo

◆ PhysicalDevice

Definition at line 613 of file vffxdynamics.h.

◆ Pipe

Definition at line 5476 of file vffxdynamics.h.

◆ PIPE

Definition at line 5687 of file vffxdynamics.h.

◆ PipeAttributes

◆ PipeIndex

_In_ WDFUSBINTERFACE _In_ UCHAR PipeIndex

Definition at line 5814 of file vffxdynamics.h.

◆ PipeInfo

Definition at line 5816 of file vffxdynamics.h.

◆ PipeInformation

Definition at line 5478 of file vffxdynamics.h.

◆ PipesAttributes

◆ PnpCapabilities

◆ PnpPowerEventCallbacks

◆ PnpState

◆ Policy

Definition at line 2528 of file vffxdynamics.h.

◆ PolicyAndGroup

Definition at line 2544 of file vffxdynamics.h.

◆ PoolTag

◆ PoolType

◆ PowerCapabilities

◆ PowerFrameworkSettings

◆ PowerPolicyEventCallbacks

◆ PowerPolicyState

◆ PowerState

◆ PreviousChild

Definition at line 2349 of file vffxdynamics.h.

◆ Priority

◆ PriorityBoost

Definition at line 4339 of file vffxdynamics.h.

◆ ProfileConfig

◆ PropertyBuffer

◆ PropertyMemory

◆ PropertyMemoryAttributes

◆ ProviderAttributes

◆ ProviderControl

Definition at line 5896 of file vffxdynamics.h.

◆ PurgeComplete

Definition at line 2775 of file vffxdynamics.h.

◆ QueryBufferLength

◆ Queue

_In_ WDFIOTARGET _In_ WDFQUEUE Queue

Definition at line 573 of file vffxdynamics.h.

◆ QueueAttributes

◆ QueueReady

◆ QueueRequests

Definition at line 2616 of file vffxdynamics.h.

◆ ReadMemory

_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY ReadMemory

Definition at line 5588 of file vffxdynamics.h.

◆ ReadOffset

Definition at line 5590 of file vffxdynamics.h.

◆ ReferenceString

◆ RegistryPath

◆ ReleaseHardwareOrderOnFailure

◆ Request

_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST Request

Definition at line 1391 of file vffxdynamics.h.

◆ RequestAttributes

◆ RequestFreesIrp

◆ RequestOptions

◆ RequestType

◆ Requeue

_In_ WDFREQUEST _In_ BOOLEAN Requeue

Definition at line 4607 of file vffxdynamics.h.

◆ RequiredMapRegisters

Definition at line 1914 of file vffxdynamics.h.

◆ RequiredSize

◆ RequirementsList

Definition at line 4652 of file vffxdynamics.h.

◆ ResourceList

_In_ WDFIORESLIST ResourceList

Definition at line 4756 of file vffxdynamics.h.

◆ ResultLength

◆ RetrieveInfo

◆ ReuseParams

Definition at line 4147 of file vffxdynamics.h.

◆ ScatterGatherElementCount

Definition at line 1860 of file vffxdynamics.h.

◆ SDDLString

◆ SettingIndex

_In_ WDFUSBINTERFACE _In_ UCHAR SettingIndex

Definition at line 5715 of file vffxdynamics.h.

◆ Settings

◆ SetupPacket

Definition at line 5305 of file vffxdynamics.h.

◆ Size

◆ SlotNumber

_In_ WDFIORESREQLIST _In_ ULONG SlotNumber

Definition at line 4654 of file vffxdynamics.h.

◆ SourceMemory

Definition at line 3357 of file vffxdynamics.h.

◆ SourceOffset

Definition at line 3359 of file vffxdynamics.h.

◆ SpinLock

◆ SpinLockAttributes

◆ Stack

Definition at line 4182 of file vffxdynamics.h.

◆ Status

_In_ WDFREQUEST _In_ NTSTATUS Status

Definition at line 1766 of file vffxdynamics.h.

◆ StopAndPurgeComplete

◆ StopComplete

Definition at line 2641 of file vffxdynamics.h.

◆ Stoppable

Definition at line 1145 of file vffxdynamics.h.

◆ String

◆ StringAttributes

◆ StringIndex

Definition at line 5196 of file vffxdynamics.h.

◆ StringMemory

Definition at line 5213 of file vffxdynamics.h.

◆ StringMemoryAttributes

◆ StringsAttributes

◆ StringsCollection

Definition at line 4058 of file vffxdynamics.h.

◆ SymbolicLinkName

◆ Tag

_In_ WDFDEVICE _In_opt_ PVOID Tag

Definition at line 1346 of file vffxdynamics.h.

◆ TargetProcessorSet

◆ Timer

_In_ WDFTIMER Timer

Definition at line 5068 of file vffxdynamics.h.

◆ TransferMemory

Definition at line 5326 of file vffxdynamics.h.

◆ TransferOffset

◆ TransferredLength

_In_ WDFDMATRANSACTION _In_ size_t TransferredLength

Definition at line 1778 of file vffxdynamics.h.

◆ Type

◆ UnicodeString

Definition at line 4929 of file vffxdynamics.h.

◆ UrbMemory

_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_ WDFMEMORY UrbMemory

Definition at line 5406 of file vffxdynamics.h.

◆ UrbMemoryOffset

Definition at line 5408 of file vffxdynamics.h.

◆ UsbDevice

_In_ WDFUSBDEVICE UsbDevice

Definition at line 5118 of file vffxdynamics.h.

◆ UsbDeviceDescriptor

Definition at line 5160 of file vffxdynamics.h.

◆ UsbInterface

_In_ WDFUSBINTERFACE UsbInterface

Definition at line 5703 of file vffxdynamics.h.

◆ UsbPipe

_In_ WDFUSBPIPE UsbPipe

Definition at line 5826 of file vffxdynamics.h.

◆ UseImmediateExecution

Definition at line 1900 of file vffxdynamics.h.

◆ Value

◆ ValueByteLength

◆ ValueLength

◆ ValueLengthQueried

◆ ValueName

◆ ValueType

◆ Version

◆ VersionAvailableParams

◆ VirtualAddress

◆ Wait

_In_ WDFTIMER _In_ BOOLEAN Wait

Definition at line 2008 of file vffxdynamics.h.

◆ WaitForD0

Definition at line 1320 of file vffxdynamics.h.

◆ WaitWakeStatus

Definition at line 1294 of file vffxdynamics.h.

◆ WmiInstance

Definition at line 5934 of file vffxdynamics.h.

◆ WmiProvider

_In_ WDFWMIPROVIDER WmiProvider

Definition at line 5874 of file vffxdynamics.h.

◆ WmiProviderConfig

◆ WorkItem

_In_ WDFWORKITEM WorkItem

Definition at line 5994 of file vffxdynamics.h.

◆ WriteMemory

_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST _In_opt_ WDFMEMORY WriteMemory

Definition at line 5552 of file vffxdynamics.h.

◆ WriteOffset

Definition at line 5554 of file vffxdynamics.h.