ioctlcmd.h

来自「Shadow SDT的应用」· C头文件 代码 · 共 41 行

H
41
字号
/*

  SafeRun.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 _IOCTLCMD_H
#define _IOCTLCMD_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_SAFERUN	0x8100

//
// 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 SAFERUN_IOCTL_BASE	0x810

//
// The device driver IOCTLs
//

#define CTL_CODE_SAFERUN(i) CTL_CODE(FILE_DEVICE_SAFERUN, SAFERUN_IOCTL_BASE+i, METHOD_BUFFERED, FILE_ANY_ACCESS)

#define IOCTL_SAFERUN_VERSION	CTL_CODE_SAFERUN(0)
#define IOCTL_SAFERUN_SETID		CTL_CODE_SAFERUN(1)

#endif

⌨️ 快捷键说明

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