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.

UsbDeviceDescriptor.MaxPacketSize0 | maxPacketSize0 property

Applies to Windows only

Gets the bMaxPacketSize0 field of the USB device descriptor. The value indicates the maximum packet size, in bytes, for endpoint zero of the device. This value can be 8, 16, 32, or 64.

Syntax


var maxPacketSize0 = usbDeviceDescriptor.maxPacketSize0;

Property value

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The maximum packet size, in bytes, for endpoint zero of the device.

Requirements

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

UsbDeviceDescriptor

 

 

Show:
© 2014 Microsoft