ReactOS 0.4.16-dev-292-gbbdcc14
|
#include "../fxtargetsshared.hpp"
Go to the source code of this file.
_Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
__drv_maxIRQL | ( | PASSIVE_LEVEL | ) |
Definition at line 80 of file fxiotargetapi.cpp.
__drv_when | ( | Action | = = 3 , |
__drv_maxIRQL(DISPATCH_LEVEL) | |||
) |
_Must_inspect_result_ _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 347 of file common.c.
pTarget Close | ( | FxIoTargetRemoteCloseReasonPlainClose | ) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"enter WDFIOTARGET 0x%p" | , | ||
IoTarget | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"enter: WDFIOTARGET 0x% | p, | ||
WDFREQUEST 0x% | p, | ||
IOCTL 0x% | x, | ||
Args %p %p %p" | , | ||
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
OtherArg1 | , | ||
OtherArg2 | , | ||
OtherArg4 | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"Enter: WDFIOTARGET 0x% | p, | ||
WDFREQUEST 0x% | p, | ||
IOCTL 0x% | x, | ||
" "WDFMEMORY 1 0x% | p, | ||
2 0x% | p, | ||
3 0x%p" | , | ||
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
OtherArg1 | , | ||
OtherArg2 | , | ||
OtherArg4 | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"exit WDFIOTARGET 0x% | p, | ||
%!STATUS!" | , | ||
IoTarget | , | ||
status | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"exit WDFIOTARGET 0x% | p, | ||
WDFDEVICE 0x%p" | , | ||
IoTarget | , | ||
device | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"exit WDFIOTARGET 0x% | p, | ||
WDM file handle 0x%p" | , | ||
IoTarget | , | ||
handle | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"Exit: WDFIOTARGET % | p, | ||
WDFREQUEST % | p, | ||
IOCTL 0x% | x, | ||
" "Arg Handles %p %p % | p, | ||
status %!STATUS!" | , | ||
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
OtherArg1 | , | ||
OtherArg2 | , | ||
OtherArg4 | , | ||
status | |||
) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_VERBOSE | , | ||
TRACINGIOTARGET | , | ||
"WDFDEVICE 0x%p" | , | ||
Device | |||
) |
for | ( | ) |
Definition at line 1829 of file fxiotargetapi.cpp.
|
static |
Definition at line 838 of file fxiotargetapi.cpp.
return FxIoTargetFormatIo | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
IRP_MJ_READ | , | ||
OutputBuffer | , | ||
OutputBufferOffsets | , | ||
DeviceOffset | |||
) |
return FxIoTargetFormatIo | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
IRP_MJ_WRITE | , | ||
InputBuffer | , | ||
InputBufferOffsets | , | ||
DeviceOffset | |||
) |
|
static |
Definition at line 1233 of file fxiotargetapi.cpp.
return FxIoTargetFormatIoctl | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
FALSE | , | ||
InputBuffer | , | ||
InputBufferOffsets | , | ||
OutputBuffer | , | ||
OutputBufferOffsets | |||
) |
return FxIoTargetFormatIoctl | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
TRUE | , | ||
InputBuffer | , | ||
InputBufferOffsets | , | ||
OutputBuffer | , | ||
OutputBufferOffsets | |||
) |
|
static |
Definition at line 695 of file fxiotargetapi.cpp.
return FxIoTargetSendIo | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
IRP_MJ_READ | , | ||
OutputBuffer | , | ||
DeviceOffset | , | ||
RequestOptions | , | ||
BytesRead | |||
) |
return FxIoTargetSendIo | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
IRP_MJ_WRITE | , | ||
InputBuffer | , | ||
DeviceOffset | , | ||
RequestOptions | , | ||
BytesWritten | |||
) |
_Must_inspect_result_ NTSTATUS FxIoTargetSendIoctl | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in WDFIOTARGET | IoTarget, | ||
__in_opt WDFREQUEST | Request, | ||
__in ULONG | Ioctl, | ||
__in BOOLEAN | Internal, | ||
__in_opt PWDF_MEMORY_DESCRIPTOR | InputBuffer, | ||
__in_opt PWDF_MEMORY_DESCRIPTOR | OutputBuffer, | ||
__in_opt PWDF_REQUEST_SEND_OPTIONS | RequestOptions, | ||
__out_opt PULONG_PTR | BytesReturned | ||
) |
Definition at line 1081 of file fxiotargetapi.cpp.
return FxIoTargetSendIoctl | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
FALSE | , | ||
InputBuffer | , | ||
OutputBuffer | , | ||
RequestOptions | , | ||
BytesReturned | |||
) |
return FxIoTargetSendIoctl | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
Request | , | ||
Ioctl | , | ||
TRUE | , | ||
InputBuffer | , | ||
OutputBuffer | , | ||
RequestOptions | , | ||
BytesReturned | |||
) |
_Must_inspect_result_ NTSTATUS FxIoTargetValidateOpenParams | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in PWDF_IO_TARGET_OPEN_PARAMS | OpenParams | ||
) |
Definition at line 225 of file fxiotargetapi.cpp.
FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
FX_TYPE_IO_TARGET | , | ||
(PVOID *) & | pTarget | ||
) |
Referenced by for(), FxIoTargetFormatIo(), and FxIoTargetFormatIoctl().
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
Request | , | ||
FX_TYPE_REQUEST | , | ||
(PVOID *) & | pRequest | ||
) |
FxObjectHandleGetPtr | ( | pGlobals | , |
Queue | , | ||
FX_TYPE_QUEUE | , | ||
(PVOID *)& | pFxIoQueue | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
Device | , | ||
FX_TYPE_DEVICE_BASE | , | ||
(PWDFOBJECT) & | pDevice, | ||
& | pFxDriverGlobals | ||
) |
Referenced by __drv_strictTypeMatch(), FxIoTargetFormatIo(), FxIoTargetFormatIoctl(), FxIoTargetSendIo(), and FxIoTargetSendIoctl().
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
FX_TYPE_IO_TARGET | , | ||
(PVOID *) & | pTarget, | ||
& | pFxDriverGlobals | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
FX_TYPE_IO_TARGET_REMOTE | , | ||
(PVOID *) & | pTarget, | ||
& | pFxDriverGlobals | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
IoTarget | , | ||
FX_TYPE_IO_TARGET_SELF | , | ||
(PVOID *) & | pTargetSelf, | ||
& | pGlobals | ||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
IoTarget | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
OpenParams | |||
) |
Referenced by DECLARE_INTERFACE_().
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 419 of file fxiotargetapi.cpp.
if | ( | NT_SUCCESS(status) | ) |
Definition at line 435 of file fxiotargetapi.cpp.
if | ( | OpenParams->Size ! | = sizeof(WDF_IO_TARGET_OPEN_PARAMS) && OpenParams->Size != sizeof(WDF_IO_TARGET_OPEN_PARAMS_V1_11) | ) |
Definition at line 507 of file fxiotargetapi.cpp.
if | ( | ) |
Definition at line 519 of file fxiotargetapi.cpp.
Definition at line 1654 of file fxiotargetapi.cpp.
Definition at line 1669 of file fxiotargetapi.cpp.
Definition at line 1684 of file fxiotargetapi.cpp.
if | ( | pDevice ! | = pFxIoQueue->GetDevice() | ) |
Definition at line 1933 of file fxiotargetapi.cpp.
if | ( | pDevice-> | IsLegacy() | ) |
Definition at line 1946 of file fxiotargetapi.cpp.
FxSyncRequest request | ( | pFxDriverGlobals | , |
& | context, | ||
Request | |||
) |
Referenced by AcpiPsGetNextNamepath(), AcpiPsGetNextNamestring(), AcpiPsGetNextPackageEnd(), FxResourceCollection::AddAt(), BSTR_UserSize(), CalculateChecksum(), CcpDereferenceCache(), CcpMarkForExclusive(), CcpReferenceCache(), CcpReferenceCacheExclusive(), CLEANLOCALSTORAGE_UserSize(), ConioComputeUpdateRect(), ConvertConfigToVA(), FxCmResList::CreateWdmList(), FxIoResReqList::CreateWdmList(), DECLARE_INTERFACE_(), EnumNameServers(), Ext2AddBlockExtent(), Ext2BuildExtents(), Ext2ExpandBlock(), Ext2ExpandExtent(), Ext2ExpandFile(), Ext2ExpandIndirect(), Ext2GetBlock(), Ext2InitializeZone(), Ext2LookupBlockExtent(), Ext2LookupFile(), Ext2RemoveBlockExtent(), Ext2TruncateBlock(), Ext2ZeroData(), FatIsIoRangeValid(), FileAsyncReader_Request(), FindVerbInDefaultVerbList(), ForDir(), ForF(), ForLoop(), FsRtlTest_FillBuffer(), FsVolCommitOpsQueue(), FxUsbFindDescriptorType(), FxUsbValidateDescriptorType(), GetAdapterResources(), FxCmResList::GetResourceLength(), GuiPaintTextModeBuffer(), HTMLTxtRange_collapse(), InitRomRange(), IntDrawArc(), IntExtTextOutW(), IntFillArc(), IntSetPaletteEntries(), IntValidateParents(), IopFindBusNumberResource(), IopFindMemoryResource(), IopFindPortResource(), Is1On(), Is24On(), KdbpGetNextBreakPointNr(), CKsInterfaceHandler::KsCompleteIo(), LdrpNameToOrdinal(), main(), Open(), otv_ClassDef_validate(), otv_Coverage_get_count(), otv_Coverage_validate(), PALOBJ_cGetColors(), PciBuildDefaultExclusionLists(), Protocol_Start(), ProtocolEmul_Continue(), ProtocolEmul_Start(), ReadVolumeLabel(), RtlAddRange(), RtlDeleteRange(), RtlFindRange(), RtlIsDosDeviceName_Ustr(), RtlIsRangeAvailable(), RtlpDphIsPageHeapBlock(), RtlSeekMemoryStream(), ScControl(), Set1(), CRichEdit::SetRangeFormatting(), SHELL32_EnumDefaultVerbList(), _MdTimer::StartWithReturn(), StringHashTableInit(), SubstituteVar(), test_binding(), test_BindToObject(), test_BindToStorage(), test_CreateBinding(), test_download(), test_ReportResult(), test_submit(), Test_SyscallPerformance(), test_URLDownloadToFile(), TestIsAvailable(), TestSharedFlag(), TestStartEqualsEnd(), UmaMgrInitialize(), USBPORT_SynchronizeControllersStart(), VARIANT_UserSize(), VGADDI_InitializeOffScreenMem(), and wire_extra_user_size().
Definition at line 1606 of file fxiotargetapi.cpp.
InternalIoctlParams Argument1 = memoryHandles[i] = OtherArg1 |
Definition at line 1820 of file fxiotargetapi.cpp.
InternalIoctlParams Argument2 = memoryHandles[++i] = OtherArg2 |
Definition at line 1823 of file fxiotargetapi.cpp.
InternalIoctlParams Argument4 = memoryHandles[++i] = OtherArg4 |
Definition at line 1826 of file fxiotargetapi.cpp.
Referenced by BlTblFindEntry(), FileTableCompareWithSameAttributes(), and FileTableCompareWithSubsetAttributes().
_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 at line 970 of file fxiotargetapi.cpp.
Definition at line 1419 of file fxiotargetapi.cpp.
_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 at line 1034 of file fxiotargetapi.cpp.
Definition at line 1621 of file fxiotargetapi.cpp.
Referenced by FxIoTargetSendIo(), and FxIoTargetSendIoctl().
_Must_inspect_result_ __in WDFDEVICE Device |
Definition at line 376 of file fxiotargetapi.cpp.
Definition at line 673 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in_opt PLONGLONG DeviceOffset |
Definition at line 966 of file fxiotargetapi.cpp.
else |
Definition at line 1717 of file fxiotargetapi.cpp.
expectedConfigSize |
Definition at line 481 of file fxiotargetapi.cpp.
Referenced by if().
Definition at line 2012 of file fxiotargetapi.cpp.
i = 0 |
Definition at line 1651 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY InputBuffer |
Definition at line 1028 of file fxiotargetapi.cpp.
Referenced by FxIoTargetFormatIoctl().
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET InputBufferOffsets |
Definition at line 1063 of file fxiotargetapi.cpp.
Referenced by FxIoTargetFormatIoctl().
FxInternalIoctlParams InternalIoctlParams |
Definition at line 1800 of file fxiotargetapi.cpp.
Referenced by FxRequestContext::FormatOtherParams().
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG Ioctl |
Definition at line 1411 of file fxiotargetapi.cpp.
Referenced by ata_send_ioctl(), BasepDoTapeOperation(), FxIoTarget::FormatInternalIoctlOthersRequest(), FxIoTarget::FormatIoctlRequest(), FxIoTargetFormatIoctl(), FxIoTargetSendIoctl(), and IoctlName().
Definition at line 42 of file fxiotargetapi.cpp.
Definition at line 378 of file fxiotargetapi.cpp.
WDFMEMORY memoryHandles[FX_REQUEST_NUM_OTHER_PARAMS] |
Definition at line 1796 of file fxiotargetapi.cpp.
Referenced by for().
offsets[i] = OtherArg1Offsets |
Definition at line 1797 of file fxiotargetapi.cpp.
Referenced by for().
Definition at line 452 of file fxiotargetapi.cpp.
WDF_IO_TARGET_OPEN_PARAMS openParams |
Definition at line 482 of file fxiotargetapi.cpp.
Referenced by if().
Definition at line 1561 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET OtherArg1Offsets |
Definition at line 1742 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in_opt WDFMEMORY OtherArg2 |
Definition at line 1563 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET OtherArg2Offsets |
Definition at line 1746 of file fxiotargetapi.cpp.
_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 OtherArg4 |
Definition at line 1565 of file fxiotargetapi.cpp.
_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 OtherArg4Offsets |
Definition at line 1750 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in_opt WDFMEMORY OutputBuffer |
Definition at line 964 of file fxiotargetapi.cpp.
Referenced by FxIoTargetFormatIoctl().
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST __in ULONG __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET OutputBufferOffsets |
Definition at line 999 of file fxiotargetapi.cpp.
Referenced by FxIoTargetFormatIoctl().
pDevice = NULL |
Definition at line 404 of file fxiotargetapi.cpp.
Referenced by if().
PFX_DRIVER_GLOBALS pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 402 of file fxiotargetapi.cpp.
Referenced by __drv_strictTypeMatch(), for(), and if().
pFxIoQueue = NULL |
Definition at line 1912 of file fxiotargetapi.cpp.
Referenced by if().
PFX_DRIVER_GLOBALS pGlobals |
Definition at line 1908 of file fxiotargetapi.cpp.
Referenced by __deref_out_range(), FxDevice::AllocateRequestMemory(), FxDevice::FdoInitialize(), FolderOptionsFileTypesDlg(), if(), FxPkgFdo::Initialize(), FxDevice::Initialize(), and FxDevice::PdoInitialize().
IFxMemory* pMemory[FX_REQUEST_NUM_OTHER_PARAMS] |
Definition at line 1794 of file fxiotargetapi.cpp.
Referenced by for().
FxRequest* pRequest |
Definition at line 1793 of file fxiotargetapi.cpp.
Referenced by FxIoTargetFormatIo(), and FxIoTargetFormatIoctl().
FxIoTargetRemote* pTarget |
Definition at line 60 of file fxiotargetapi.cpp.
Referenced by __drv_strictTypeMatch(), FxIoTargetFormatIo(), FxIoTargetFormatIoctl(), FxIoTargetSendIo(), FxIoTargetSendIoctl(), and if().
FxIoTargetSelf* pTargetSelf |
Definition at line 1910 of file fxiotargetapi.cpp.
_Must_inspect_result_ _In_ WDFIOTARGET _In_ WDFQUEUE Queue |
Definition at line 1876 of file fxiotargetapi.cpp.
_Must_inspect_result_ __in WDFIOTARGET __in WDFREQUEST Request |
Definition at line 962 of file fxiotargetapi.cpp.
Definition at line 968 of file fxiotargetapi.cpp.
Definition at line 405 of file fxiotargetapi.cpp.
Referenced by __drv_strictTypeMatch(), for(), FxIoTargetFormatIo(), FxIoTargetFormatIoctl(), FxIoTargetSendIo(), FxIoTargetSendIoctl(), FxIoTargetValidateOpenParams(), and if().
return STATUS_SUCCESS |
Definition at line 1982 of file fxiotargetapi.cpp.
Referenced by FxIoTargetValidateOpenParams().