Go to the source code of this file.
◆ MaxTransferSize
◆ UcxEndpointInit
◆ UcxStaticStreamsInit
◆ UcxEndpointKind
| Enumerator |
|---|
| Generic | |
| ZeroBandwidth | |
| Default | |
Definition at line 12 of file pipe.h.
◆ UcxTransferType
| Enumerator |
|---|
| Unknown | |
| Control | |
| Bulk | |
| Isochronous | |
| Interrupt | |
Definition at line 19 of file pipe.h.
20{
26};
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
_In_ WDF_WMI_PROVIDER_CONTROL Control
◆ _IRQL_requires_()
Sends a synchronous IOCTL to the specified device object.
- Parameters
-
| [in] | IoControlCode | The IOCTL to send to the device. |
| [in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
| [in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
| [in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
| [out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
| [in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
| [in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
- Returns
- An NTSTATUS code indicating success or failure of this function.
- Note
- Must be called at PASSIVE_LEVEL with all APCs enabled.
Definition at line 2121 of file class.c.
13175{
13177
13179
13181 TRACE_FLAG_PNP,
13182 "ClassDetermineTokenOperationCommandSupport (%p): Entering function.\n",
13184
13185
13186
13187
13188
13190
13192
13194
13195
13196
13197
13200
13203 }
13204 }
13205
13206 }
13207
13209 TRACE_FLAG_PNP,
13210 "ClassDetermineTokenOperationCommandSupport (%p): Exiting function with status %x.\n",
13213
13215}
#define REG_DISK_CLASS_CONTROL
#define MAX_TOKEN_LIST_IDENTIFIERS
#define MIN_TOKEN_LIST_IDENTIFIERS
#define NT_SUCCESS(StatCode)
ULONG MaxTokenOperationListIdentifier
_IRQL_requires_same_ NTSTATUS ClasspGetBlockDeviceTokenLimitsInfo(_Inout_ PDEVICE_OBJECT DeviceObject)
#define TRACE_LEVEL_VERBOSE
_In_ PDEVICE_OBJECT DeviceObject
◆ UcxComputeMaxTransferSize()
Definition at line 49 of file pipe.cpp.
53{
57
59 {
63 {
65 }
66
68 }
69
71 {
72 if (
Init->Companion.bmAttributes.Isochronous.SspCompanion)
73 return 1024 *
Init->IsochCompanion.dwBytesPerInterval;
74
75 return 1024 *
Init->Companion.wBytesPerInterval;
76 }
77
78
79 MaxPacket =
Init->Descriptor.wMaxPacketSize;
80 if (BcdUsb < 0x0250)
81 PacketBytes = (MaxPacket & 0x7FF) * (((MaxPacket >> 11) & 0x3) + 1);
82 else
83 PacketBytes = MaxPacket;
84
86}
InitializeListHead & UcxDriver
static const ULONG UcxMaxTransferTable[4][5]
static ULONG NTAPI UcxSpeedRow(_In_ USB_DEVICE_SPEED Speed)
static BOOLEAN NTAPI UcxIsSlowSpeed(_In_ USB_DEVICE_SPEED Speed)
Referenced by UcxEndpoint::Initialize().
◆ WDF_DECLARE_CONTEXT_TYPE_WITH_NAME() [1/2]
| WDF_DECLARE_CONTEXT_TYPE_WITH_NAME |
( |
UcxEndpoint |
, |
|
|
UcxGetEndpointContext |
|
|
) |
| |
◆ WDF_DECLARE_CONTEXT_TYPE_WITH_NAME() [2/2]
| WDF_DECLARE_CONTEXT_TYPE_WITH_NAME |
( |
UcxStaticStreams |
, |
|
|
UcxGetStaticStreamsContext |
|
|
) |
| |