int createDIB(int width, int height, int depth) { byte[]	bmi = new byte[40];
int createDIB(int width, int height) { int depth = 32; byte[]	bmi = new byte[40 + (OS.IsWinCE ? 12 : 0)];
int createDIB(int width, int height, int depth) {	byte[]	bmi = new byte[40];			/* DWORD biSize = 40 */	bmi[0] = 40; bmi[1] = 0; bmi[2] = 0; bmi[3] = 0;	/* LONG biWidth = width */	bmi[4] = (byte)(width & 0xFF);	bmi[5] = (byte)((width >> 8) & 0xFF);	bmi[6] = (byte)((width >> 16) & 0xFF);	bmi[7] = (byte)((width >> 24) & 0xFF);	/* LONG biHeight = height */	bmi[8] = (byte)(-height & 0xFF);	bmi[9] = (byte)((-height >> 8) & 0xFF);	bmi[10] = (byte)((-height >> 16) & 0xFF);	bmi[11] = (byte)((-height >> 24) & 0xFF);	/* WORD biPlanes = 1 */	bmi[12] = 1;	bmi[13] = 0;	/* WORD biBitCount = depth */	bmi[14] = (byte)(depth & 0xFF);	bmi[15] = (byte)((depth >> 8) & 0xFF);	/* DWORD biCompression = BI_RGB = 0 */	bmi[16] = bmi[17] = bmi[18] = bmi[19] = 0;	/* DWORD biSizeImage = 0 (default) */	bmi[20] = bmi[21] = bmi[22] = bmi[23] = 0;	/* LONG biXPelsPerMeter = 0 */	bmi[24] = bmi[25] = bmi[26] = bmi[27] = 0;	/* LONG biYPelsPerMeter = 0 */	bmi[28] = bmi[29] = bmi[30] = bmi[31] = 0;	/* DWORD biClrUsed */	bmi[32] = bmi[33] = bmi[34] = bmi[35] = 0;	/* DWORD biClrImportant = 0 */	bmi[36] = bmi[37] = bmi[38] = bmi[39] = 0;	/* Set the rgb colors into the bitmap info */	int[] pBits = new int[1];	int hDib = OS.CreateDIBSection(0, bmi, OS.DIB_RGB_COLORS, pBits, 0, 0);	if (hDib == 0) SWT.error(SWT.ERROR_NO_HANDLES);	return hDib;}