From 9a607474bdd66dd716635cfed7f2c832c39b4523 Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Thu, 14 Mar 2019 15:52:30 -0700 Subject: add qhy headers......... --- include/qhy/qwinusb.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/qhy/qwinusb.h (limited to 'include/qhy/qwinusb.h') 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 -- cgit v1.1