下面是一个和ATA SMART Attribute相对应的结构体:typedef struct _INDIVIDUALATTRIBUTE{BYTE bAttribteID;struct {USHORT bPrefailure:1;USHORT bVendorSpecific:5;...
全文
回复(4) 2004-05-19 11:57 来自版块 - 非USB硬件驱动开发
表情
yux008007这东西好象有个4字节对齐的问题,不同的编译器会有不同的结果! 多谢!(2004-05-19 13:22)
arthurtuAttribute ID number (0x01 to 0xFFh) 1 binary Rd only Status flags 2 bit flags Rd only Pre-failure/advisory bit Vendor specific (5 bits) ...(2004-05-19 13:20)
snowStart我看应该是16个= 1 + 3*2 + 1 + 8, 12怎么算出来的,如果bStatusFlag 是union为12 字节对齐可以自己设置 (2004-05-19 12:54)
aha_here这东西好象有个4字节对齐的问题,不同的编译器会有不同的结果!(2004-05-19 12:11)

返回顶部