|
ReactOS 0.4.17-dev-1281-g065abb3
|
#include "hubid.h"

Go to the source code of this file.
Functions | |
| BOOLEAN NTAPI | HubDeviceSend (_In_ HubChild *Child, _In_reads_bytes_opt_(Length) PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ShortTransferOk) |
| FORCEINLINE ULONG NTAPI | HubDeviceBytesReturned (_In_ HubChild *Child) |
| VOID NTAPI | HubDeviceDescContext (_In_ HubChild *Child, _Out_ HubDescContext *Context) |
| VOID NTAPI | HubCompleteFdoDescriptorRequest (_In_ HubChild *Child, _In_ WDFREQUEST Request, _In_ NTSTATUS Status, _In_ ULONG Size) |
| VOID NTAPI HubCompleteFdoDescriptorRequest | ( | _In_ HubChild * | Child, |
| _In_ WDFREQUEST | Request, | ||
| _In_ NTSTATUS | Status, | ||
| _In_ ULONG | Size | ||
| ) |
Completes the hub FDO descriptor request and drops the "User Mode FDO Request" device reference.
Definition at line 372 of file hubioctl.cpp.
Referenced by DeviceMachine::FailHubDescriptorRequest(), DeviceMachine::GetDescriptorForHub(), and HubFdoDescriptorComplete().
| FORCEINLINE ULONG NTAPI HubDeviceBytesReturned | ( | _In_ HubChild * | Child | ) |
Bytes the last device transfer returned.
Definition at line 37 of file devreq.h.
Referenced by DeviceMachine::AltModeStringValid(), DeviceMachine::BillboardStringValid(), DeviceMachine::BosComplete(), DeviceMachine::BosHeaderValid(), DeviceMachine::BosValid(), DeviceMachine::ConfigDescriptorValid(), DeviceMachine::ConfigLongerThanRead(), DeviceMachine::ContainerIdHeaderValid(), DeviceMachine::ContainerIdKnown(), DeviceMachine::DeviceDescriptorValid(), DeviceMachine::ExtendedConfigHeaderValid(), DeviceMachine::ExtendedConfigValid(), DeviceMachine::FirstDescriptorValid(), HubCacheString(), DeviceMachine::MsOs20SetValid(), DeviceMachine::MsOsDescriptorValid(), and DeviceMachine::QualifierValid().
Validator context for a device, with its validation bits and hacks.
Definition at line 35 of file devdesc.cpp.
Referenced by DeviceMachine::AltModeStringValid(), DeviceMachine::BillboardStringValid(), DeviceMachine::BosHeaderValid(), DeviceMachine::BosValid(), DeviceMachine::ConfigDescriptorValid(), DeviceMachine::ContainerIdHeaderValid(), DeviceMachine::ContainerIdKnown(), DeviceMachine::DeviceDescriptorValid(), DeviceMachine::ExtendedConfigHeaderValid(), DeviceMachine::ExtendedConfigValid(), DeviceMachine::FirstDescriptorValid(), HubCacheString(), DeviceMachine::MsOs20SetValid(), and DeviceMachine::MsOsDescriptorValid().
| BOOLEAN NTAPI HubDeviceSend | ( | _In_ HubChild * | Child, |
| _In_reads_bytes_opt_(Length) PVOID | Buffer, | ||
| _In_ ULONG | Length, | ||
| _In_ BOOLEAN | ShortTransferOk | ||
| ) |
Sends the setup packet in Child->m_Control; on FALSE the caller posts TransferFailed.
Definition at line 262 of file devreq.cpp.
Referenced by HubDeviceTrySend(), DeviceMachine::ReadAltModeString(), and DeviceMachine::SetInterface().