typedef struct _DEVICE_OBJECT *PDEVICE_OBJECT;
2012-05-20 14:56
344 查看
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; struct _IRP *CurrentIrp; PIO_TIMER Timer; ULONG Flags; // See above: DO_... ULONG Characteristics; // See ntioapi: FILE_... __volatile PVPB Vpb; PVOID DeviceExtension; DEVICE_TYPE DeviceType; CCHAR StackSize; union { LIST_ENTRY ListEntry; WAIT_CONTEXT_BLOCK Wcb; } Queue; ULONG AlignmentRequirement; KDEVICE_QUEUE DeviceQueue; KDPC Dpc; // // The following field is for exclusive use by the filesystem to keep // track of the number of Fsp threads currently using the device // ULONG ActiveThreadCount; PSECURITY_DESCRIPTOR SecurityDescriptor; KEVENT DeviceLock; USHORT SectorSize; USHORT Spare1; struct _DEVOBJ_EXTENSION *DeviceObjectExtension; PVOID Reserved; } DEVICE_OBJECT; typedef struct _DEVICE_OBJECT *PDEVICE_OBJECT;
相关文章推荐
- typedef struct _DRIVER_OBJECT
- Object-C学习(五):结构体(struct)、typedef、以及与#define宏定义的区别
- DEVICE_OBJECT ;struct _DEVICE_OBJECT *AttachedDevice; // 附载的设备,与AttachedTo域构成双链表关系
- typedef struct vs. Object - Benefits
- 结构体定义struct 与 typedef struct 的区别
- 结构体定义:struct与typedef struct 用法详解和用法小结
- 获得DISK的DeviceObject
- vs2010+qt4编译出现error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject等错误
- struct和typedef struct彻底明白了
- typedef struct CvSparseMat
- struct和typedef struct彻底明白了
- typedef_struct与struct之间的区别
- struct and typedef
- typedef struct和struct的用法
- typedef int Myfunc(const char*, const struct stat *, int)问题的思考
- struct和typedef struct的用法以及在C/C++中的区别
- int driver_register(struct device_driver *drv)
- static struct QMetaObject const QwtPlot::staticMetaObjec
- typedef struct 与struct的区别
- typedef struct 用法