📄 intrface.h
字号:
// intrface.h
//
// Generated by C DriverWizard 3.1.0 (Build 1722)
// Requires DDK Only
// File created on 10/23/2004
//
// Define an Interface Guid for CharSample device class.
// This GUID is used to register (IoRegisterDeviceInterface)
// an instance of an interface so that user application
// can control the CharSample device.
//
// {ACC87551-86AA-48ED-84CD-389B7A9A29A0}
DEFINE_GUID(GUID_DEVINTERFACE_CHARSAMPLE,
0xACC87551, 0x86AA, 0x48ED, 0x84, 0xCD, 0x38, 0x9B, 0x7A, 0x9A, 0x29, 0xA0);
// Define a Setup Class GUID for CharSample Class. This is same
// as the CHARSAMPLE CLASS guid in the INF files.
//
// {FC99F640-AF31-426C-9C04-29E5D676DE1C}
DEFINE_GUID(GUID_DEVCLASS_CHARSAMPLE,
0xFC99F640, 0xAF31, 0x426C, 0x9C, 0x04, 0x29, 0xE5, 0xD6, 0x76, 0xDE, 0x1C);
// 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_CHARSAMPLE 0x8000
// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE
#define CHARSAMPLE_IOCTL(index) \
CTL_CODE(FILE_DEVICE_CHARSAMPLE, index, METHOD_BUFFERED, FILE_READ_DATA)
#define IOCTL_800 \
CTL_CODE(FILE_DEVICE_CHARSAMPLE, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)
#endif // __INTRFACE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -