usbtherm.h

来自「Cypress USB HID code」· C头文件 代码 · 共 22 行

H
22
字号
/*************************** USBTHERM.H ******************/


#ifndef __USBTHERM_H__
#define __USBTHERM_H__

#include <windows.h>

/* global constants */
#define VID 0x04B4
#define PID 0x0316

/* program specific types */
enum t_units {CELCIUS, FAHRENHEIT};

/* function prototypes */
BOOL CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM);
void TMeasure(LPVOID);
BOOL bOpenHidDevice(HANDLE*, USHORT, USHORT);
BOOL bHidDeviceNotify(HWND, HDEVNOTIFY);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?