⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usbdriver.h

📁 ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机理和API函数调用几乎相同。甚至可以兼容XP的程序。喜欢研究系统内核的人可以看一看。
💻 H
字号:
#define NTDDI_VERSION   NTDDI_WIN2K
#define _WIN32_WINNT    _WIN32_WINNT_WIN2K

// hacks for WDK
#define __field_bcount_part_opt(x,y)
#define __field_bcount_part(x,y)
#define __field_bcount_opt(x)
#define __in_range(a,b)
#define __volatile
#define __struct_bcount(x)
#define __inexpressible_readableTo(x)
#define __deref_volatile
#ifndef __field_ecount
#    define __field_ecount(x)
#endif


#include <ntddk.h>
#include <stdio.h>

// NT4 DDK-compatibility
#ifndef RTL_CONSTANT_STRING
#   define RTL_CONSTANT_STRING(s) { sizeof( s ) - sizeof( (s)[0] ), sizeof( s ), s }
#endif

#ifndef OBJ_KERNEL_HANDLE
#   define OBJ_KERNEL_HANDLE       0x00000200L
#endif

#ifndef FILE_DEVICE_SECURE_OPEN
#   define FILE_DEVICE_SECURE_OPEN         0x00000100
#endif

#include "debug.h"
#include "usb.h"
#include "hcd.h"
#include "td.h"
#include "irplist.h"
#include "events.h"
#include "devmgr.h"
#include "hub.h"
#include "umss.h"
#include "mouse.h"
#include "uhciver.h"

⌨️ 快捷键说明

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