diff --git a/include/Makefile.in b/include/Makefile.in index 46db2dc646d..cecc845c455 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -236,6 +236,7 @@ SRCDIR_INCLUDES = \ ddk/usb100.h \ ddk/usb200.h \ ddk/usbdlib.h \ + ddk/usbioctl.h \ ddk/usbiodef.h \ ddk/wdm.h \ ddk/winddiui.h \ diff --git a/include/ddk/usbioctl.h b/include/ddk/usbioctl.h new file mode 100644 index 00000000000..003e2b67869 --- /dev/null +++ b/include/ddk/usbioctl.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2013 Damjan Jovanovic + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __DDK_USBIOCTL_H__ +#define __DDK_USBIOCTL_H__ + +#define IOCTL_INTERNAL_USB_SUBMIT_URB \ + CTL_CODE(FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS) + +#endif /* __DDK_USBIOCTL_H__ */