42 lines
628 B
C
42 lines
628 B
C
#ifndef _DEMATRIX_USB_H_
|
||
#define _DEMATRIX_USB_H_
|
||
|
||
#include <stdio.h>
|
||
#include <Windows.h>
|
||
#include<basetsd.h>
|
||
|
||
#ifdef __cplusplus
|
||
extern "C"{
|
||
#endif
|
||
|
||
|
||
/*返回1则找到设备,返回0 表示未找到设备*/
|
||
_declspec(dllexport) int Init_Hmd(void);
|
||
|
||
|
||
|
||
void dematrix_usb_init();
|
||
|
||
BOOL HIDFindDeviceFromVendor(USHORT PID,USHORT VID,CHAR *Path);
|
||
BOOL DM_HIDDeviceEnumerate(void);
|
||
|
||
void dematrix_usb_get_capabilities(HANDLE hid_usb_handle);
|
||
int DK2_GetFeatureReport(HANDLE hid_usb_handle);
|
||
int DK2_GetDisplayInfo(HANDLE hid_usb_handle,FILE *fp);
|
||
|
||
DWORD dematrix_usb_private_read_thread(LPVOID param);
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
#endif
|