summaryrefslogtreecommitdiff
path: root/include/qhy/qwinusb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qhy/qwinusb.h')
-rw-r--r--include/qhy/qwinusb.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/qhy/qwinusb.h b/include/qhy/qwinusb.h
new file mode 100644
index 0000000..5c76df2
--- /dev/null
+++ b/include/qhy/qwinusb.h
@@ -0,0 +1,18 @@
+#ifndef QHYCCD_WINUSB_H
+#define QHYCCD_WINUSB_H
+
+#define WINUSB_ALREADY_SUPPORT_NUM 10
+
+extern char *winusbcamname[WINUSB_ALREADY_SUPPORT_NUM];
+
+#ifdef WIN32
+
+GUID * STDCALL name2GUID(PCHAR name);
+uint32_t STDCALL QWinusbOpenDriver(HANDLE * phInDeviceHandle,GUID *cameraguid);
+uint32_t STDCALL QWinusbGetCamType(char *camnamestr);
+uint32_t STDCALL QWinusbCloseDriver(HANDLE handle);
+
+#endif
+
+
+#endif \ No newline at end of file