ReactOS 0.4.15-dev-5666-gc548b97
wdfiotarget.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WDF_IO_TARGET_OPEN_PARAMS
 

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 

Typedefs

typedef WDF_EXTERN_C_START enum _WDF_IO_TARGET_STATE WDF_IO_TARGET_STATE
 
typedef WDF_EXTERN_C_START enum _WDF_IO_TARGET_STATEPWDF_IO_TARGET_STATE
 
typedef enum _WDF_IO_TARGET_OPEN_TYPE WDF_IO_TARGET_OPEN_TYPE
 
typedef enum _WDF_IO_TARGET_SENT_IO_ACTION WDF_IO_TARGET_SENT_IO_ACTION
 
typedef enum _WDF_IO_TARGET_PURGE_IO_ACTION WDF_IO_TARGET_PURGE_IO_ACTION
 
typedef EVT_WDF_IO_TARGET_QUERY_REMOVE * PFN_WDF_IO_TARGET_QUERY_REMOVE
 
typedef EVT_WDF_IO_TARGET_REMOVE_CANCELED * PFN_WDF_IO_TARGET_REMOVE_CANCELED
 
typedef EVT_WDF_IO_TARGET_REMOVE_COMPLETE * PFN_WDF_IO_TARGET_REMOVE_COMPLETE
 
typedef struct _WDF_IO_TARGET_OPEN_PARAMS WDF_IO_TARGET_OPEN_PARAMS
 
typedef struct _WDF_IO_TARGET_OPEN_PARAMSPWDF_IO_TARGET_OPEN_PARAMS
 
typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFIOTARGETCREATE) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFDEVICE Device
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES IoTargetAttributes
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIOTARGET * IoTarget
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ PWDF_IO_TARGET_OPEN_PARAMS OpenParams
 
typedef _In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _When_(BufferLength !=0, _Out_writes_bytes_to_opt_(BufferLength, *ResultLength)) _When_(BufferLength == 0
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_opt_ PVOID PropertyBuffer
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_opt_ PVOID _Deref_out_range_(<=, BufferLength) PULONG ResultLength)
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID InterfaceType
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE Interface
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT Size
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST Request
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer = NULL
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG DeviceOffset
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS RequestOptions
 
typedef _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
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OutputBufferOffset
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer = NULL
 
typedef _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
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET InputBufferOffset
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG IoctlCode
 
typedef _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
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg1
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg2
 
typedef _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
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg1Offset
 
typedef _Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg2Offset
 
typedef _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
 

Enumerations

enum  _WDF_IO_TARGET_STATE {
  WdfIoTargetStateUndefined = 0 , WdfIoTargetStarted , WdfIoTargetStopped , WdfIoTargetClosedForQueryRemove ,
  WdfIoTargetClosed , WdfIoTargetDeleted , WdfIoTargetPurged
}
 
enum  _WDF_IO_TARGET_OPEN_TYPE {
  WdfIoTargetOpenUndefined = 0 , WdfIoTargetOpenUseExistingDevice = 1 , WdfIoTargetOpenByName = 2 , WdfIoTargetOpenReopen = 3 ,
  WdfIoTargetOpenLocalTargetByFile = 4
}
 
enum  _WDF_IO_TARGET_SENT_IO_ACTION { WdfIoTargetSentIoUndefined = 0 , WdfIoTargetCancelSentIo , WdfIoTargetWaitForSentIoToComplete , WdfIoTargetLeaveSentIoPending }
 
enum  _WDF_IO_TARGET_PURGE_IO_ACTION { WdfIoTargetPurgeIoUndefined = 0 , WdfIoTargetPurgeIoAndWait = 1 , WdfIoTargetPurgeIo = 2 }
 

Functions

typedef _Function_class_ (EVT_WDF_IO_TARGET_QUERY_REMOVE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_IO_TARGET_QUERY_REMOVE(_In_ WDFIOTARGET IoTarget)
 
typedef _Function_class_ (EVT_WDF_IO_TARGET_REMOVE_CANCELED) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_IO_TARGET_REMOVE_CANCELED(_In_ WDFIOTARGET IoTarget)
 
typedef _Function_class_ (EVT_WDF_IO_TARGET_REMOVE_COMPLETE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_IO_TARGET_REMOVE_COMPLETE(_In_ WDFIOTARGET IoTarget)
 
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_EXISTING_DEVICE (_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params, _In_ PDEVICE_OBJECT DeviceObject)
 
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_CREATE_BY_NAME (_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params, _In_ PCUNICODE_STRING TargetDeviceName, _In_ ACCESS_MASK DesiredAccess)
 
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_NAME (_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params, _In_ PCUNICODE_STRING TargetDeviceName, _In_ ACCESS_MASK DesiredAccess)
 
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_REOPEN (_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params)
 
_Must_inspect_result_ _IRQL_requires_max_ (DISPATCH_LEVEL) FORCEINLINE NTSTATUS WdfIoTargetStart(_In_ WDFIOTARGET IoTarget)
 
typedef _When_ (Action==3, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(Action
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 38 of file wdfiotarget.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 40 of file wdfiotarget.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 39 of file wdfiotarget.h.

Typedef Documentation

◆ _Deref_out_range_

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFIOTARGETFORMATREQUESTFORINTERNALIOCTLOTHERS)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 356 of file wdfiotarget.h.

◆ _When_

◆ Action

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfIoTargetStopTableIndex
Definition: wdffuncenum.h:197
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIOTARGET * IoTarget
Definition: wdfiotarget.h:368
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Definition: wdfiotarget.h:510

Definition at line 509 of file wdfiotarget.h.

◆ BufferLength

◆ BytesRead

Initial value:
{
@ WdfIoTargetSendReadSynchronouslyTableIndex
Definition: wdffuncenum.h:207
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG DeviceOffset
Definition: wdfiotarget.h:865
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST Request
Definition: wdfiotarget.h:861
_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
Definition: wdfiotarget.h:870
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS RequestOptions
Definition: wdfiotarget.h:867

Definition at line 869 of file wdfiotarget.h.

◆ BytesReturned

Initial value:
{
@ WdfIoTargetSendIoctlSynchronouslyTableIndex
Definition: wdffuncenum.h:211
_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
Definition: wdfiotarget.h:1052
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG IoctlCode
Definition: wdfiotarget.h:1043
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953

Definition at line 1051 of file wdfiotarget.h.

◆ BytesWritten

Initial value:
{
@ WdfIoTargetSendWriteSynchronouslyTableIndex
Definition: wdffuncenum.h:209
_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
Definition: wdfiotarget.h:960

Definition at line 959 of file wdfiotarget.h.

◆ Device

typedef _Must_inspect_result_ _In_ WDFDEVICE Device

Definition at line 363 of file wdfiotarget.h.

◆ DeviceOffset

Initial value:
{
@ WdfIoTargetFormatRequestForReadTableIndex
Definition: wdffuncenum.h:208
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OutputBufferOffset
Definition: wdfiotarget.h:912

Definition at line 865 of file wdfiotarget.h.

◆ DeviceProperty

◆ InputBuffer

_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY InputBuffer = NULL

Definition at line 953 of file wdfiotarget.h.

◆ InputBufferOffset

Definition at line 1002 of file wdfiotarget.h.

◆ Interface

◆ InterfaceSpecificData

Initial value:
{
@ WdfIoTargetQueryForInterfaceTableIndex
Definition: wdffuncenum.h:202
_Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdfiotarget.h:720
_Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT Size
Definition: wdfiotarget.h:718
_Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID InterfaceType
Definition: wdfiotarget.h:714
_Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
Definition: wdfiotarget.h:723
_Must_inspect_result_ _In_ WDFIOTARGET _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdfiotarget.h:716

Definition at line 722 of file wdfiotarget.h.

◆ InterfaceType

◆ IoctlCode

Definition at line 1043 of file wdfiotarget.h.

◆ IoTarget

_Must_inspect_result_ _In_ WDFREQUEST _In_ WDFIOTARGET IoTarget
Initial value:
{
@ WdfIoTargetCreateTableIndex
Definition: wdffuncenum.h:192
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfiotarget.h:363
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES IoTargetAttributes
Definition: wdfiotarget.h:365

Definition at line 367 of file wdfiotarget.h.

◆ IoTargetAttributes

◆ OpenParams

Initial value:
{
@ WdfIoTargetOpenTableIndex
Definition: wdffuncenum.h:193
_Must_inspect_result_ _In_ WDFIOTARGET _In_ PWDF_IO_TARGET_OPEN_PARAMS OpenParams
Definition: wdfiotarget.h:401

Definition at line 400 of file wdfiotarget.h.

◆ OtherArg1

_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY OtherArg1

Definition at line 1249 of file wdfiotarget.h.

◆ OtherArg1Offset

◆ OtherArg2

Definition at line 1251 of file wdfiotarget.h.

◆ OtherArg2Offset

◆ OtherArg4

Definition at line 1253 of file wdfiotarget.h.

◆ OtherArg4Offset

Initial value:
{
@ WdfIoTargetFormatRequestForInternalIoctlOthersTableIndex
Definition: wdffuncenum.h:216
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg2
Definition: wdfiotarget.h:1251
_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
Definition: wdfiotarget.h:1315
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR OtherArg1
Definition: wdfiotarget.h:1249
_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
Definition: wdfiotarget.h:1253
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg2Offset
Definition: wdfiotarget.h:1310
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_ ULONG _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET OtherArg1Offset
Definition: wdfiotarget.h:1306

Definition at line 1314 of file wdfiotarget.h.

◆ OutputBuffer

Definition at line 863 of file wdfiotarget.h.

◆ OutputBufferOffset

Initial value:
{
@ WdfIoTargetFormatRequestForIoctlTableIndex
Definition: wdffuncenum.h:212
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFREQUEST _In_opt_ WDFMEMORY _In_opt_ PWDFMEMORY_OFFSET InputBufferOffset
Definition: wdfiotarget.h:1002

Definition at line 912 of file wdfiotarget.h.

◆ PFN_WDF_IO_TARGET_QUERY_REMOVE

typedef EVT_WDF_IO_TARGET_QUERY_REMOVE* PFN_WDF_IO_TARGET_QUERY_REMOVE

Definition at line 95 of file wdfiotarget.h.

◆ PFN_WDF_IO_TARGET_REMOVE_CANCELED

typedef EVT_WDF_IO_TARGET_REMOVE_CANCELED* PFN_WDF_IO_TARGET_REMOVE_CANCELED

Definition at line 108 of file wdfiotarget.h.

◆ PFN_WDF_IO_TARGET_REMOVE_COMPLETE

typedef EVT_WDF_IO_TARGET_REMOVE_COMPLETE* PFN_WDF_IO_TARGET_REMOVE_COMPLETE

Definition at line 121 of file wdfiotarget.h.

◆ PoolType

◆ PropertyBuffer

◆ PropertyMemory

Initial value:
{
@ WdfIoTargetAllocAndQueryTargetPropertyTableIndex
Definition: wdffuncenum.h:201
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfiotarget.h:672
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdfiotarget.h:624
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
Definition: wdfiotarget.h:677
_Must_inspect_result_ _In_ WDFIOTARGET _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
Definition: wdfiotarget.h:674

Definition at line 676 of file wdfiotarget.h.

◆ PropertyMemoryAttributes

◆ PWDF_IO_TARGET_OPEN_PARAMS

◆ PWDF_IO_TARGET_STATE

◆ Request

Definition at line 861 of file wdfiotarget.h.

◆ RequestOptions

Initial value:
{
@ WdfUsbTargetPipeAbortSynchronouslyTableIndex
Definition: wdffuncenum.h:376
_In_ WDFUSBPIPE Pipe
Definition: wdfusb.h:1741

Definition at line 867 of file wdfiotarget.h.

◆ Size

◆ Version

◆ WDF_IO_TARGET_OPEN_PARAMS

◆ WDF_IO_TARGET_OPEN_TYPE

◆ WDF_IO_TARGET_PURGE_IO_ACTION

◆ WDF_IO_TARGET_SENT_IO_ACTION

◆ WDF_IO_TARGET_STATE

Enumeration Type Documentation

◆ _WDF_IO_TARGET_OPEN_TYPE

Enumerator
WdfIoTargetOpenUndefined 
WdfIoTargetOpenUseExistingDevice 
WdfIoTargetOpenByName 
WdfIoTargetOpenReopen 
WdfIoTargetOpenLocalTargetByFile 

Definition at line 61 of file wdfiotarget.h.

61 {
enum _WDF_IO_TARGET_OPEN_TYPE WDF_IO_TARGET_OPEN_TYPE
@ WdfIoTargetOpenUndefined
Definition: wdfiotarget.h:62
@ WdfIoTargetOpenLocalTargetByFile
Definition: wdfiotarget.h:66
@ WdfIoTargetOpenReopen
Definition: wdfiotarget.h:65
@ WdfIoTargetOpenUseExistingDevice
Definition: wdfiotarget.h:63
@ WdfIoTargetOpenByName
Definition: wdfiotarget.h:64

◆ _WDF_IO_TARGET_PURGE_IO_ACTION

Enumerator
WdfIoTargetPurgeIoUndefined 
WdfIoTargetPurgeIoAndWait 
WdfIoTargetPurgeIo 

Definition at line 76 of file wdfiotarget.h.

76 {
enum _WDF_IO_TARGET_PURGE_IO_ACTION WDF_IO_TARGET_PURGE_IO_ACTION
@ WdfIoTargetPurgeIo
Definition: wdfiotarget.h:79
@ WdfIoTargetPurgeIoUndefined
Definition: wdfiotarget.h:77
@ WdfIoTargetPurgeIoAndWait
Definition: wdfiotarget.h:78

◆ _WDF_IO_TARGET_SENT_IO_ACTION

Enumerator
WdfIoTargetSentIoUndefined 
WdfIoTargetCancelSentIo 
WdfIoTargetWaitForSentIoToComplete 
WdfIoTargetLeaveSentIoPending 

Definition at line 69 of file wdfiotarget.h.

69 {
@ WdfIoTargetCancelSentIo
Definition: wdfiotarget.h:71
@ WdfIoTargetWaitForSentIoToComplete
Definition: wdfiotarget.h:72
@ WdfIoTargetSentIoUndefined
Definition: wdfiotarget.h:70
@ WdfIoTargetLeaveSentIoPending
Definition: wdfiotarget.h:73
enum _WDF_IO_TARGET_SENT_IO_ACTION WDF_IO_TARGET_SENT_IO_ACTION

◆ _WDF_IO_TARGET_STATE

Enumerator
WdfIoTargetStateUndefined 
WdfIoTargetStarted 
WdfIoTargetStopped 
WdfIoTargetClosedForQueryRemove 
WdfIoTargetClosed 
WdfIoTargetDeleted 
WdfIoTargetPurged 

Definition at line 51 of file wdfiotarget.h.

51 {
@ WdfIoTargetClosed
Definition: wdfiotarget.h:56
@ WdfIoTargetStarted
Definition: wdfiotarget.h:53
@ WdfIoTargetStateUndefined
Definition: wdfiotarget.h:52
@ WdfIoTargetClosedForQueryRemove
Definition: wdfiotarget.h:55
@ WdfIoTargetPurged
Definition: wdfiotarget.h:58
@ WdfIoTargetDeleted
Definition: wdfiotarget.h:57
@ WdfIoTargetStopped
Definition: wdfiotarget.h:54
WDF_EXTERN_C_START enum _WDF_IO_TARGET_STATE WDF_IO_TARGET_STATE
WDF_EXTERN_C_START enum _WDF_IO_TARGET_STATE * PWDF_IO_TARGET_STATE

Function Documentation

◆ _Function_class_() [1/3]

typedef _Function_class_ ( EVT_WDF_IO_TARGET_QUERY_REMOVE  )

◆ _Function_class_() [2/3]

typedef _Function_class_ ( EVT_WDF_IO_TARGET_REMOVE_CANCELED  )

◆ _Function_class_() [3/3]

typedef _Function_class_ ( EVT_WDF_IO_TARGET_REMOVE_COMPLETE  )

◆ _IRQL_requires_max_()

_Must_inspect_result_ _IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 483 of file wdfiotarget.h.

490{
491 return ((PFN_WDFIOTARGETSTART) WdfFunctions[WdfIoTargetStartTableIndex])(WdfDriverGlobals, IoTarget);
492}
@ WdfIoTargetStartTableIndex
Definition: wdffuncenum.h:196

◆ _When_()

typedef _When_ ( Action  = = 3,
_IRQL_requires_max_(DISPATCH_LEVEL  
)

◆ WDF_IO_TARGET_OPEN_PARAMS_INIT_CREATE_BY_NAME()

FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_CREATE_BY_NAME ( _Out_ PWDF_IO_TARGET_OPEN_PARAMS  Params,
_In_ PCUNICODE_STRING  TargetDeviceName,
_In_ ACCESS_MASK  DesiredAccess 
)

Definition at line 303 of file wdfiotarget.h.

308{
310
311 Params->Size = sizeof(WDF_IO_TARGET_OPEN_PARAMS);
313
314 RtlCopyMemory(&Params->TargetDeviceName,
315 TargetDeviceName,
316 sizeof(UNICODE_STRING));
317 Params->DesiredAccess = DesiredAccess;
318 Params->CreateOptions = FILE_NON_DIRECTORY_FILE;
319}
#define FILE_NON_DIRECTORY_FILE
Definition: constants.h:492
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658
struct _WDF_IO_TARGET_OPEN_PARAMS WDF_IO_TARGET_OPEN_PARAMS
_In_ WDFIOTARGET _In_ PWDF_REQUEST_COMPLETION_PARAMS Params
Definition: wdfrequest.h:308

Referenced by WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_NAME().

◆ WDF_IO_TARGET_OPEN_PARAMS_INIT_EXISTING_DEVICE()

FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_EXISTING_DEVICE ( _Out_ PWDF_IO_TARGET_OPEN_PARAMS  Params,
_In_ PDEVICE_OBJECT  DeviceObject 
)

Definition at line 287 of file wdfiotarget.h.

291{
293
294 Params->Size = sizeof(WDF_IO_TARGET_OPEN_PARAMS);
296
297 Params->TargetDeviceObject = DeviceObject;
298}
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055

Referenced by DriverEvtDeviceAdd().

◆ WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_NAME()

FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_NAME ( _Out_ PWDF_IO_TARGET_OPEN_PARAMS  Params,
_In_ PCUNICODE_STRING  TargetDeviceName,
_In_ ACCESS_MASK  DesiredAccess 
)

Definition at line 323 of file wdfiotarget.h.

328{
330 TargetDeviceName,
332 Params->CreateDisposition = FILE_OPEN;
333}
#define FILE_OPEN
Definition: from_kernel.h:54
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_CREATE_BY_NAME(_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params, _In_ PCUNICODE_STRING TargetDeviceName, _In_ ACCESS_MASK DesiredAccess)
Definition: wdfiotarget.h:303

◆ WDF_IO_TARGET_OPEN_PARAMS_INIT_REOPEN()

FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_REOPEN ( _Out_ PWDF_IO_TARGET_OPEN_PARAMS  Params)

Definition at line 340 of file wdfiotarget.h.

343{
345
346 Params->Size = sizeof(WDF_IO_TARGET_OPEN_PARAMS);
348}

Referenced by FxIoTargetRemoteNotificationCallback::OnRemoveCanceled().