USBPipePolicy Class |
Namespace: MadWizard.WinUSBNet
The USBPipePolicy type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllowPartialReads |
When false, read requests fail when the device returns more data than requested. When true, extra data is
saved and returned on the next read. Default value is true. Only available on IN direction pipes.
|
![]() | AutoClearStall |
When true, the driver fails stalled data transfers, but the driver clears the stall condition automatically. Default
value is false.
|
![]() | AutoFlush |
If both AllowPartialReads and AutoFlush are true, when the device returns more data than requested by the client it
will discard the remaining data. Default value is false. Only available on IN direction pipes.
|
![]() | IgnoreShortPackets |
When true, read operations are completed only when the number of bytes requested by the client has been received. Default value is false.
Only available on IN direction pipes.
|
![]() | PipeTransferTimeout |
Specifies the timeout in milliseconds for pipe operations. If an operation does not finish within the specified time it will fail.
When set to zero, no timeout is used. Default value is zero.
|
![]() | RawIO |
When true, read and write operations to the pipe must have a buffer length that is a multiple of the maximum endpoint packet size,
and the length must be less than the maximum transfer size. With these conditions met, data is sent directly to the USB driver stack,
bypassing the queuing and error handling of WinUSB.
Default value is false.
|
![]() | ShortPacketTerminate |
When true, every write request that is a multiple of the maximum packet size for the endpoint is terminated with a zero-length packet.
Default value is false. Only available on OUT direction pipes.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |