Skip to main content
UsbBulkOutEndpointDescriptor.MaxPacketSize | maxPacketSize property

Gets the maximum number of bytes that can be sent to or received from this endpoint.

Syntax


var maxPacketSize = usbBulkOutEndpointDescriptor.maxPacketSize;

public uint MaxPacketSize { get; }

Public ReadOnly Property MaxPacketSize As UInteger

public:
property unsigned int MaxPacketSize { 
   unsigned int get();
}

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

UsbBulkOutEndpointDescriptor