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
|
|||
|
|
|||
|
|
|||
|
/*<2A><><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>ҵ<EFBFBD><D2B5>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0 <20><>ʾδ<CABE>ҵ<EFBFBD><D2B5>豸*/
|
|||
|
_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
|