ReactOS 0.4.16-dev-734-g364d6e0
|
Go to the source code of this file.
Classes | |
struct | _WDF_REQUEST_PARAMETERS |
struct | _WDF_REQUEST_COMPLETION_PARAMS |
struct | _WDF_REQUEST_REUSE_PARAMS |
struct | _WDF_REQUEST_SEND_OPTIONS |
struct | _WDF_REQUEST_FORWARD_OPTIONS |
Macros | |
#define | WDF_EXTERN_C |
#define | WDF_EXTERN_C_START |
#define | WDF_EXTERN_C_END |
Enumerations | |
enum | _WDF_REQUEST_REUSE_FLAGS { WDF_REQUEST_REUSE_NO_FLAGS = 0x00000000 , WDF_REQUEST_REUSE_SET_NEW_IRP = 0x00000001 } |
enum | _WDF_REQUEST_STOP_ACTION_FLAGS { WdfRequestStopActionInvalid = 0 , WdfRequestStopActionSuspend = 0x01 , WdfRequestStopActionPurge = 0x2 , WdfRequestStopRequestCancelable = 0x10000000 } |
enum | _WDF_REQUEST_SEND_OPTIONS_FLAGS { WDF_REQUEST_SEND_OPTION_TIMEOUT = 0x00000001 , WDF_REQUEST_SEND_OPTION_SYNCHRONOUS = 0x00000002 , WDF_REQUEST_SEND_OPTION_IGNORE_TARGET_STATE = 0x00000004 , WDF_REQUEST_SEND_OPTION_SEND_AND_FORGET = 0x00000008 , WDF_REQUEST_SEND_OPTION_IMPERSONATE_CLIENT = 0x00010000 , WDF_REQUEST_SEND_OPTION_IMPERSONATION_IGNORE_FAILURE = 0x00020000 } |
enum | _WDF_REQUEST_FORWARD_OPTIONS_FLAGS { WDF_REQUEST_FORWARD_OPTION_SEND_AND_FORGET = 0x00000001 } |
#define WDF_EXTERN_C |
Definition at line 40 of file wdfrequest.h.
#define WDF_EXTERN_C_END |
Definition at line 42 of file wdfrequest.h.
#define WDF_EXTERN_C_START |
Definition at line 41 of file wdfrequest.h.
typedef _Must_inspect_result_ _In_ WDFREQUEST _In_reads_bytes_(Length) PVOID Buffer |
Definition at line 1467 of file wdfrequest.h.
typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFREQUESTFORWARDTOPARENTDEVICEIOQUEUE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals |
Definition at line 471 of file wdfrequest.h.
Definition at line 1173 of file wdfrequest.h.
Definition at line 897 of file wdfrequest.h.
Definition at line 895 of file wdfrequest.h.
typedef _In_ WDFIOTARGET _In_ PWDF_REQUEST_COMPLETION_PARAMS _In_ WDFCONTEXT Context |
Definition at line 310 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFQUEUE DestinationQueue |
Definition at line 1571 of file wdfrequest.h.
Definition at line 729 of file wdfrequest.h.
Definition at line 1735 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFUSBDEVICE _Out_ PWDF_USB_DEVICE_INFORMATION Information |
Definition at line 1048 of file wdfrequest.h.
Definition at line 1313 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFIOTARGET IoTarget |
Definition at line 480 of file wdfrequest.h.
Definition at line 515 of file wdfrequest.h.
Definition at line 1175 of file wdfrequest.h.
Definition at line 1249 of file wdfrequest.h.
_Must_inspect_result_ _Out_ WDFMEMORY* Memory |
Definition at line 1109 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t _Out_ WDFMEMORY * MemoryObject |
Definition at line 1472 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFREQUEST _In_ size_t MinimumRequiredLength |
Definition at line 1171 of file wdfrequest.h.
Definition at line 1210 of file wdfrequest.h.
Definition at line 1352 of file wdfrequest.h.
Definition at line 1079 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFUSBINTERFACE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_USB_INTERFACE_SELECT_SETTING_PARAMS Params |
Definition at line 308 of file wdfrequest.h.
_Must_inspect_result_ _In_ WDFQUEUE ParentDeviceQueue |
Definition at line 1733 of file wdfrequest.h.
typedef EVT_WDF_REQUEST_CANCEL* PFN_WDF_REQUEST_CANCEL |
Definition at line 130 of file wdfrequest.h.
typedef EVT_WDF_REQUEST_COMPLETION_ROUTINE* PFN_WDF_REQUEST_COMPLETION_ROUTINE |
Definition at line 313 of file wdfrequest.h.
typedef _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 at line 661 of file wdfrequest.h.
Definition at line 1015 of file wdfrequest.h.
Definition at line 220 of file wdfrequest.h.
typedef _Must_inspect_result_ _In_ WDFREQUEST Request |
Definition at line 482 of file wdfrequest.h.
Definition at line 478 of file wdfrequest.h.
Definition at line 517 of file wdfrequest.h.
Definition at line 1653 of file wdfrequest.h.
Definition at line 553 of file wdfrequest.h.
Definition at line 638 of file wdfrequest.h.
Definition at line 984 of file wdfrequest.h.
_Must_inspect_result_ __in WDFREQUEST __in WDFIOTARGET Target |
Definition at line 306 of file wdfrequest.h.
Enumerator | |
---|---|
WDF_REQUEST_FORWARD_OPTION_SEND_AND_FORGET |
Definition at line 430 of file wdfrequest.h.
Enumerator | |
---|---|
WDF_REQUEST_REUSE_NO_FLAGS | |
WDF_REQUEST_REUSE_SET_NEW_IRP |
Definition at line 91 of file wdfrequest.h.
Definition at line 107 of file wdfrequest.h.
Enumerator | |
---|---|
WdfRequestStopActionInvalid | |
WdfRequestStopActionSuspend | |
WdfRequestStopActionPurge | |
WdfRequestStopRequestCancelable |
Definition at line 100 of file wdfrequest.h.
typedef _Function_class_ | ( | EVT_WDF_REQUEST_CANCEL | ) |
typedef _Function_class_ | ( | EVT_WDF_REQUEST_COMPLETION_ROUTINE | ) |
_Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
[in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
[in] | Process | The process for which the buffer should be probed and locked. |
[in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
[in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
[in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
[in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 871 of file wdfrequest.h.
_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.
[in] | SecurityInformation | Security information details to be queried from a security descriptor. |
[out] | SecurityDescriptor | The returned security descriptor with security information data. |
[in,out] | Length | The returned length of a security descriptor. |
[in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | SecurityDescriptor | A security descriptor to be freed from memory. |
[in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | ObjectType | The type of the new object. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | SecurityDescriptor | A security descriptor. |
[out] | QuotaInfoSize | The 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. |
Definition at line 923 of file Messaging.c.
FORCEINLINE VOID WDF_REQUEST_COMPLETION_PARAMS_INIT | ( | _Out_ PWDF_REQUEST_COMPLETION_PARAMS | Params | ) |
Definition at line 288 of file wdfrequest.h.
Referenced by FxRequest::CopyCompletionParams(), and FxRequestContext::InitCompletionParams().
FORCEINLINE VOID WDF_REQUEST_FORWARD_OPTIONS_INIT | ( | _Out_ PWDF_REQUEST_FORWARD_OPTIONS | ForwardOptions | ) |
Definition at line 453 of file wdfrequest.h.
FORCEINLINE VOID WDF_REQUEST_PARAMETERS_INIT | ( | _Out_ PWDF_REQUEST_PARAMETERS | Parameters | ) |
Definition at line 211 of file wdfrequest.h.
Referenced by DeviceEvtIoInCallerContext(), ReadWriteWorkItemRoutine(), RequestCompletion(), RequestHandleQueryPropertyDeviceUniqueId(), RequestHandleQueryPropertyWriteCache(), RequestIsIoctlBlockedByExclusiveAccess(), RequestSynchronizeProcessWithSerialQueue(), SequentialQueueEvtIoDeviceControl(), and SequentialQueueEvtIoReadWrite().
FORCEINLINE VOID WDF_REQUEST_REUSE_PARAMS_INIT | ( | _Out_ PWDF_REQUEST_REUSE_PARAMS | Params, |
_In_ ULONG | Flags, | ||
_In_ NTSTATUS | Status | ||
) |
Definition at line 364 of file wdfrequest.h.
Referenced by _IRQL_requires_max_(), DeviceReleaseQueueCompletion(), FxUsbPipeContinuousReader::FormatRepeater(), and ScratchBuffer_ResetItems().
FORCEINLINE VOID WDF_REQUEST_REUSE_PARAMS_SET_NEW_IRP | ( | _Inout_ PWDF_REQUEST_REUSE_PARAMS | Params, |
_In_ PIRP | NewIrp | ||
) |
Definition at line 379 of file wdfrequest.h.
FORCEINLINE VOID WDF_REQUEST_SEND_OPTIONS_INIT | ( | _Out_ PWDF_REQUEST_SEND_OPTIONS | Options, |
_In_ ULONG | Flags | ||
) |
Definition at line 409 of file wdfrequest.h.
Referenced by FxUsbDevice::Deconfig(), FxUsbDevice::GetPortStatus(), FxUsbDevice::GetString(), FxUsbDevice::InitDevice(), RequestSend(), FxUsbDevice::SelectConfig(), FxUsbInterface::SelectSetting(), FxUsbDevice::SendSyncRequest(), FxUsbDevice::SendSyncUmUrb(), and FxIoTarget::SubmitSyncRequestIgnoreTargetState().
FORCEINLINE VOID WDF_REQUEST_SEND_OPTIONS_SET_TIMEOUT | ( | _Inout_ PWDF_REQUEST_SEND_OPTIONS | Options, |
_In_ LONGLONG | Timeout | ||
) |
Definition at line 421 of file wdfrequest.h.
Referenced by FxUsbDevice::GetString(), FxUsbDevice::InitDevice(), FxUsbDevice::SelectConfig(), FxUsbInterface::SelectSetting(), FxUsbDevice::SendSyncRequest(), and FxUsbDevice::SendSyncUmUrb().
_Must_inspect_result_ FORCEINLINE BOOLEAN WdfRequestSend | ( | _In_ WDFREQUEST | Request, |
_In_ WDFIOTARGET | Target, | ||
_In_opt_ PWDF_REQUEST_SEND_OPTIONS | Options | ||
) |
Definition at line 677 of file wdfrequest.h.
Referenced by RequestSend().