📄 kpdrv.h
字号:
/*
KPDrv.H
Author: <your name>
Last Updated: 2006-02-12
This framework is generated by EasySYS 0.3.0
This template file is copying from QuickSYS 0.3.0 written by Chunhua Liu
*/
#ifndef _KPDRV_H
#define _KPDRV_H 1
//
// Define the various device type values. Note that values used by Microsoft
// Corporation are in the range 0-0x7FFF(32767), and 0x8000(32768)-0xFFFF(65535)
// are reserved for use by customers.
//
#define FILE_DEVICE_KPDRV 0x8000
//
// Macro definition for defining IOCTL and FSCTL function control codes. Note
// that function codes 0-0x7FF(2047) are reserved for Microsoft Corporation,
// and 0x800(2048)-0xFFF(4095) are reserved for customers.
//
#define KPDRV_IOCTL_BASE 0x800
//
// The device driver IOCTLs
//
#define CTL_CODE_KPDRV(i) CTL_CODE(FILE_DEVICE_KPDRV, KPDRV_IOCTL_BASE+i, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_KPDRV_HELLO CTL_CODE_KPDRV(0)
#define IOCTL_KPDRV_TEST CTL_CODE_KPDRV(1)
//
// Name that Win32 front end will use to open the KPDrv device
//
#define KPDRV_WIN32_DEVICE_NAME_W L"\\\\.\\KPDrv"
#define KPDRV_DEVICE_NAME_W L"\\Device\\KPDrv"
#define KPDRV_DOS_DEVICE_NAME_W L"\\DosDevices\\KPDrv"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -