|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "fxusbpch.hpp"
Go to the source code of this file.
| __checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __in ULONG __out WDFMEMORY __deref_opt_out_bcount | ( | GET_ISOCH_URB_SIZE(NumberOfIsochPackets) | ) |
Definition at line 1253 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
| _Must_inspect_result_ __drv_maxIRQL | ( | PASSIVE_LEVEL | ) |
|
pure virtual |
| _Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID __in ULONG __out_opt __drv_when | ( | ResultLength ! | = NULL, |
| __deref_out_range(<=, CapabilityBufferLength) | |||
| ) |
Definition at line 1393 of file fxusbdeviceapi.cpp.
|
pure virtual |
| _Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID __in ULONG __out_bcount_part_opt | ( | CapabilityBufferLength | , |
| * | ResultLength | ||
| ) |
| pUsbDevice CopyDeviceDescriptor | ( | UsbDeviceDescriptor | ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "format control request WDFUSBDEVICE % | p, | ||
| WDFREQWUEST % | p, | ||
| WDFMEMORY % | p, | ||
| %!STATUS!" | , | ||
| UsbDevice | , | ||
| Request | , | ||
| TransferMemory | , | ||
| status | |||
| ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "WDFUSBDEVICE %p control transfer sync" | , | ||
| UsbDevice | |||
| ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "WDFUSBDEVICE % | p, | ||
| %!STATUS!" | , | ||
| UsbDevice | , | ||
| status | |||
| ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "WDFUSBDEVICE % | p, | ||
| WDFREQUEST % | p, | ||
| WDFMEMORY %p" | , | ||
| UsbDevice | , | ||
| Request | , | ||
| TransferMemory | |||
| ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "WDFUSBDEVICE % | p, | ||
| WDFREQUEST % | p, | ||
| WDFMEMORY % | p, | ||
| %!STATUS!" | , | ||
| UsbDevice | , | ||
| Request | , | ||
| Memory | , | ||
| status | |||
| ) |
| DoTraceLevelMessage | ( | pFxDriverGlobals | , |
| TRACE_LEVEL_VERBOSE | , | ||
| TRACINGIOTARGET | , | ||
| "WDFUSBDEVICE % | p, | ||
| WDFREQUEST % | p, | ||
| WDFMEMORY % | p, | ||
| StringIndex % | d, | ||
| LandID 0x%x" | , | ||
| UsbDevice | , | ||
| Request | , | ||
| Memory | , | ||
| StringIndex | , | ||
| LangID | |||
| ) |
Referenced by __deref_opt_out_bcount(), if(), and switch().
| FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
| UsbDevice | , | ||
| FX_TYPE_IO_TARGET_USB_DEVICE | , | ||
| (PVOID *) & | pUsbDevice | ||
| ) |
| FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
| Memory | , | ||
| IFX_TYPE_MEMORY | , | ||
| (PVOID *) & | pMemory | ||
| ) |
| FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
| Request | , | ||
| FX_TYPE_REQUEST | , | ||
| (PVOID *) & | pRequest | ||
| ) |
| FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
| Device | , | ||
| FX_TYPE_DEVICE_BASE | , | ||
| (PVOID *)& | pDevice, | ||
| & | pFxDriverGlobals | ||
| ) |
Referenced by __deref_opt_out_bcount(), and __drv_when().
| FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
| UsbDevice | , | ||
| FX_TYPE_IO_TARGET_USB_DEVICE | , | ||
| (PVOID *) & | pUsbDevice, | ||
| & | pFxDriverGlobals | ||
| ) |
| FxPointerNotNull | ( | FxDriverGlobals | , |
| UsbDevice | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| Config | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| ConfigDescriptorLength | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| Information | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| NumCharacters | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| Params | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| SetupPacket | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| StringMemory | |||
| ) |
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| UsbDeviceDescriptor | |||
| ) |
| return FxUsbTargetDeviceCreate | ( | pFxDriverGlobals | , |
| pDevice | , | ||
| Config-> | USBDClientContractVersion, | ||
| Attributes | , | ||
| UsbDevice | |||
| ) |
| return FxUsbTargetDeviceCreate | ( | pFxDriverGlobals | , |
| pDevice | , | ||
| USBD_CLIENT_CONTRACT_VERSION_INVALID | , | ||
| Attributes | , | ||
| UsbDevice | |||
| ) |
| return pUsbDevice GetConfigDescriptor | ( | ConfigDescriptor | , |
| ConfigDescriptorLength | |||
| ) |
| return pUsbDevice GetConfigHandle | ( | ) |
| pUsbDevice GetInformation | ( | Information | ) |
| return pUsbDevice GetNumInterfaces | ( | ) |
Referenced by DECLARE_INTERFACE().
| if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 82 of file fxusbdeviceapi.cpp.
| if | ( | (bufferSize % sizeof(WCHAR)) ! | = 0 | ) |
Definition at line 610 of file fxusbdeviceapi.cpp.
| if | ( | (Params->Type==WdfUsbTargetDeviceSelectConfigTypeDeconfig)||(Params->Type==WdfUsbTargetDeviceSelectConfigTypeUrb)||(Params->Type==WdfUsbTargetDeviceSelectConfigTypeInterfacesDescriptor) | ) |
Definition at line 711 of file fxusbdeviceapi.cpp.
| if | ( | Config->Size ! | = sizeof(WDF_USB_DEVICE_CREATE_CONFIG) | ) |
Definition at line 236 of file fxusbdeviceapi.cpp.
| if | ( | Information->Size ! | = sizeof(WDF_USB_DEVICE_INFORMATION) | ) |
Definition at line 282 of file fxusbdeviceapi.cpp.
| if | ( | NT_SUCCESS(status) && | numChars, |
| 0 | |||
| ) |
Definition at line 483 of file fxusbdeviceapi.cpp.
| if | ( | NT_SUCCESS(status) | ) |
Definition at line 104 of file fxusbdeviceapi.cpp.
| if | ( | NumCharacters ! | = NULL | ) |
Definition at line 467 of file fxusbdeviceapi.cpp.
| if | ( | Params->Size ! | = sizeof(WDF_USB_DEVICE_SELECT_CONFIG_PARAMS) | ) |
Definition at line 685 of file fxusbdeviceapi.cpp.
| if | ( | Params->Type< WdfUsbTargetDeviceSelectConfigTypeDeconfig||Params-> | Type, |
| WdfUsbTargetDeviceSelectConfigTypeUrb | |||
| ) |
Definition at line 697 of file fxusbdeviceapi.cpp.
| else if | ( | pUsbDevice-> | HasMismatchedInterfacesInConfigDescriptor() = = 0 | ) |
Definition at line 732 of file fxusbdeviceapi.cpp.
| if | ( | pUsbDevice | = = NULL | ) |
Definition at line 94 of file fxusbdeviceapi.cpp.
| if | ( | pUsbInterface ! | = NULL | ) |
Definition at line 1360 of file fxusbdeviceapi.cpp.
| if | ( | TransferMemory ! | = NULL | ) |
Definition at line 1154 of file fxusbdeviceapi.cpp.
| FxSyncRequest request | ( | pFxDriverGlobals | , |
| & | context, | ||
| Request | |||
| ) |
| switch | ( | Params-> | Type | ) |
Definition at line 763 of file fxusbdeviceapi.cpp.
| __checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES Attributes |
Definition at line 47 of file fxusbdeviceapi.cpp.
Definition at line 571 of file fxusbdeviceapi.cpp.
| bufferSize = buf.GetBufferLength() |
Definition at line 574 of file fxusbdeviceapi.cpp.
Referenced by _enumerateContextW(), _mbstowcs_internal(), FxWmiIrpHandler::_QuerySingleInstance(), FxWmiIrpHandler::_RegInfo(), AddListViewItems(), FxRequestBuffer::AssignValues(), CComCatCachedCategory::CacheDSA(), CheckRegScreenSaverIsSecure(), ClassDeviceHwFirmwareDownloadProcess(), ClassSystemControl(), DdsFrameDecode_Dds_CopyBlocks(), DdsFrameEncode_WritePixels(), DiskDisableSmart(), DiskDisableSmartAttributeAutosave(), DiskEnableSmart(), DiskEnableSmartAttributeAutosave(), DiskExecuteSmartDiagnostics(), DiskIoctlReassignBlocks(), DiskIoctlReassignBlocksEx(), DiskReadSmartLog(), DiskWriteSmartLog(), FxUsbDevice::FormatControlRequest(), FxUsbPipe::FormatTransferRequest(), FSE_writeNCount(), GetClassRegistryHandle(), Region::GetData(), Region::GetDataSize(), GetDefaultClassServiceName(), if(), InitBackgroundDialog(), InstallOneService(), mswBufferInit(), PAGER_SendConvertedNotify(), CMiniportWaveCyclicStream::ResizeBuffer(), FxDevice::RetrieveDeviceInfoRegistrySettings(), StartScreenSaver(), STDMETHODIMP_(), test_events(), test_send(), test_sendto(), tinyxml2::XMLUtil::ToStr(), WlxScreenSaverNotify(), ZSTD_decompressStream(), and ZSTD_sizeof_localDict().
| _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 |
Definition at line 982 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID __in ULONG CapabilityBufferLength |
Definition at line 1387 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID* CapabilityType |
Definition at line 1385 of file fxusbdeviceapi.cpp.
| __checkReturn __in WDFDEVICE __in PWDF_USB_DEVICE_CREATE_CONFIG Config |
Definition at line 199 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __out_bcount_part_opt ConfigDescriptorLength PVOID ConfigDescriptor |
Definition at line 342 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __out_bcount_part_opt ConfigDescriptorLength PVOID __inout PUSHORT ConfigDescriptorLength |
Definition at line 344 of file fxusbdeviceapi.cpp.
| __checkReturn __in WDFDEVICE Device |
Definition at line 43 of file fxusbdeviceapi.cpp.
| else |
Definition at line 1167 of file fxusbdeviceapi.cpp.
| WDFMEMORY hMemory |
Definition at line 453 of file fxusbdeviceapi.cpp.
Referenced by if().
| _Must_inspect_result_ __in WDFUSBDEVICE __out PWDF_USB_DEVICE_INFORMATION Information |
Definition at line 265 of file fxusbdeviceapi.cpp.
| __in WDFUSBDEVICE __in UCHAR InterfaceIndex |
Definition at line 1331 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in UCHAR __in_opt USHORT LangID |
Definition at line 391 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY Memory |
Definition at line 538 of file fxusbdeviceapi.cpp.
| _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 |
Definition at line 980 of file fxusbdeviceapi.cpp.
| return NULL |
Definition at line 1370 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), if(), and switch().
| __checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __in ULONG NumberOfIsochPackets |
Definition at line 1250 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFMEMORY __out_opt PUSHORT NumCharacters |
Definition at line 387 of file fxusbdeviceapi.cpp.
| USHORT numChars = 0 |
Definition at line 456 of file fxusbdeviceapi.cpp.
Referenced by FxRegKey::_VerifyMultiSzString(), DisplayScreen(), FxUsbDevice::GetString(), hexToInt(), if(), and ProcessKeys().
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY __in_opt PWDFMEMORY_OFFSET Offset |
Definition at line 540 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __inout PWDF_USB_DEVICE_SELECT_CONFIG_PARAMS Params |
Definition at line 663 of file fxusbdeviceapi.cpp.
| FxDeviceBase* pDevice |
Definition at line 173 of file fxusbdeviceapi.cpp.
| PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 172 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
Definition at line 661 of file fxusbdeviceapi.cpp.
| IFxMemory* pMemory |
Definition at line 569 of file fxusbdeviceapi.cpp.
Referenced by if().
| FxRequest* pRequest |
Definition at line 572 of file fxusbdeviceapi.cpp.
| FxUsbDevice * pUsbDevice = new(FxDriverGlobals, Attributes) FxUsbDevice(FxDriverGlobals) |
Definition at line 93 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
| FxUsbInterface * pUsbInterface = pUsbDevice->GetInterfaceFromIndex(InterfaceIndex) |
Definition at line 1350 of file fxusbdeviceapi.cpp.
Referenced by FxUsbDevice::CancelSentIo(), FxUsbDevice::GetInterfaceNumberFromInterface(), if(), FxUsbDevice::PipesGotoRemoveState(), FxUsbDevice::Purge(), FxUsbDevice::SelectConfig(), FxUsbDevice::Start(), FxUsbDevice::Stop(), and switch().
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST Request |
Definition at line 381 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in_opt WDFREQUEST __in_opt PWDF_REQUEST_SEND_OPTIONS RequestOptions |
Definition at line 383 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket |
Definition at line 978 of file fxusbdeviceapi.cpp.
| return status = FxVerifierCheckIrqlLevel(FxDriverGlobals, PASSIVE_LEVEL) |
Definition at line 72 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
| return STATUS_SUCCESS |
Definition at line 293 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in_opt WDFREQUEST __in_opt PWDF_REQUEST_SEND_OPTIONS __out_ecount_opt NumCharacters PUSHORT String |
Definition at line 385 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in UCHAR StringIndex |
Definition at line 389 of file fxusbdeviceapi.cpp.
| * StringMemory = NULL |
Definition at line 441 of file fxusbdeviceapi.cpp.
Definition at line 439 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in PWDF_USB_CONTROL_SETUP_PACKET __in_opt WDFMEMORY TransferMemory |
Definition at line 1106 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in PWDF_USB_CONTROL_SETUP_PACKET __in_opt WDFMEMORY __in_opt PWDFMEMORY_OFFSET TransferOffset |
Definition at line 1108 of file fxusbdeviceapi.cpp.
| __checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __in ULONG __out WDFMEMORY* UrbMemory |
Definition at line 1252 of file fxusbdeviceapi.cpp.
| _Must_inspect_result_ __in FxDeviceBase __in ULONG USBDClientContractVersion |
Definition at line 45 of file fxusbdeviceapi.cpp.
Referenced by if().
| _Must_inspect_result_ __in WDFUSBDEVICE UsbDevice |
Definition at line 49 of file fxusbdeviceapi.cpp.
| __in WDFUSBDEVICE __out PUSB_DEVICE_DESCRIPTOR UsbDeviceDescriptor |
Definition at line 306 of file fxusbdeviceapi.cpp.