📄 intrface.h
字号:
// intrface.h
//
// Generated by C DriverWizard 3.2.0 (Build 2485)
// Requires DDK Only
// File created on 5/21/2007
//
// Define an Interface Guid for BulkUsb device class.
// This GUID is used to register (IoRegisterDeviceInterface)
// an instance of an interface so that user application
// can control the BulkUsb device.
//
// {D69F25C0-F5C0-410B-8877-370C1478AF93}
DEFINE_GUID(GUID_DEVINTERFACE_BULKUSB,
0xD69F25C0, 0xF5C0, 0x410B, 0x88, 0x77, 0x37, 0x0C, 0x14, 0x78, 0xAF, 0x93);
// Define a Setup Class GUID for BulkUsb Class. This is same
// as the BULKUSB CLASS guid in the INF files.
//
// {751C5992-207A-4B5A-9459-E866F14454B9}
DEFINE_GUID(GUID_DEVCLASS_BULKUSB,
0x751C5992, 0x207A, 0x4B5A, 0x94, 0x59, 0xE8, 0x66, 0xF1, 0x44, 0x54, 0xB9);
// 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_BULKUSB 0x8000
// Define Interface reference/dereference routines for
// Interfaces exported by IRP_MN_QUERY_INTERFACE
#define BULKUSB_IOCTL(index) \
CTL_CODE(FILE_DEVICE_BULKUSB, index, METHOD_BUFFERED, FILE_READ_DATA)
#define IOCTL_800 \
CTL_CODE(FILE_DEVICE_BULKUSB, 0x800, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_801 \
CTL_CODE(FILE_DEVICE_BULKUSB, 0x801, METHOD_BUFFERED, FILE_WRITE_ACCESS)
#endif // __INTRFACE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -