1 /*******************************************************************************
2 * Copyright (c) 2000, 2012 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal.win32;
16 public class DIBSECTION extends BITMAP {
17 /** @field accessor=dsBmih.biSize */
19 /** @field accessor=dsBmih.biWidth */
21 /** @field accessor=dsBmih.biHeight */
23 /** @field accessor=dsBmih.biPlanes */
24 public short biPlanes;
25 /** @field accessor=dsBmih.biBitCount */
26 public short biBitCount;
27 /** @field accessor=dsBmih.biCompression */
28 public int biCompression;
29 /** @field accessor=dsBmih.biSizeImage */
30 public int biSizeImage;
31 /** @field accessor=dsBmih.biXPelsPerMeter */
32 public int biXPelsPerMeter;
33 /** @field accessor=dsBmih.biYPelsPerMeter */
34 public int biYPelsPerMeter;
35 /** @field accessor=dsBmih.biClrUsed */
37 /** @field accessor=dsBmih.biClrImportant */
38 public int biClrImportant;
39 /** @field accessor=dsBitfields[0] */
40 public int dsBitfields0;
41 /** @field accessor=dsBitfields[1] */
42 public int dsBitfields1;
43 /** @field accessor=dsBitfields[2] */
44 public int dsBitfields2;
45 /** @field cast=(HANDLE) */
46 public long dshSection;
48 public static final int sizeof = OS.DIBSECTION_sizeof ();