📄 intrface.h
字号:
// intrface.h
//
// Generated by C DriverWizard 3.1.0 (Build 1722)
// Requires DDK Only
// File created on 7/11/2007
//
// Define an Interface Guid for CharSample_DDK device class.
// This GUID is used to register (IoRegisterDeviceInterface)
// an instance of an interface so that user application
// can control the CharSample_DDK device.
//
// {E8255CB0-3DDE-4FE5-9B4F-433CC7BEC59D}
DEFINE_GUID(GUID_DEVINTERFACE_CHARSAMPLE_DDK,
0xE8255CB0, 0x3DDE, 0x4FE5, 0x9B, 0x4F, 0x43, 0x3C, 0xC7, 0xBE, 0xC5, 0x9D);
// Define a Setup Class GUID for CharSample_DDK Class. This is same
// as the CHARSAMPLE_DDK CLASS guid in the INF files.
//
// {02B85F9F-6789-4D80-B29D-58479D06EF9F}
DEFINE_GUID(GUID_DEVCLASS_CHARSAMPLE_DDK,
0x02B85F9F, 0x6789, 0x4D80, 0xB2, 0x9D, 0x58, 0x47, 0x9D, 0x06, 0xEF, 0x9F);
// 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_DDK 0x8000
// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE
#define CHARSAMPLE_DDK_IOCTL(index) \
CTL_CODE(FILE_DEVICE_CHARSAMPLE_DDK, index, METHOD_BUFFERED, FILE_READ_DATA)
#define IOCTL_800 \
CTL_CODE(FILE_DEVICE_CHARSAMPLE_DDK, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)
#endif // __INTRFACE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -