[PATCH v3 1/2] include: Add winusb.h file.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Mon Mar 14 21:42:54 CDT 2022


Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
 include/Makefile.in |  1 +
 include/winusb.h    | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 include/winusb.h

diff --git a/include/Makefile.in b/include/Makefile.in
index 9578c557af7..189b4676091 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -833,6 +833,7 @@ SOURCES = \
 	wintabx.h \
 	winternl.h \
 	wintrust.h \
+	winusb.h \
 	winuser.h \
 	winuser.rh \
 	winver.h \
diff --git a/include/winusb.h b/include/winusb.h
new file mode 100644
index 00000000000..188b4380878
--- /dev/null
+++ b/include/winusb.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2022 Mohamad Al-Jaf
+ *
+ * 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 _WINUSB_H_
+#define _WINUSB_H_
+
+#include <winapifamily.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef PVOID WINUSB_INTERFACE_HANDLE, *PWINUSB_INTERFACE_HANDLE;
+
+BOOL WINAPI WinUsb_Free(WINUSB_INTERFACE_HANDLE);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _WINUSB_H_ */
-- 
2.35.1




More information about the wine-devel mailing list