驱动开发学习笔记02:DEVICE_OBJECT对象数据结构
摘要:typedef struct DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) _DEVICE_OBJECT { CSHORT Type; USHORT Size; LONG ReferenceCount; struct _DRIVER_OBJECT *DriverObject;//指向驱动程序的驱动对象,同属一个驱动程序的驱动对象是指向的是统一的驱动对象 struct _DEVICE_OBJECT *NextDevice;//指向下一个驱动对象 struct _DEVICE_OBJECT *AttachedDevice;//指向下一个设备对象 struc
阅读全文
驱动开发学习笔记01:DRIVER_OBJECT数据结构
摘要:\typedef struct _DRIVER_OBJECT { CSHORT Type; CSHORT Size; // // The following links all of the devices created by a single driver // together on a list, and the Flags word provides an extensible flag // location for driver objects. //一个指向设备对象的指针 //设备对象可能为一个或者多个,所以指向设备对象的第一个指针,也是指向这个设别链的指针 // PDEVIC
阅读全文