Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbInterruptInEndpointDescriptor.MaxPacketSize | maxPacketSize property

Gets the maximum number of bytes that can be sent to or received (in a packet) from this endpoint.

Syntax


var maxPacketSize = usbInterruptInEndpointDescriptor.maxPacketSize;

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

Indicates the maximum packet size of the endpoint. This value is the wMaxPacketSize field value of the endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.

Remarks

The MaxPacketSize property value does not necessarily indicate the number of bytes that will be read at a time, in one interval.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbInterruptInEndpointDescriptor

 

 

Show:
© 2015 Microsoft