📄 intrface.h
字号:
// intrface.h
//
// Generated by C DriverWizard 3.2.0 (Build 2485)
// Requires DDK Only
// File created on 6/8/2007
//
// Define an Interface Guid for ForUsb device class.
// This GUID is used to register (IoRegisterDeviceInterface)
// an instance of an interface so that user application
// can control the ForUsb device.
//
// {F50AFADD-4D24-412A-A9C4-0B6E1B0D7CCB}
DEFINE_GUID(GUID_DEVINTERFACE_FORUSB,
0xF50AFADD, 0x4D24, 0x412A, 0xA9, 0xC4, 0x0B, 0x6E, 0x1B, 0x0D, 0x7C, 0xCB);
// GUID definition are required to be outside of header inclusion pragma to avoid
// error during precompiled headers.
//
#ifndef __INTRFACE_H__
#define __INTRFACE_H__
#define FILE_DEVICE_FORUSB 0x8000
// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE
#define FORUSB_IOCTL(index) \
CTL_CODE(FILE_DEVICE_FORUSB, index, METHOD_BUFFERED, FILE_READ_DATA)
#define IOCTL_Read \
CTL_CODE(FILE_DEVICE_FORUSB, 0x800, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
#define IOCTL_Write \
CTL_CODE(FILE_DEVICE_FORUSB, 0x801, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
#endif // __INTRFACE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -