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/12/2009
//

// Define a Setup Class GUID for DriverB_Syn Class. This is same
// as the DRIVERB_SYN CLASS guid in the INF files.
//
//  {FC4CAF2B-DC98-46C2-B401-4C8E166487E8}
DEFINE_GUID(GUID_DEVCLASS_DRIVERB_SYN,
    0xFC4CAF2B, 0xDC98, 0x46C2, 0xB4, 0x01, 0x4C, 0x8E, 0x16, 0x64, 0x87, 0xE8);

// 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_DRIVERB_SYN  0x8000

// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE

#define DRIVERB_SYN_IOCTL(index) \
    CTL_CODE(FILE_DEVICE_DRIVERB_SYN, index, METHOD_BUFFERED, FILE_READ_DATA)


#endif // __INTRFACE_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?