summaryrefslogtreecommitdiff
path: root/include/qhy/qwinusb.h
blob: 5c76df29ec9c5805f3eec261e8bedcf7246496c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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