summaryrefslogtreecommitdiff
path: root/include/qhy/qwinusb.h
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2019-03-14 15:52:30 -0700
committerAndy Wortman <ixineeringeverywhere@gmail.com>2019-03-14 15:52:30 -0700
commit9a607474bdd66dd716635cfed7f2c832c39b4523 (patch)
treec5f65b4cecd6376a3b99646679f9714d5f9213a2 /include/qhy/qwinusb.h
parentac7604616ab2e44ad12a9d8d5dd90dec15feb5cc (diff)
add qhy headers.........
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