📄 rs485ioc.h
字号:
//---------------------------------------------------------------------------
//
// RS485IOC.H
//
// Author: Anthony A. Kempka
// Device Drivers International, LLC
//
// Tel: 218-587-3120
// Tel: 513-984-4491
// Web: www.ddiusa.com
//
//
// For: Integrity Instruments (a division of Cogito Software, Inc.)
//
// Tel: 800-450-2001
// Web: www.integrityusa.com
//
//
// Last Modified:
// A. A. Kempka 08/20/97 Original.
//
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// Define the various device type values. Note that values used by Microsoft
// Corporation are in the range 0-32767, and 32768-65535 are reserved for use
// by customers.
//
#define FILE_DEVICE_RS485DRV 0x00009000
//
// Macro definition for defining IOCTL and FSCTL function control codes. Note
// that function codes 0-2047 are reserved for Microsoft Corporation, and
// 2048-4095 are reserved for customers.
//
#define RS485DRV_IOCTL_INDEX 0x900
//
// The SAMPLE device driver IOCTLs
//
#define IOCTL_RS485NT_HELLO CTL_CODE(FILE_DEVICE_RS485DRV, RS485DRV_IOCTL_INDEX, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_RS485NT_GET_RCV_COUNT CTL_CODE(FILE_DEVICE_RS485DRV, RS485DRV_IOCTL_INDEX+1, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_RS485NT_LAST_RCVD_TIME CTL_CODE(FILE_DEVICE_RS485DRV, RS485DRV_IOCTL_INDEX+2, METHOD_BUFFERED, FILE_ANY_ACCESS)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -