📄 ntcodes.h
字号:
//*****************************************************************************
// THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
// OR IMPLIED. THIS CODE IS LABELED "OPEN SOFTWARE" AND MAY BE FREELY USED,
// REPRODUCED, MODIFIED, AND/OR REDISTRIBUTED WITH THE STIPULATION THAT THIS
// NOTICE REMAIN INTACT. REDISTRIBUTION OF ANY KIND IMPLIES THAT ALL
// MODIFICATIONS FALL UNDER THIS "OPEN SOFTWARE" LABEL.
//
// Copyright (C) 2000 - 2002, Foxen Solutions
// Copyright (C) 2000 - 2002, FXN
//
// All Rights Reserved.
//*****************************************************************************
//
// ----------------------------------------------------------------------------
// This is NTCodes.H. It contains the device and IO control codes for each
// of the Cypress Semiconductor NT kernal drivers.
// ----------------------------------------------------------------------------
#ifndef _NTCODES_H
#define _NTCODES_H
// Define the device type value. Note that values used by Microsoft
// are in the range 0-32767 and 32768-65535 are for external development
// use.
#define FILE_DEVICE_PCIDP00 0xC300 //Device PCI-DP CY7C09449PV-AC
// Macro definition for defining IOCTL control codes. Note that function
// codes 0-2047 are reserved for Microsoft and 2048-4095 are for external
// development use.
// Define the function codes for the PCI-DP CY7C09449PV-AC device.
#define PCIDP00_IOCTL_INDEX 0x820
#define PCIDP00_IOCTL_FUNC1 PCIDP00_IOCTL_INDEX
#define PCIDP00_IOCTL_FUNC2 PCIDP00_IOCTL_INDEX+1
#define PCIDP00_IOCTL_FUNC3 PCIDP00_IOCTL_INDEX+2
#define PCIDP00_IOCTL_FUNC4 PCIDP00_IOCTL_INDEX+3
#define PCIDP00_IOCTL_FUNC5 PCIDP00_IOCTL_INDEX+4
#define PCIDP00_IOCTL_FUNC6 PCIDP00_IOCTL_INDEX+5
#define PCIDP00_IOCTL_FUNC7 PCIDP00_IOCTL_INDEX+6
#define PCIDP00_IOCTL_FUNC8 PCIDP00_IOCTL_INDEX+7
#define PCIDP00_IOCTL_FUNC9 PCIDP00_IOCTL_INDEX+8
#define PCIDP00_IOCTL_FUNC10 PCIDP00_IOCTL_INDEX+9
#define PCIDP00_IOCTL_FUNC11 PCIDP00_IOCTL_INDEX+10
#define PCIDP00_IOCTL_FUNC12 PCIDP00_IOCTL_INDEX+11
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -