一、本人想学习一下工程->设置的各个选项的知识,那么必须具备那些知识呢
如果哪位仁兄有这方面的资料,不妨回贴给小弟(30分);二、自从WIN30以后,又出现了两个版本的DIB(V4和V5),我看了studio的联机文档,感觉这两个版本的DIB复杂多了,哪位仁兄有这方面的资料,不妨回贴给小弟(30分);
如果哪位仁兄有这方面的资料,不妨回贴给小弟(30分);二、自从WIN30以后,又出现了两个版本的DIB(V4和V5),我看了studio的联机文档,感觉这两个版本的DIB复杂多了,哪位仁兄有这方面的资料,不妨回贴给小弟(30分);
http://www.yesky.com/20030320/1658358.shtmlv4 DIB:
The BITMAPV4HEADER structure is the bitmap information header file introduced in Windows 95 and Windows NT 4.0. This is used only in CreateDIBitmap. Applications written for earlier versions of Windows and Windows NT should continue to use BITMAPINFOHEADER. Applications written for Windows 2000 and Windows 98 can use BITMAPV5HEADER.typedef struct {
DWORD bV4Size;
LONG bV4Width;
LONG bV4Height;
WORD bV4Planes;
WORD bV4BitCount;
DWORD bV4Compression;
DWORD bV4SizeImage;
LONG bV4XPelsPerMeter;
LONG bV4YPelsPerMeter;
DWORD bV4ClrUsed;
DWORD bV4ClrImportant;
DWORD bV4RedMask;
DWORD bV4GreenMask;
DWORD bV4BlueMask;
DWORD bV4AlphaMask;
DWORD bV4CSType;
CIEXYZTRIPLE bV4EndPoints;
DWORD bV4GammaRed;
DWORD bV4GammaGreen;
DWORD bV4GammaBlue;
} BITMAPV4HEADER, *PBITMAPV4HEADER; V5 DIB:
BITMAPV5HEADER
The BITMAPV5HEADER structure is the bitmap information header file introduced in Windows 2000 and Windows 98. This is only used in CreateDIBitmap. The Independent Color Management interface (ICM) 2.0 allows International Color Consortium (ICC) color profiles to be linked or embedded in DIBs (DIBs). See Using Structures in ICM 2.0 for more information. Applications written for Windows NT 4.0 and Windows 95 can use the BITMAPV4HEADER structure. Applications written for earlier versions of Windows and Windows NT should continue to use the BITMAPINFOHEADER structure. The BITMAPV5HEADER is an extended version of BITMAPINFOHEADER and allows a JPEG or PNG image to be passed as the source image to StretchDIBits.typedef struct {
DWORD bV5Size;
LONG bV5Width;
LONG bV5Height;
WORD bV5Planes;
WORD bV5BitCount;
DWORD bV5Compression;
DWORD bV5SizeImage;
LONG bV5XPelsPerMeter;
LONG bV5YPelsPerMeter;
DWORD bV5ClrUsed;
DWORD bV5ClrImportant;
DWORD bV5RedMask;
DWORD bV5GreenMask;
DWORD bV5BlueMask;
DWORD bV5AlphaMask;
DWORD bV5CSType;
CIEXYZTRIPLE bV5EndPoints;
DWORD bV5GammaRed;
DWORD bV5GammaGreen;
DWORD bV5GammaBlue;
DWORD bV5Intent;
DWORD bV5ProfileData;
DWORD bV5ProfileSize;
DWORD bV5Reserved;
} BITMAPV5HEADER, *PBITMAPV5HEADER; 具体可以参考msdn BITMAPV5HEADER,BITMAPV4HEADER及其相关部分。