typedef struct _ICONDIR
{
WORD idReserved; //保留,必须是00 00
WORD idType; //文件类型,1表示icon即01 00
WORD idCount; //图片个数,1个即01 00
//in fact data blow is a struct named ICONDIRENTRY
BYTE bWidth; //宽 16或32
BYTE bHeight; //高 16或32
BYTE bColorCount; //Number of colors in image (0 if >=8bpp)
BYTE bReserved; //保留,必须是0
WORD wPlanes; //图片的位面数
WORD wBitCount; //每个象素的位数
DWORD dwBytesInRes; //图像字节长度
DWORD dwImageOffset; //图像文件偏移
} ICONDIR;