unsigned char winusb_bulk_in_buffer[WINUSB_BULK_IN_EP_SIZE];
unsigned char winusb_bulk_out_buffer[WINUSB_BULK_OUT_EP_SIZE];
where WINUSB_BULK_IN_EP_SIZE = WINUSB_BULK_OUT_EP_SIZE = 64
0x07, /*sizeof(USB_EP_DSC)*/
USB_DESCRIPTOR_ENDPOINT, //Endpoint Descriptor
_EP01_OUT, //EndpointAddress
_BULK, //Attributes
0x40, 0x00, //WINUSB_BULK_OUT_BYTES
0x00, //Interval (unused)
0x07, /*sizeof(USB_EP_DSC)*/
USB_DESCRIPTOR_ENDPOINT, //Endpoint Descriptor
_EP01_IN, //EndpointAddress
_BULK, //Attributes
0x40, 0x00, //WINUSB_BULK_IN_BYTES
0x00, //Interval (unused)
/* Endpoint Descriptor */
0x07, /*sizeof(USB_EP_DSC)*/
USB_DESCRIPTOR_ENDPOINT, //Endpoint Descriptor
_EP02_OUT, //EndpointAddress
_INT, //Attributes
0x08, 0x00, //WINUSB_INTERRUPT_OUT_BYTES
0x0A, //Interval
0x07, /*sizeof(USB_EP_DSC)*/
USB_DESCRIPTOR_ENDPOINT, //Endpoint Descriptor
_EP02_IN, //EndpointAddress
_INT, //Attributes
0x08, 0x00, //WINUSB_INTERRUPT_IN_BYTES
0x0A //Interval