ReactOS 0.4.16-dev-41-ge8c7597
|
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 1236 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 1374 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 80 of file fxusbdeviceapi.cpp.
if | ( | (bufferSize % sizeof(WCHAR)) ! | = 0 | ) |
Definition at line 600 of file fxusbdeviceapi.cpp.
if | ( | (Params->Type==WdfUsbTargetDeviceSelectConfigTypeDeconfig)||(Params->Type==WdfUsbTargetDeviceSelectConfigTypeUrb)||(Params->Type==WdfUsbTargetDeviceSelectConfigTypeInterfacesDescriptor) | ) |
Definition at line 700 of file fxusbdeviceapi.cpp.
if | ( | Config->Size ! | = sizeof(WDF_USB_DEVICE_CREATE_CONFIG) | ) |
Definition at line 232 of file fxusbdeviceapi.cpp.
if | ( | Information->Size ! | = sizeof(WDF_USB_DEVICE_INFORMATION) | ) |
Definition at line 277 of file fxusbdeviceapi.cpp.
if | ( | NT_SUCCESS(status) && | numChars, |
0 | |||
) |
Definition at line 474 of file fxusbdeviceapi.cpp.
if | ( | NT_SUCCESS(status) | ) |
Definition at line 102 of file fxusbdeviceapi.cpp.
if | ( | NumCharacters ! | = NULL | ) |
Definition at line 458 of file fxusbdeviceapi.cpp.
if | ( | Params->Size ! | = sizeof(WDF_USB_DEVICE_SELECT_CONFIG_PARAMS) | ) |
Definition at line 674 of file fxusbdeviceapi.cpp.
if | ( | Params->Type< WdfUsbTargetDeviceSelectConfigTypeDeconfig||Params-> | Type, |
WdfUsbTargetDeviceSelectConfigTypeUrb | |||
) |
Definition at line 686 of file fxusbdeviceapi.cpp.
else if | ( | pUsbDevice-> | HasMismatchedInterfacesInConfigDescriptor() = = 0 | ) |
Definition at line 721 of file fxusbdeviceapi.cpp.
if | ( | pUsbDevice | = = NULL | ) |
Definition at line 92 of file fxusbdeviceapi.cpp.
if | ( | pUsbInterface ! | = NULL | ) |
Definition at line 1342 of file fxusbdeviceapi.cpp.
if | ( | TransferMemory ! | = NULL | ) |
Definition at line 1139 of file fxusbdeviceapi.cpp.
FxSyncRequest request | ( | pFxDriverGlobals | , |
& | context, | ||
Request | |||
) |
switch | ( | Params-> | Type | ) |
Definition at line 752 of file fxusbdeviceapi.cpp.
__checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES Attributes |
Definition at line 45 of file fxusbdeviceapi.cpp.
Definition at line 561 of file fxusbdeviceapi.cpp.
bufferSize = buf.GetBufferLength() |
Definition at line 564 of file fxusbdeviceapi.cpp.
Referenced by _enumerateContextW(), FxWmiIrpHandler::_QuerySingleInstance(), FxWmiIrpHandler::_RegInfo(), AddListViewItems(), FxRequestBuffer::AssignValues(), CComCatCachedCategory::CacheDSA(), CheckRegScreenSaverIsSecure(), ClassDeviceHwFirmwareDownloadProcess(), ClassSystemControl(), DiskDisableSmart(), DiskDisableSmartAttributeAutosave(), DiskEnableSmart(), DiskEnableSmartAttributeAutosave(), DiskExecuteSmartDiagnostics(), DiskIoctlReassignBlocks(), DiskIoctlReassignBlocksEx(), DiskReadSmartLog(), DiskWriteSmartLog(), FxUsbDevice::FormatControlRequest(), FxUsbPipe::FormatTransferRequest(), FSE_writeNCount(), Region::GetData(), Region::GetDataSize(), 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 968 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID __in ULONG CapabilityBufferLength |
Definition at line 1368 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in CONST GUID* CapabilityType |
Definition at line 1366 of file fxusbdeviceapi.cpp.
__checkReturn __in WDFDEVICE __in PWDF_USB_DEVICE_CREATE_CONFIG Config |
Definition at line 195 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __out_bcount_part_opt ConfigDescriptorLength PVOID ConfigDescriptor |
Definition at line 335 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __out_bcount_part_opt ConfigDescriptorLength PVOID __inout PUSHORT ConfigDescriptorLength |
Definition at line 337 of file fxusbdeviceapi.cpp.
__checkReturn __in WDFDEVICE Device |
Definition at line 41 of file fxusbdeviceapi.cpp.
else |
Definition at line 1152 of file fxusbdeviceapi.cpp.
WDFMEMORY hMemory |
Definition at line 444 of file fxusbdeviceapi.cpp.
Referenced by if().
_Must_inspect_result_ __in WDFUSBDEVICE __out PWDF_USB_DEVICE_INFORMATION Information |
Definition at line 260 of file fxusbdeviceapi.cpp.
__in WDFUSBDEVICE __in UCHAR InterfaceIndex |
Definition at line 1313 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 383 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY Memory |
Definition at line 528 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 966 of file fxusbdeviceapi.cpp.
return NULL |
Definition at line 1352 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 1233 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFMEMORY __out_opt PUSHORT NumCharacters |
Definition at line 379 of file fxusbdeviceapi.cpp.
USHORT numChars = 0 |
Definition at line 447 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 530 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 652 of file fxusbdeviceapi.cpp.
FxDeviceBase* pDevice |
Definition at line 170 of file fxusbdeviceapi.cpp.
PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 169 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
Definition at line 650 of file fxusbdeviceapi.cpp.
IFxMemory* pMemory |
Definition at line 559 of file fxusbdeviceapi.cpp.
Referenced by if().
FxRequest* pRequest |
Definition at line 562 of file fxusbdeviceapi.cpp.
FxUsbDevice * pUsbDevice = new(FxDriverGlobals, Attributes) FxUsbDevice(FxDriverGlobals) |
Definition at line 91 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
FxUsbInterface * pUsbInterface = pUsbDevice->GetInterfaceFromIndex(InterfaceIndex) |
Definition at line 1332 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 373 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in_opt WDFREQUEST __in_opt PWDF_REQUEST_SEND_OPTIONS RequestOptions |
Definition at line 375 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket |
Definition at line 964 of file fxusbdeviceapi.cpp.
return status = FxVerifierCheckIrqlLevel(FxDriverGlobals, PASSIVE_LEVEL) |
Definition at line 70 of file fxusbdeviceapi.cpp.
Referenced by __deref_opt_out_bcount(), __drv_when(), if(), and switch().
return STATUS_SUCCESS |
Definition at line 288 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 377 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in WDFMEMORY __in_opt PWDFMEMORY_OFFSET __in UCHAR StringIndex |
Definition at line 381 of file fxusbdeviceapi.cpp.
* StringMemory = NULL |
Definition at line 432 of file fxusbdeviceapi.cpp.
Definition at line 430 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in WDFUSBDEVICE __in WDFREQUEST __in PWDF_USB_CONTROL_SETUP_PACKET __in_opt WDFMEMORY TransferMemory |
Definition at line 1091 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 1093 of file fxusbdeviceapi.cpp.
__checkReturn __in WDFUSBDEVICE __in_opt PWDF_OBJECT_ATTRIBUTES __in ULONG __out WDFMEMORY* UrbMemory |
Definition at line 1235 of file fxusbdeviceapi.cpp.
_Must_inspect_result_ __in FxDeviceBase __in ULONG USBDClientContractVersion |
Definition at line 43 of file fxusbdeviceapi.cpp.
Referenced by if(), USBD_CreateHandle(), and WDF_USB_DEVICE_CREATE_CONFIG_INIT().
_Must_inspect_result_ __in WDFUSBDEVICE UsbDevice |
Definition at line 47 of file fxusbdeviceapi.cpp.
__in WDFUSBDEVICE __out PUSB_DEVICE_DESCRIPTOR UsbDeviceDescriptor |
Definition at line 300 of file fxusbdeviceapi.cpp.