
For devices that support no more than one of each endpoint type (control, interrupt, bulk IN, bulk OUT), a single call to CreateFile opens transfer pipes to each endpoint.įor devices that support multiple interrupt or bulk endpoints, a single call to CreateFile opens transfer pipes to the highest-numbered endpoint of each type.

The bulk endpoints are accessible using ReadFile and WriteFile.īefore calling DeviceIoControl, ReadFile, or WriteFile, you must call CreateFile (all described in the Microsoft Windows SDK documentation) to obtain a device handle. The control and interrupt endpoints are accessible using I/O control codes and DeviceIoControl.

The kernel-mode still image driver for USB buses supports a single control endpoint, along with multiple interrupt, bulk IN, and bulk OUT endpoints.
