intrface.h
来自「基于DDK的驱动间同步调用测试示例程序,DriverA是目标驱动,DriverB」· C头文件 代码 · 共 32 行
H
32 行
// intrface.h
//
// Generated by C DriverWizard 3.2.0 (Build 2485)
// Requires DDK Only
// File created on 3/11/2009
//
// Define a Setup Class GUID for DriverA Class. This is same
// as the DRIVERA CLASS guid in the INF files.
//
// {95B39DA0-0293-46F4-9DD4-B38D45968C2A}
DEFINE_GUID(GUID_DEVCLASS_DRIVERA,
0x95B39DA0, 0x0293, 0x46F4, 0x9D, 0xD4, 0xB3, 0x8D, 0x45, 0x96, 0x8C, 0x2A);
// 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_DRIVERA 0x8000
// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE
#define DRIVERA_IOCTL(index) \
CTL_CODE(FILE_DEVICE_DRIVERA, index, METHOD_BUFFERED, FILE_READ_DATA)
#endif // __INTRFACE_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?