diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32')
62 files changed, 3571 insertions, 3571 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACCEL.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACCEL.java index 195f5e83c8..8a7aff3e6a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACCEL.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACCEL.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class ACCEL {
- public byte fVirt;
- public short key;
- public short cmd;
- public static final int sizeof = OS.IsWinCE ? 8 : 6;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class ACCEL { + public byte fVirt; + public short key; + public short cmd; + public static final int sizeof = OS.IsWinCE ? 8 : 6; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java index 6919a034fb..b0d2c9bff2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class BITMAP {
- public int bmType;
- public int bmWidth;
- public int bmHeight;
- public int bmWidthBytes;
- public short bmPlanes;
- public short bmBitsPixel;
- public int bmBits;
- public static final int sizeof = 24;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class BITMAP { + public int bmType; + public int bmWidth; + public int bmHeight; + public int bmWidthBytes; + public short bmPlanes; + public short bmBitsPixel; + public int bmBits; + public static final int sizeof = 24; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java index a39607d54f..718b5665e7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class BROWSEINFO {
- public int hwndOwner;
- public int pidlRoot;
- public int pszDisplayName;
- public int lpszTitle;
- public int ulFlags;
- public int lpfn;
- public int lParam;
- public int iImage;
- public static final int sizeof = 32;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class BROWSEINFO { + public int hwndOwner; + public int pidlRoot; + public int pszDisplayName; + public int lpszTitle; + public int ulFlags; + public int lpfn; + public int lParam; + public int iImage; + public static final int sizeof = 32; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java index 8eebdca4e6..b7ea608292 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java @@ -1,20 +1,20 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class CHOOSECOLOR {
- public int lStructSize;
- public int hwndOwner;
- public int hInstance;
- public int rgbResult;
- public int lpCustColors;
- public int Flags;
- public int lCustData;
- public int lpfnHook;
- public int lpTemplateName;
- public static final int sizeof = 36;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class CHOOSECOLOR { + public int lStructSize; + public int hwndOwner; + public int hInstance; + public int rgbResult; + public int lpCustColors; + public int Flags; + public int lCustData; + public int lpfnHook; + public int lpTemplateName; + public static final int sizeof = 36; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java index aa09292e1f..56df8abbe3 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java @@ -1,26 +1,26 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class CHOOSEFONT {
- public int lStructSize;
- public int hwndOwner;
- public int hDC;
- public int lpLogFont;
- public int iPointSize;
- public int Flags;
- public int rgbColors;
- public int lCustData;
- public int lpfnHook;
- public int lpTemplateName;
- public int hInstance;
- public int lpszStyle;
- public short nFontType;
- public int nSizeMin;
- public int nSizeMax;
- public static final int sizeof = 60;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class CHOOSEFONT { + public int lStructSize; + public int hwndOwner; + public int hDC; + public int lpLogFont; + public int iPointSize; + public int Flags; + public int rgbColors; + public int lCustData; + public int lpfnHook; + public int lpTemplateName; + public int hInstance; + public int lpszStyle; + public short nFontType; + public int nSizeMin; + public int nSizeMax; + public static final int sizeof = 60; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java index 1c595726eb..377773ccf2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class COMPOSITIONFORM {
- public int dwStyle;
-// POINT ptCurrentPos;
- public int x, y;
-// RECT rcArea;
- public int left, top, right, bottom;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class COMPOSITIONFORM { + public int dwStyle; +// POINT ptCurrentPos; + public int x, y; +// RECT rcArea; + public int left, top, right, bottom; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java index 42d4149ba0..5301abda80 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java @@ -1,23 +1,23 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class CREATESTRUCT {
- public int lpCreateParams;
- public int hInstance;
- public int hMenu;
- public int hwndParent;
- public int cy;
- public int cx;
- public int y;
- public int x;
- public int style;
- public int lpszName;
- public int lpszClass;
- public int dwExStyle;
- public static final int sizeof = 48;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class CREATESTRUCT { + public int lpCreateParams; + public int hInstance; + public int hMenu; + public int hwndParent; + public int cy; + public int cx; + public int y; + public int x; + public int style; + public int lpszName; + public int lpszClass; + public int dwExStyle; + public static final int sizeof = 48; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java index 1704e46e64..7c0f93475f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java @@ -1,27 +1,27 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class DIBSECTION extends BITMAP {
- public int biSize;
- public int biWidth;
- public int biHeight;
- public short biPlanes;
- public short biBitCount;
- public int biCompression;
- public int biSizeImage;
- public int biXPelsPerMeter;
- public int biYPelsPerMeter;
- public int biClrUsed;
- public int biClrImportant;
- public int dsBitfields0;
- public int dsBitfields1;
- public int dsBitfields2;
- public int dshSection;
- public int dsOffset;
- public static final int sizeof = 84;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class DIBSECTION extends BITMAP { + public int biSize; + public int biWidth; + public int biHeight; + public short biPlanes; + public short biBitCount; + public int biCompression; + public int biSizeImage; + public int biXPelsPerMeter; + public int biYPelsPerMeter; + public int biClrUsed; + public int biClrImportant; + public int dsBitfields0; + public int dsBitfields1; + public int dsBitfields2; + public int dshSection; + public int dsOffset; + public static final int sizeof = 84; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java index 77895431be..954f91e7b2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class DLLVERSIONINFO {
- public int cbSize;
- public int dwMajorVersion;
- public int dwMinorVersion;
- public int dwBuildNumber;
- public int dwPlatformID;
- public static final int sizeof = 20;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class DLLVERSIONINFO { + public int cbSize; + public int dwMajorVersion; + public int dwMinorVersion; + public int dwBuildNumber; + public int dwPlatformID; + public static final int sizeof = 20; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java index ebac71409e..ab57f3d890 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class DOCINFO {
- public int cbSize;
- public int lpszDocName; // LPCTSTR
- public int lpszOutput; // LPCTSTR
- public int lpszDatatype;// LPCTSTR
- public int fwType; // DWORD
- public static final int sizeof = 20;
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class DOCINFO { + public int cbSize; + public int lpszDocName; // LPCTSTR + public int lpszOutput; // LPCTSTR + public int lpszDatatype;// LPCTSTR + public int fwType; // DWORD + public static final int sizeof = 20; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java index 5d47abd636..11cc8335ee 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class DRAWITEMSTRUCT {
- public int CtlType;
- public int CtlID;
- public int itemID;
- public int itemAction;
- public int itemState;
- public int hwndItem;
- public int hDC;
-// public RECT rcItem;
- public int left, top, bottom, right;
- public int itemData;
- public static final int sizeof = 48;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class DRAWITEMSTRUCT { + public int CtlType; + public int CtlID; + public int itemID; + public int itemAction; + public int itemState; + public int hwndItem; + public int hDC; +// public RECT rcItem; + public int left, top, bottom, right; + public int itemData; + public static final int sizeof = 48; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java index e1f400e35f..68e7126c04 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java @@ -1,22 +1,22 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class DROPFILES {
- public int pFiles; // Offset of the file list from the beginning of this structure, in bytes.
- //public POINT pt; // Drop point. The coordinates depend on fNC.
- public int pt_x;
- public int pt_y;
- public int fNC; // Nonclient area flag. If this member is TRUE, pt specifies the screen
- // coordinates of a point in a window's nonclient area. If it is FALSE,
- // pt specifies the client coordinates of a point in the client area.
- public int fWide; // Value that indicates whether the file contains ANSI or Unicode
- // characters. If it is zero, it contains ANSI characters. Otherwise, it
- // contains Unicode characters.
-
- public static final int sizeof = 20;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class DROPFILES { + public int pFiles; // Offset of the file list from the beginning of this structure, in bytes. + //public POINT pt; // Drop point. The coordinates depend on fNC. + public int pt_x; + public int pt_y; + public int fNC; // Nonclient area flag. If this member is TRUE, pt specifies the screen + // coordinates of a point in a window's nonclient area. If it is FALSE, + // pt specifies the client coordinates of a point in the client area. + public int fWide; // Value that indicates whether the file contains ANSI or Unicode + // characters. If it is zero, it contains ANSI characters. Otherwise, it + // contains Unicode characters. + + public static final int sizeof = 20; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/FILETIME.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/FILETIME.java index 8e68decf18..99ec58ddc9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/FILETIME.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/FILETIME.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class FILETIME {
- public int dwLowDateTime;
- public int dwHighDateTime;
- static final public int sizeof = 8;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class FILETIME { + public int dwLowDateTime; + public int dwHighDateTime; + static final public int sizeof = 8; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java index 1f544a8de6..f1f97cbe26 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class GCP_RESULTS {
- public int lStructSize;
- public int lpOutString;
- public int lpOrder;
- public int lpDx;
- public int lpCaretPos;
- public int lpClass;
- public int lpGlyphs;
- public int nGlyphs;
- public int nMaxFit;
- public static final int sizeof = 36;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class GCP_RESULTS { + public int lStructSize; + public int lpOutString; + public int lpOrder; + public int lpDx; + public int lpCaretPos; + public int lpClass; + public int lpGlyphs; + public int nGlyphs; + public int nMaxFit; + public static final int sizeof = 36; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GRADIENT_RECT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GRADIENT_RECT.java index 28a490689e..cd60e6ac39 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GRADIENT_RECT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GRADIENT_RECT.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class GRADIENT_RECT {
- public int UpperLeft;
- public int LowerRight;
- public static final int sizeof = 8;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class GRADIENT_RECT { + public int UpperLeft; + public int LowerRight; + public static final int sizeof = 8; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java index dfaebf6d7f..7927c61b7e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java @@ -1,20 +1,20 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class HDITEM {
- public int mask;
- public int cxy;
- public int pszText;
- public int hbm;
- public int cchTextMax;
- public int fmt;
- public int lParam;
- public int iImage;
- public int iOrder;
- public static int sizeof = 36;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class HDITEM { + public int mask; + public int cxy; + public int pszText; + public int hbm; + public int cchTextMax; + public int fmt; + public int lParam; + public int iImage; + public int iOrder; + public static int sizeof = 36; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java index 73615fb37a..a45fda0872 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class HELPINFO {
- public int cbSize;
- public int iContextType;
- public int iCtrlId;
- public int hItemHandle;
- public int dwContextId;
-// POINT MousePos
- public int x;
- public int y;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class HELPINFO { + public int cbSize; + public int iContextType; + public int iCtrlId; + public int hItemHandle; + public int dwContextId; +// POINT MousePos + public int x; + public int y; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java index 78c0e34cda..571f202cc0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class ICONINFO {
- public boolean fIcon;
- public int xHotspot;
- public int yHotspot;
- public int hbmMask;
- public int hbmColor;
- public static final int sizeof = 20;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class ICONINFO { + public boolean fIcon; + public int xHotspot; + public int yHotspot; + public int hbmMask; + public int hbmColor; + public static final int sizeof = 20; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/INITCOMMONCONTROLSEX.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/INITCOMMONCONTROLSEX.java index b62707e1ce..af581f7fa9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/INITCOMMONCONTROLSEX.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/INITCOMMONCONTROLSEX.java @@ -1,13 +1,13 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class INITCOMMONCONTROLSEX {
- public int dwSize;
- public int dwICC;
- public static final int sizeof = 8;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class INITCOMMONCONTROLSEX { + public int dwSize; + public int dwICC; + public static final int sizeof = 8; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGBRUSH.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGBRUSH.java index 08ea817968..7826238c03 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGBRUSH.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGBRUSH.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LOGBRUSH {
- public int lbStyle;
- public int lbColor;
- public int lbHatch;
- public static final int sizeof = 12;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LOGBRUSH { + public int lbStyle; + public int lbColor; + public int lbHatch; + public static final int sizeof = 12; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGFONT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGFONT.java index d398d1db47..fb8de6f93d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGFONT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGFONT.java @@ -1,34 +1,34 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LOGFONT {
- public int lfHeight;
- public int lfWidth;
- public int lfEscapement;
- public int lfOrientation;
- public int lfWeight;
- public byte lfItalic;
- public byte lfUnderline;
- public byte lfStrikeOut;
- public byte lfCharSet;
- public byte lfOutPrecision;
- public byte lfClipPrecision;
- public byte lfQuality;
- public byte lfPitchAndFamily;
-// TCHAR lfFaceName[LF_FACESIZE];
- public char
- lfFaceName0, lfFaceName1, lfFaceName2, lfFaceName3,
- lfFaceName4, lfFaceName5, lfFaceName6, lfFaceName7,
- lfFaceName8, lfFaceName9, lfFaceName10, lfFaceName11,
- lfFaceName12, lfFaceName13, lfFaceName14, lfFaceName15,
- lfFaceName16, lfFaceName17, lfFaceName18, lfFaceName19,
- lfFaceName20, lfFaceName21, lfFaceName22, lfFaceName23,
- lfFaceName24, lfFaceName25, lfFaceName26, lfFaceName27,
- lfFaceName28, lfFaceName29, lfFaceName30, lfFaceName31;
- public static final int sizeof = OS.IsUnicode ? 92 : 60;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LOGFONT { + public int lfHeight; + public int lfWidth; + public int lfEscapement; + public int lfOrientation; + public int lfWeight; + public byte lfItalic; + public byte lfUnderline; + public byte lfStrikeOut; + public byte lfCharSet; + public byte lfOutPrecision; + public byte lfClipPrecision; + public byte lfQuality; + public byte lfPitchAndFamily; +// TCHAR lfFaceName[LF_FACESIZE]; + public char + lfFaceName0, lfFaceName1, lfFaceName2, lfFaceName3, + lfFaceName4, lfFaceName5, lfFaceName6, lfFaceName7, + lfFaceName8, lfFaceName9, lfFaceName10, lfFaceName11, + lfFaceName12, lfFaceName13, lfFaceName14, lfFaceName15, + lfFaceName16, lfFaceName17, lfFaceName18, lfFaceName19, + lfFaceName20, lfFaceName21, lfFaceName22, lfFaceName23, + lfFaceName24, lfFaceName25, lfFaceName26, lfFaceName27, + lfFaceName28, lfFaceName29, lfFaceName30, lfFaceName31; + public static final int sizeof = OS.IsUnicode ? 92 : 60; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java index a41eb4c89f..a3bcab4db6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LOGPEN {
- public int lopnStyle;
-// POINT lopnWidth;
- public int x;
- public int y;
- public int lopnColor;
- public static final int sizeof = 16;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LOGPEN { + public int lopnStyle; +// POINT lopnWidth; + public int x; + public int y; + public int lopnColor; + public static final int sizeof = 16; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java index e38f07aec6..7371d7dbe0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LRESULT {
- public int value;
- public static final LRESULT ONE = new LRESULT (1);
- public static final LRESULT ZERO = new LRESULT (0);
-public LRESULT (int value) {
- this.value = value;
-}
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LRESULT { + public int value; + public static final LRESULT ONE = new LRESULT (1); + public static final LRESULT ZERO = new LRESULT (0); +public LRESULT (int value) { + this.value = value; +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java index f2f2620b9b..83f0236982 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LVCOLUMN {
- public int mask;
- public int fmt;
- public int cx;
- public int pszText;
- public int cchTextMax;
- public int iSubItem;
- public int iImage;
- public int iOrder;
- public static final int sizeof = 24;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LVCOLUMN { + public int mask; + public int fmt; + public int cx; + public int pszText; + public int cchTextMax; + public int iSubItem; + public int iImage; + public int iOrder; + public static final int sizeof = 24; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java index 6ea0114833..b841bdf5dc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java @@ -1,17 +1,17 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LVHITTESTINFO {
-// POINT pt;
- public int x;
- public int y;
- public int flags;
- public int iItem;
- public int iSubItem;
- public static int sizeof = 20;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LVHITTESTINFO { +// POINT pt; + public int x; + public int y; + public int flags; + public int iItem; + public int iSubItem; + public static int sizeof = 20; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java index 19d0f7b690..619a1eb8f1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class LVITEM {
- public int mask;
- public int iItem;
- public int iSubItem;
- public int state;
- public int stateMask;
- public int pszText;
- public int cchTextMax;
- public int iImage;
- public int lParam;
- public int iIndent;
- public static final int sizeof = 40;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class LVITEM { + public int mask; + public int iItem; + public int iSubItem; + public int state; + public int stateMask; + public int pszText; + public int cchTextMax; + public int iImage; + public int lParam; + public int iIndent; + public static final int sizeof = 40; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java index 03cf3522de..85f6c4ccb9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java @@ -1,17 +1,17 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class MEASUREITEMSTRUCT {
- public int CtlType;
- public int CtlID;
- public int itemID;
- public int itemWidth;
- public int itemHeight;
- public int itemData;
- public static final int sizeof = 24;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class MEASUREITEMSTRUCT { + public int CtlType; + public int CtlID; + public int itemID; + public int itemWidth; + public int itemHeight; + public int itemData; + public static final int sizeof = 24; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java index 14508e3565..5ee33ac085 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class MENUINFO {
- public int cbSize;
- public int fMask;
- public int dwStyle;
- public int cyMax;
- public int hbrBack;
- public int dwContextHelpID;
- public int dwMenuData;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class MENUINFO { + public int cbSize; + public int fMask; + public int dwStyle; + public int cyMax; + public int hbrBack; + public int dwContextHelpID; + public int dwMenuData; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java index 1e509fff34..0fec8c66ee 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java @@ -1,34 +1,34 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class MENUITEMINFO {
- public int cbSize;
- public int fMask;
- public int fType;
- public int fState;
- public int wID;
- public int hSubMenu;
- public int hbmpChecked;
- public int hbmpUnchecked;
- public int dwItemData;
- public int dwTypeData;
- public int cch;
- public int hbmpItem;
- public static final int sizeof;
-
- /*
- * Feature in Windows. The hbmpItem field requires Windows 4.10
- * or greater. On Windows NT 4.0, passing in a larger struct size
- * in the cbSize field does nothing. On Windows 95, the MENUITEMINFO
- * calls fail when the struct size is too large. The fix is to ensure
- * that the correct struct size is used for the Windows platform.
- */
- static {
- sizeof = (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) < (4 << 16 | 10) ? 44 : 48;
- }
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class MENUITEMINFO { + public int cbSize; + public int fMask; + public int fType; + public int fState; + public int wID; + public int hSubMenu; + public int hbmpChecked; + public int hbmpUnchecked; + public int dwItemData; + public int dwTypeData; + public int cch; + public int hbmpItem; + public static final int sizeof; + + /* + * Feature in Windows. The hbmpItem field requires Windows 4.10 + * or greater. On Windows NT 4.0, passing in a larger struct size + * in the cbSize field does nothing. On Windows 95, the MENUITEMINFO + * calls fail when the struct size is too large. The fix is to ensure + * that the correct struct size is used for the Windows platform. + */ + static { + sizeof = (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) < (4 << 16 | 10) ? 44 : 48; + } +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java index 6a047fdc01..38bc39d3de 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class MSG {
- public int hwnd;
- public int message;
- public int wParam;
- public int lParam;
- public int time;
-// public POINT pt;
- public int x, y;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class MSG { + public int hwnd; + public int message; + public int wParam; + public int lParam; + public int time; +// public POINT pt; + public int x, y; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java index 487225e3da..fb2bbe57a9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class NMHDR {
- public int hwndFrom;
- public int idFrom;
- public int code;
- public static final int sizeof = 12;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class NMHDR { + public int hwndFrom; + public int idFrom; + public int code; + public static final int sizeof = 12; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java index 2915435526..6e14eb6978 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java @@ -1,14 +1,14 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class NMHEADER extends NMHDR {
- public int iItem;
- public int iButton;
- public int pitem;
- public static int sizeof = 24;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class NMHEADER extends NMHDR { + public int iItem; + public int iButton; + public int pitem; + public static int sizeof = 24; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java index 24a5ae03a9..fc66a93334 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class NMLISTVIEW extends NMHDR {
- public int iItem;
- public int iSubItem;
- public int uNewState;
- public int uOldState;
- public int uChanged;
-// public POINT ptAction;
- public int x, y;
- public int lParam;
- public static int sizeof = 44;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class NMLISTVIEW extends NMHDR { + public int iItem; + public int iSubItem; + public int uNewState; + public int uOldState; + public int uChanged; +// public POINT ptAction; + public int x, y; + public int lParam; + public static int sizeof = 44; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java index e47c59cdf2..20f2ef9ebf 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java @@ -1,24 +1,24 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class NMTOOLBAR extends NMHDR {
- public int iItem;
-// TBBUTTON tbButton;
- public int iBitmap;
- public int idCommand;
- public byte fsState;
- public byte fsStyle;
- public int dwData;
- public int iString;
- public int cchText;
- public int pszText;
-// RECT rcButton;
- public int left, top, right, bottom;
- /* Note in WinCE. The field rcButton is not defined. */
- public static final int sizeof = OS.IsWinCE ? 44 : 60;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class NMTOOLBAR extends NMHDR { + public int iItem; +// TBBUTTON tbButton; + public int iBitmap; + public int idCommand; + public byte fsState; + public byte fsStyle; + public int dwData; + public int iString; + public int cchText; + public int pszText; +// RECT rcButton; + public int left, top, right, bottom; + /* Note in WinCE. The field rcButton is not defined. */ + public static final int sizeof = OS.IsWinCE ? 44 : 60; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java index 7c0f4c1b24..9fdedd25e5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class NMTTDISPINFO extends NMHDR {
- public int lpszText;
-// char szText[80];
-// public char [] szText = new char [80];
- public int hinst;
- public int uFlags;
- public int lParam;
- public static final int sizeofW = 188;
- public static final int sizeofA = 108;
- public static final int sizeof = OS.IsUnicode ? sizeofW : sizeofA;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class NMTTDISPINFO extends NMHDR { + public int lpszText; +// char szText[80]; +// public char [] szText = new char [80]; + public int hinst; + public int uFlags; + public int lParam; + public static final int sizeofW = 188; + public static final int sizeofA = 108; + public static final int sizeof = OS.IsUnicode ? sizeofW : sizeofA; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NONCLIENTMETRICS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NONCLIENTMETRICS.java index 4aad6adaa6..ed4499985b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NONCLIENTMETRICS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NONCLIENTMETRICS.java @@ -1,33 +1,33 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-public class NONCLIENTMETRICS {
- public int cbSize;
- public int iBorderWidth;
- public int iScrollWidth;
- public int iScrollHeight;
- public int iCaptionWidth;
- public int iCaptionHeight;
-// LOGFONT lfCaptionFont;
- public LOGFONT lfCaptionFont = new LOGFONT ();
- public int iSmCaptionWidth;
- public int iSmCaptionHeight;
-// LOGFONT lfSmCaptionFont;
- public LOGFONT lfSmCaptionFont = new LOGFONT ();
- public int iMenuWidth;
- public int iMenuHeight;
-// LOGFONT lfMenuFont;
- public LOGFONT lfMenuFont = new LOGFONT ();
-// LOGFONT lfStatusFont;
- public LOGFONT lfStatusFont = new LOGFONT ();
-// LOGFONT lfMessageFont;
- public LOGFONT lfMessageFont = new LOGFONT ();
- public static final int sizeof = OS.IsUnicode ? 500 : 340;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ + +public class NONCLIENTMETRICS { + public int cbSize; + public int iBorderWidth; + public int iScrollWidth; + public int iScrollHeight; + public int iCaptionWidth; + public int iCaptionHeight; +// LOGFONT lfCaptionFont; + public LOGFONT lfCaptionFont = new LOGFONT (); + public int iSmCaptionWidth; + public int iSmCaptionHeight; +// LOGFONT lfSmCaptionFont; + public LOGFONT lfSmCaptionFont = new LOGFONT (); + public int iMenuWidth; + public int iMenuHeight; +// LOGFONT lfMenuFont; + public LOGFONT lfMenuFont = new LOGFONT (); +// LOGFONT lfStatusFont; + public LOGFONT lfStatusFont = new LOGFONT (); +// LOGFONT lfMessageFont; + public LOGFONT lfMessageFont = new LOGFONT (); + public static final int sizeof = OS.IsUnicode ? 500 : 340; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java index cd42d487e3..adf4c7c23b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java @@ -1,31 +1,31 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class OPENFILENAME {
- public int lStructSize;
- public int hwndOwner;
- public int hInstance;
- public int lpstrFilter;
- public int lpstrCustomFilter;
- public int nMaxCustFilter;
- public int nFilterIndex;
- public int lpstrFile;
- public int nMaxFile;
- public int lpstrFileTitle;
- public int nMaxFileTitle;
- public int lpstrInitialDir;
- public int lpstrTitle;
- public int Flags;
- public short nFileOffset;
- public short nFileExtension;
- public int lpstrDefExt;
- public int lCustData;
- public int lpfnHook;
- public int lpTemplateName;
- public static final int sizeof = 76;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class OPENFILENAME { + public int lStructSize; + public int hwndOwner; + public int hInstance; + public int lpstrFilter; + public int lpstrCustomFilter; + public int nMaxCustFilter; + public int nFilterIndex; + public int lpstrFile; + public int nMaxFile; + public int lpstrFileTitle; + public int nMaxFileTitle; + public int lpstrInitialDir; + public int lpstrTitle; + public int Flags; + public short nFileOffset; + public short nFileExtension; + public int lpstrDefExt; + public int lCustData; + public int lpfnHook; + public int lpTemplateName; + public static final int sizeof = 76; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java index 254d10f666..d442a81cf6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java @@ -1,2431 +1,2431 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-import org.eclipse.swt.internal.*;
-
-public class OS {
-
- /*
- * SWT Windows flags.
- */
- public static final boolean IsWin32s;
- public static final boolean IsWin95;
- public static final boolean IsWinNT;
- public static final boolean IsWinCE;
- public static final boolean IsPPC;
- public static final boolean IsHPC;
- public static final boolean IsSP;
- public static final boolean IsDBLocale;
- public static final boolean IsUnicode;
- public static final int WIN32_MAJOR, WIN32_MINOR;
-
- /*
- * Flags for Window API GetVersionEx
- */
- public static final int VER_PLATFORM_WIN32s = 0;
- public static final int VER_PLATFORM_WIN32_WINDOWS = 1;
- public static final int VER_PLATFORM_WIN32_NT = 2;
- public static final int VER_PLATFORM_WIN32_CE = 3;
-
- /*
- * Initialize the Windows flags
- */
- static {
-
- /* Load the SWT library */
- Library.loadLibrary ("swt");
-
- /*
- * Try the UNICODE version of GetVersionEx first
- * and then the ANSI version. The UNICODE version
- * is present on all versions of Windows but is not
- * implemented on Win95/98/ME.
- *
- * NOTE: The value of OSVERSIONINFO.sizeof cannot
- * be static final because it relies on the Windows
- * platform version to be initialized and IsUnicode
- * has not been calculated. It must be initialized
- * here, after the platform is determined in order
- * for the value to be correct.
- */
- OSVERSIONINFO info = new OSVERSIONINFO ();
-
- // TEMPORARY CODE
- String MBCS = System.getProperty ("MBCS");
- if (MBCS != null) {
- info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofA;
- OS.GetVersionExA (info);
- } else {
- info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofW;
- if (!OS.GetVersionExW (info)) {
- info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofA;
- OS.GetVersionExA (info);
- }
- }
- OSVERSIONINFO.sizeof = info.dwOSVersionInfoSize;
-
- IsWin32s = info.dwPlatformId == VER_PLATFORM_WIN32s;
- IsWin95 = info.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS;
- IsWinNT = info.dwPlatformId == VER_PLATFORM_WIN32_NT;
- IsWinCE = info.dwPlatformId == VER_PLATFORM_WIN32_CE;
- IsSP = IsSP();
- IsPPC = IsPPC();
- IsHPC = IsWinCE && !IsPPC && !IsSP;
- WIN32_MAJOR = info.dwMajorVersion;
- WIN32_MINOR = info.dwMinorVersion;
-
- // TEMPORARY CODE
- if (MBCS != null) {
- IsUnicode = false;
- System.out.println ("*** SWT - Warning: Unicode disabled");
- } else {
- IsUnicode = !IsWin32s && !IsWin95;
- }
-
- /* Get the DBCS flag */
- int index = 0;
- while (index <= 0xFF) {
- if (OS.IsDBCSLeadByte ((byte) index)) break;
- index++;
- }
- IsDBLocale = index <= 0xFF;
- }
-
- /* Flag used on WinCE */
- static final int SYS_COLOR_INDEX_FLAG = OS.IsWinCE ? 0x40000000 : 0x0;
-
- /*
- * NOTE: There is a bug in JVM 1.2 where loading
- * a class with a large number of constants causes
- * a segment fault to occur sometime later after
- * the class is loaded. The fix is to break the
- * class up into a hierarchy of classes that each
- * contain a smaller number of constants. This
- * fix is not necessary at this time but is required
- * when all constants are uncommented. We have not
- * done the research to determine the limit.
- */
-
- /* Constants */
- public static final int BFFM_INITIALIZED = 0x1;
- public static final int BFFM_SETSELECTION = IsUnicode ? 0x467 : 0x466;
- public static final int BFFM_VALIDATEFAILED = IsUnicode ? 0x4 : 0x3;
- public static final int BFFM_VALIDATEFAILEDW = 0x4;
- public static final int BFFM_VALIDATEFAILEDA = 0x3;
- public static final int BF_BOTTOM = 0x8;
- public static final int BF_RIGHT = 0x4;
- public static final int BIF_EDITBOX = 0x10;
- public static final int BIF_NEWDIALOGSTYLE = 0x40;
- public static final int BIF_RETURNONLYFSDIRS = 0x1;
- public static final int BIF_VALIDATE = 0x20;
- public static final int BITSPIXEL = 0xc;
- public static final int BI_BITFIELDS = 3;
- public static final int BI_RGB = 0;
- public static final int BLACKNESS = 0x42;
- public static final int BM_CLICK = 0xf5;
- public static final int BM_GETCHECK = 0xf0;
- public static final int BM_SETCHECK = 0xf1;
- public static final int BM_SETIMAGE = 0xf7;
- public static final int BM_SETSTYLE = 0xf4;
- public static final int BN_CLICKED = 0x0;
- public static final int BN_DOUBLECLICKED = 0x5;
- public static final int BST_CHECKED = 0x1;
- public static final int BST_UNCHECKED = 0x0;
- public static final int BS_BITMAP = 0x80;
- public static final int BS_CENTER = 0x300;
- public static final int BS_CHECKBOX = 0x2;
- public static final int BS_DEFPUSHBUTTON = 0x1;
- public static final int BS_FLAT = 0x8000;
- public static final int BS_GROUPBOX = 0x7;
- public static final int BS_ICON = 0x40;
- public static final int BS_LEFT = 0x100;
- public static final int BS_NOTIFY = 0x4000;
- public static final int BS_OWNERDRAW = 0xb;
- public static final int BS_PUSHBUTTON = 0x0;
- public static final int BS_PUSHLIKE = 0x1000;
- public static final int BS_RADIOBUTTON = 0x4;
- public static final int BS_RIGHT = 0x200;
- public static final int BS_SOLID = 0x0;
- public static final int BTNS_AUTOSIZE = 0x10;
- public static final int BTNS_BUTTON = 0x0;
- public static final int BTNS_CHECK = 0x2;
- public static final int BTNS_CHECKGROUP = 0x6;
- public static final int BTNS_DROPDOWN = 0x8;
- public static final int BTNS_GROUP = 0x4;
- public static final int BTNS_SEP = 0x1;
- public static final int CBN_EDITCHANGE = 0x5;
- public static final int CBN_KILLFOCUS = 0x4;
- public static final int CBN_SELCHANGE = 0x1;
- public static final int CBN_SETFOCUS = 0x3;
- public static final int CBS_AUTOHSCROLL = 0x40;
- public static final int CBS_DROPDOWN = 0x2;
- public static final int CBS_DROPDOWNLIST = 0x3;
- public static final int CBS_NOINTEGRALHEIGHT = 0x400;
- public static final int CBS_SIMPLE = 0x1;
- public static final int CB_ADDSTRING = 0x143;
- public static final int CB_DELETESTRING = 0x144;
- public static final int CB_ERR = 0xffffffff;
- public static final int CB_ERRSPACE = 0xfffffffe;
- public static final int CB_FINDSTRINGEXACT = 0x158;
- public static final int CB_GETCOUNT = 0x146;
- public static final int CB_GETCURSEL = 0x147;
- public static final int CB_GETDROPPEDCONTROLRECT = 0x152;
- public static final int CB_GETDROPPEDSTATE = 0x157;
- public static final int CB_GETEDITSEL = 0x140;
- public static final int CB_GETITEMHEIGHT = 0x154;
- public static final int CB_GETLBTEXT = 0x148;
- public static final int CB_GETLBTEXTLEN = 0x149;
- public static final int CB_INSERTSTRING = 0x14a;
- public static final int CB_LIMITTEXT = 0x141;
- public static final int CB_RESETCONTENT = 0x14b;
- public static final int CB_SELECTSTRING = 0x14d;
- public static final int CB_SETCURSEL = 0x14e;
- public static final int CB_SETEDITSEL = 0x142;
- public static final int CB_SHOWDROPDOWN = 0x14f;
- public static final int CCM_FIRST = 0x2000;
- public static final int CCM_SETBKCOLOR = 0x2001;
- public static final int CCS_NODIVIDER = 0x40;
- public static final int CCS_NORESIZE = 0x4;
- public static final int CC_ANYCOLOR = 0x100;
- public static final int CC_ENABLEHOOK = 0x10;
- public static final int CC_RGBINIT = 0x1;
- public static final int CDDS_PREPAINT = 0x00000001;
- public static final int CDDS_ITEM = 0x00010000;
- public static final int CDDS_ITEMPREPAINT = CDDS_ITEM | CDDS_PREPAINT;
- public static final int CDDS_SUBITEM = 0x00020000;
- public static final int CDRF_DODEFAULT = 0x00000000;
- public static final int CDRF_NEWFONT = 0x00000002;
- public static final int CDRF_NOTIFYITEMDRAW = 0x00000020;
- public static final int CDRF_NOTIFYSUBITEMDRAW = 0x00000020;
- public static final int CFE_AUTOCOLOR = 0x40000000;
- public static final int CFE_ITALIC = 0x2;
- public static final int CFE_STRIKEOUT = 0x8;
- public static final int CFE_UNDERLINE = 0x4;
- public static final int CFM_BOLD = 0x1;
- public static final int CFM_CHARSET = 0x8000000;
- public static final int CFM_COLOR = 0x40000000;
- public static final int CFM_FACE = 0x20000000;
- public static final int CFM_ITALIC = 0x2;
- public static final int CFM_SIZE = 0x80000000;
- public static final int CFM_STRIKEOUT = 0x8;
- public static final int CFM_UNDERLINE = 0x4;
- public static final int CFM_WEIGHT = 0x400000;
- public static final int CFS_POINT = 0x2;
- public static final int CF_EFFECTS = 0x100;
- public static final int CF_INITTOLOGFONTSTRUCT = 0x40;
- public static final int CF_SCREENFONTS = 0x1;
- public static final int CF_TEXT = 0x1;
- public static final int CF_UNICODETEXT = 13;
- public static final int CF_USESTYLE = 0x80;
- public static final int CLR_DEFAULT = 0xff000000;
- public static final int CLR_INVALID = 0xffffffff;
- public static final int COLORONCOLOR = 0x3;
- public static final int COLOR_3DDKSHADOW = 0x15 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_3DFACE = 0xf | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_3DHIGHLIGHT = 0x14 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_3DHILIGHT = 0x14 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_3DLIGHT = 0x16 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_3DSHADOW = 0x10 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_ACTIVECAPTION = 0x2 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_BTNFACE = 0xf | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_BTNHIGHLIGHT = 0x14 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_BTNSHADOW = 0x10 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_BTNTEXT = 0x12 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_CAPTIONTEXT = 0x9 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_GRADIENTACTIVECAPTION = 0x1b | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_GRADIENTINACTIVECAPTION = 0x1c | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_HIGHLIGHT = 0xd | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_HIGHLIGHTTEXT = 0xe | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_INACTIVECAPTION = 0x3 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_INACTIVECAPTIONTEXT = 0x13 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_INFOBK = 0x18 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_INFOTEXT = 0x17 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_MENU = 0x4 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_MENUTEXT = 0x7 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_SCROLLBAR = 0x0 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_WINDOW = 0x5 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_WINDOWFRAME = 0x6 | SYS_COLOR_INDEX_FLAG;
- public static final int COLOR_WINDOWTEXT = 0x8 | SYS_COLOR_INDEX_FLAG;
- public static final int COMPLEXREGION = 0x3;
- public static final int CP_ACP = 0x0;
- public static final int CP_INSTALLED = 0x1;
- public static final int CS_BYTEALIGNWINDOW = 0x2000;
- public static final int CS_DBLCLKS = 0x8;
- public static final int CS_HREDRAW = 0x2;
- public static final int CS_VREDRAW = 0x1;
- public static final int CW_USEDEFAULT = 0x80000000;
- public static final int DCX_CACHE = 0x2;
- public static final int DCX_CLIPCHILDREN = 0x8;
- public static final int DCX_CLIPSIBLINGS = 0x10;
- public static final int DEFAULT_CHARSET = 0x1;
- public static final int DEFAULT_GUI_FONT = 0x11;
- public static final int DFCS_BUTTONCHECK = 0x0;
- public static final int DFCS_CHECKED = 0x400;
- public static final int DFCS_FLAT = 0x4000;
- public static final int DFCS_INACTIVE = 0x100;
- public static final int DFCS_PUSHED = 0x200;
- public static final int DFCS_SCROLLDOWN = 0x1;
- public static final int DFCS_SCROLLLEFT = 0x2;
- public static final int DFCS_SCROLLRIGHT = 0x3;
- public static final int DFCS_SCROLLUP = 0x0;
- public static final int DFC_BUTTON = 0x4;
- public static final int DFC_SCROLL = 0x3;
- public static final int DIB_RGB_COLORS = 0x0;
- public static final int DISP_E_EXCEPTION = 0x80020009;
- public static final int DI_NORMAL = 0x3;
- public static final int DLGC_BUTTON = 0x2000;
- public static final int DLGC_HASSETSEL = 0x8;
- public static final int DLGC_STATIC = 0x100;
- public static final int DLGC_WANTALLKEYS = 0x4;
- public static final int DLGC_WANTARROWS = 0x1;
- public static final int DLGC_WANTTAB = 0x2;
- public static final int DM_SETDEFID = OS.WM_USER + 1;
- public static final int DSS_DISABLED = 0x20;
- public static final int DSTINVERT = 0x550009;
- public static final int DST_BITMAP = 0x4;
- public static final int DST_ICON = 0x3;
- public static final int DT_CALCRECT = 0x400;
- public static final int DT_EDITCONTROL = 0x2000;
- public static final int DT_EXPANDTABS = 0x40;
- public static final int DT_LEFT = 0x0;
- public static final int DT_NOPREFIX = 0x800;
- public static final int DT_SINGLELINE = 0x20;
- public static final int DT_WORDBREAK = 0x10;
- public static final int ECOOP_AND = 0x3;
- public static final int ECOOP_OR = 0x2;
- public static final int ECO_AUTOHSCROLL = 0x80;
- public static final int EDGE_ETCHED = 0x6;
- public static final int EDGE_SUNKEN = 0xa;
- public static final int EM_CANUNDO = 0xc6;
- public static final int EM_CHARFROMPOS = 0xd7;
- public static final int EM_DISPLAYBAND = 0x433;
- public static final int EM_GETFIRSTVISIBLELINE = 0xce;
- public static final int EM_GETLIMITTEXT = 0xd5;
- public static final int EM_GETLINE = 0xc4;
- public static final int EM_GETLINECOUNT = 0xba;
- public static final int EM_GETMARGINS = 0xd4;
- public static final int EM_GETPASSWORDCHAR = 0xd2;
- public static final int EM_GETSCROLLPOS = 0x4dd;
- public static final int EM_GETSEL = 0xb0;
- public static final int EM_LIMITTEXT = 0xc5;
- public static final int EM_LINEFROMCHAR = 0xc9;
- public static final int EM_LINEINDEX = 0xbb;
- public static final int EM_LINELENGTH = 0xc1;
- public static final int EM_LINESCROLL = 0xb6;
- public static final int EM_POSFROMCHAR = 0xd6;
- public static final int EM_REPLACESEL = 0xc2;
- public static final int EM_SCROLLCARET = 0xb7;
- public static final int EM_SETBKGNDCOLOR = 0x443;
- public static final int EM_SETLIMITTEXT = 0xc5;
- public static final int EM_SETOPTIONS = 0x44d;
- public static final int EM_SETPARAFORMAT = 0x447;
- public static final int EM_SETPASSWORDCHAR = 0xcc;
- public static final int EM_SETREADONLY = 0xcf;
- public static final int EM_SETSEL = 0xb1;
- public static final int EM_SETTABSTOPS = 0xcb;
- public static final int EN_CHANGE = 0x300;
- public static final int ERROR_NO_MORE_ITEMS = 0x103;
- public static final int ESB_DISABLE_BOTH = 0x3;
- public static final int ESB_ENABLE_BOTH = 0x0;
- public static final int ES_AUTOHSCROLL = 0x80;
- public static final int ES_CENTER = 0x1;
- public static final int ES_MULTILINE = 0x4;
- public static final int ES_NOHIDESEL = 0x100;
- public static final int ES_READONLY = 0x800;
- public static final int ES_RIGHT = 0x2;
- public static final int FALT = 0x10;
- public static final int FCONTROL = 0x8;
- public static final int FNERR_INVALIDFILENAME = 0x3002;
- public static final int FSHIFT = 0x4;
- public static final int FVIRTKEY = 0x1;
- public static final int GCS_COMPSTR = 0x8;
- public static final int GCS_RESULTSTR = 0x800;
- public static final int GMDI_USEDISABLED = 0x1;
- public static final int GMEM_FIXED = 0x0;
- public static final int GMEM_ZEROINIT = 0x40;
- public static final int GN_CONTEXTMENU = 1000;
- public static final int GPTR = 0x40;
- public static final int GRADIENT_FILL_RECT_H = 0x0;
- public static final int GRADIENT_FILL_RECT_V = 0x1;
- public static final int GTL_NUMBYTES = 0x10;
- public static final int GTL_NUMCHARS = 0x8;
- public static final int GTL_PRECISE = 0x2;
- public static final int GT_DEFAULT = 0x0;
- public static final int GWL_EXSTYLE = 0xffffffec;
- public static final int GWL_ID = -12;
- public static final int GWL_STYLE = 0xfffffff0;
- public static final int GWL_USERDATA = 0xffffffeb;
- public static final int GWL_WNDPROC = 0xfffffffc;
- public static final int GW_CHILD = 0x5;
- public static final int GW_HWNDFIRST = 0x0;
- public static final int GW_HWNDLAST = 0x1;
- public static final int GW_HWNDNEXT = 0x2;
- public static final int GW_HWNDPREV = 0x3;
- public static final int HBMMENU_CALLBACK = 0xffffffff;
- public static final int HDI_WIDTH = 0x1;
- public static final int HDM_FIRST = 0x1200;
- public static final int HDM_GETBITMAPMARGIN = HDM_FIRST + 21;
- public static final int HDM_GETITEMCOUNT = 0x1200;
- public static final int HDN_BEGINTRACK = IsUnicode ? 0xfffffeba : 0xfffffece;
- public static final int HDN_BEGINTRACKW = 0xfffffeba;
- public static final int HDN_BEGINTRACKA = 0xfffffece;
- public static final int HDN_DIVIDERDBLCLICKA = OS.HDN_FIRST - 5;
- public static final int HDN_DIVIDERDBLCLICKW = OS.HDN_FIRST - 25;
- public static final int HDN_DIVIDERDBLCLICK = IsUnicode ? HDN_DIVIDERDBLCLICKW : HDN_DIVIDERDBLCLICKA;
- public static final int HDN_FIRST = 0xfffffed4;
- public static final int HDN_ITEMCHANGED = IsUnicode ? 0xfffffebf : 0xfffffed3;
- public static final int HDN_ITEMCHANGEDW = 0xfffffebf;
- public static final int HDN_ITEMCHANGEDA = 0xfffffed3;
- public static final int HEAP_ZERO_MEMORY = 0x8;
- public static final int HELPINFO_MENUITEM = 0x2;
- public static final int HINST_COMMCTRL = 0xffffffff;
- public static final int HKEY_CLASSES_ROOT = 0x80000000;
- public static final int HKEY_CURRENT_USER = 0x80000001;
- public static final int HORZRES = 0x8;
- public static final int HTBORDER = 0x12;
- public static final int HTCLIENT = 0x1;
- public static final int HTERROR = -2;
- public static final int HTHSCROLL = 0x6;
- public static final int HTMENU = 0x5;
- public static final int HTNOWHERE = 0x0;
- public static final int HTTRANSPARENT = 0xffffffff;
- public static final int HTVSCROLL = 0x7;
- public static final int HWND_BOTTOM = 0x1;
- public static final int HWND_TOP = 0x0;
- public static final int HWND_TOPMOST = 0xffffffff;
- public static final int HWND_NOTOPMOST = -2;
- public static final int ICC_COOL_CLASSES = 0x400;
- public static final int ICM_NOTOPEN = 0x0;
- public static final int ICON_BIG = 0x1;
- public static final int ICON_SMALL = 0x0;
- public static final int I_IMAGENONE = -2;
- public static final int IDABORT = 0x3;
- public static final int IDB_STD_SMALL_COLOR = 0x0;
- public static final int IDC_APPSTARTING = 0x7f8a;
- public static final int IDC_ARROW = 0x7f00;
- public static final int IDC_CROSS = 0x7f03;
- public static final int IDC_HAND = 0x7f89;
- public static final int IDC_HELP = 0x7f8b;
- public static final int IDC_IBEAM = 0x7f01;
- public static final int IDC_NO = 0x7f88;
- public static final int IDC_SIZE = 0x7f80;
- public static final int IDC_SIZEALL = 0x7f86;
- public static final int IDC_SIZENESW = 0x7f83;
- public static final int IDC_SIZENS = 0x7f85;
- public static final int IDC_SIZENWSE = 0x7f82;
- public static final int IDC_SIZEWE = 0x7f84;
- public static final int IDC_UPARROW = 0x7f04;
- public static final int IDC_WAIT = 0x7f02;
- public static final int IDI_WINLOGO = 0x7f05;
- public static final int IDNO = 0x7;
- public static final int IDOK = 0x1;
- public static final int IDRETRY = 0x4;
- public static final int IDYES = 0x6;
- public static final int ILC_COLOR = 0x0;
- public static final int ILC_COLOR16 = 0x10;
- public static final int ILC_COLOR24 = 0x18;
- public static final int ILC_COLOR32 = 0x20;
- public static final int ILC_COLOR4 = 0x4;
- public static final int ILC_COLOR8 = 0x8;
- public static final int ILC_MASK = 0x1;
- public static final int ILD_NORMAL = 0x0;
- public static final int IMAGE_BITMAP = 0x0;
- public static final int IMAGE_CURSOR = 0x2;
- public static final int IMAGE_ICON = 0x1;
- public static final int IME_CMODE_FULLSHAPE = 0x8;
- public static final int IME_CMODE_KATAKANA = 0x2;
- public static final int IME_CMODE_NATIVE = 0x1;
- public static final int IME_CMODE_ROMAN = 0x10;
- public static final int INFINITE = 0xffffffff;
- public static final int KEY_ENUMERATE_SUB_KEYS = 0x8;
- public static final int KEY_NOTIFY = 0x10;
- public static final int KEY_QUERY_VALUE = 0x1;
- public static final int KEY_READ = 0x20019;
- public static final int LBN_DBLCLK = 0x2;
- public static final int LBN_SELCHANGE = 0x1;
- public static final int LBS_EXTENDEDSEL = 0x800;
- public static final int LBS_MULTIPLESEL = 0x8;
- public static final int LBS_NOINTEGRALHEIGHT = 0x100;
- public static final int LBS_NOTIFY = 0x1;
- public static final int LB_ADDSTRING = 0x180;
- public static final int LB_DELETESTRING = 0x182;
- public static final int LB_ERR = 0xffffffff;
- public static final int LB_ERRSPACE = 0xfffffffe;
- public static final int LB_FINDSTRINGEXACT = 0x1a2;
- public static final int LB_GETCARETINDEX = 0x19f;
- public static final int LB_GETCOUNT = 0x18b;
- public static final int LB_GETCURSEL = 0x188;
- public static final int LB_GETHORIZONTALEXTENT = 0x193;
- public static final int LB_GETITEMHEIGHT = 0x1a1;
- public static final int LB_GETITEMRECT = 0x198;
- public static final int LB_GETSEL = 0x187;
- public static final int LB_GETSELCOUNT = 0x190;
- public static final int LB_GETSELITEMS = 0x191;
- public static final int LB_GETTEXT = 0x189;
- public static final int LB_GETTEXTLEN = 0x18a;
- public static final int LB_GETTOPINDEX = 0x18e;
- public static final int LB_INITSTORAGE = 0x1a8;
- public static final int LB_INSERTSTRING = 0x181;
- public static final int LB_RESETCONTENT = 0x184;
- public static final int LB_SELITEMRANGE = 0x19b;
- public static final int LB_SELITEMRANGEEX = 0x183;
- public static final int LB_SETCARETINDEX = 0x19e;
- public static final int LB_SETCURSEL = 0x186;
- public static final int LB_SETHORIZONTALEXTENT = 0x194;
- public static final int LB_SETSEL = 0x185;
- public static final int LB_SETTOPINDEX = 0x197;
- public static final int LGRPID_ARABIC = 0xd;
- public static final int LGRPID_HEBREW = 0xc;
- public static final int LGRPID_INSTALLED = 1;
- public static final int LCID_SUPPORTED = 0x2;
- public static final int LOCALE_IDEFAULTANSICODEPAGE = 0x1004;
- public static final int LOCALE_SISO3166CTRYNAME = 0x5a;
- public static final int LOCALE_SISO639LANGNAME = 0x59;
- public static final int LOGPIXELSX = 0x58;
- public static final int LOGPIXELSY = 0x5a;
- public static final int LPSTR_TEXTCALLBACK = 0xffffffff;
- public static final int LR_DEFAULTCOLOR = 0x0;
- public static final int LVCFMT_CENTER = 0x2;
- public static final int LVCFMT_IMAGE = 0x800;
- public static final int LVCFMT_LEFT = 0x0;
- public static final int LVCFMT_RIGHT = 0x1;
- public static final int LVCF_FMT = 0x1;
- public static final int LVCF_IMAGE = 0x10;
- public static final int LVCF_TEXT = 0x4;
- public static final int LVCF_WIDTH = 0x2;
- public static final int LVHT_ONITEM = 0xe;
- public static final int LVHT_ONITEMICON = 0x2;
- public static final int LVHT_ONITEMLABEL = 0x4;
- public static final int LVHT_ONITEMSTATEICON = 0x8;
- public static final int LVIF_IMAGE = 0x2;
- public static final int LVIF_INDENT = 0x10;
- public static final int LVIF_STATE = 0x8;
- public static final int LVIF_TEXT = 0x1;
- public static final int LVIR_BOUNDS = 0x0;
- public static final int LVIR_ICON = 0x1;
- public static final int LVIR_LABEL = 0x2;
- public static final int LVIS_DROPHILITED = 0x8;
- public static final int LVIS_FOCUSED = 0x1;
- public static final int LVIS_SELECTED = 0x2;
- public static final int LVIS_STATEIMAGEMASK = 0xf000;
- public static final int LVM_APPROXIMATEVIEWRECT = 0x1040;
- public static final int LVM_DELETEALLITEMS = 0x1009;
- public static final int LVM_DELETECOLUMN = 0x101c;
- public static final int LVM_DELETEITEM = 0x1008;
- public static final int LVM_ENSUREVISIBLE = 0x1013;
- public static final int LVM_FIRST = 0x1000;
- public static final int LVM_GETBKCOLOR = 0x1000;
- public static final int LVM_GETCOLUMN = IsUnicode ? 0x105f : 0x1019;
- public static final int LVM_GETCOLUMNWIDTH = 0x101d;
- public static final int LVM_GETCOUNTPERPAGE = 0x1028;
- public static final int LVM_GETEXTENDEDLISTVIEWSTYLE = 0x1037;
- public static final int LVM_GETHEADER = 0x101f;
- public static final int LVM_GETIMAGELIST = 0x1002;
- public static final int LVM_GETITEM = IsUnicode ? 0x104b : 0x1005;
- public static final int LVM_GETITEMW = 0x104b;
- public static final int LVM_GETITEMA = 0x1005;
- public static final int LVM_GETITEMCOUNT = 0x1004;
- public static final int LVM_GETITEMRECT = 0x100e;
- public static final int LVM_GETITEMSTATE = 0x102c;
- public static final int LVM_GETNEXTITEM = 0x100c;
- public static final int LVM_GETSELECTEDCOUNT = 0x1032;
- public static final int LVM_GETSTRINGWIDTH = IsUnicode ? 0x1057 : 0x1011;
- public static final int LVM_GETSUBITEMRECT = 0x1038;
- public static final int LVM_GETTEXTCOLOR = 0x1023;
- public static final int LVM_GETTOPINDEX = 0x1027;
- public static final int LVM_HITTEST = 0x1012;
- public static final int LVM_INSERTCOLUMN = IsUnicode ? 0x1061 : 0x101b;
- public static final int LVM_INSERTITEM = IsUnicode ? 0x104d : 0x1007;
- public static final int LVM_SCROLL = 0x1014;
- public static final int LVM_SETBKCOLOR = 0x1001;
- public static final int LVM_SETCOLUMN = IsUnicode ? 0x1060 : 0x101a;
- public static final int LVM_SETCOLUMNWIDTH = 0x101e;
- public static final int LVM_SETEXTENDEDLISTVIEWSTYLE = 0x1036;
- public static final int LVM_SETIMAGELIST = 0x1003;
- public static final int LVM_SETITEM = IsUnicode ? 0x104c : 0x1006;
- public static final int LVM_SETITEMSTATE = 0x102b;
- public static final int LVM_SETTEXTBKCOLOR = 0x1026;
- public static final int LVM_SETTEXTCOLOR = 0x1024;
- public static final int LVNI_FOCUSED = 0x1;
- public static final int LVNI_SELECTED = 0x2;
- public static final int LVN_BEGINDRAG = 0xffffff93;
- public static final int LVN_BEGINRDRAG = 0xffffff91;
- public static final int LVN_COLUMNCLICK = 0xffffff94;
- public static final int LVN_FIRST = 0xffffff9c;
- public static final int LVN_ITEMACTIVATE = 0xffffff8e;
- public static final int LVN_ITEMCHANGED = 0xffffff9b;
- public static final int LVN_MARQUEEBEGIN = 0xffffff64;
- public static final int LVSCW_AUTOSIZE = 0xffffffff;
- public static final int LVSCW_AUTOSIZE_USEHEADER = 0xfffffffe;
- public static final int LVSIL_SMALL = 0x1;
- public static final int LVSIL_STATE = 0x2;
- public static final int LVS_EX_FULLROWSELECT = 0x20;
- public static final int LVS_EX_GRIDLINES = 0x1;
- public static final int LVS_EX_LABELTIP = 0x4000;
- public static final int LVS_EX_ONECLICKACTIVATE = 0x40;
- public static final int LVS_EX_SUBITEMIMAGES = 0x2;
- public static final int LVS_EX_TRACKSELECT = 0x8;
- public static final int LVS_EX_TWOCLICKACTIVATE = 0x80;
- public static final int LVS_NOCOLUMNHEADER = 0x4000;
- public static final int LVS_NOSCROLL = 0x2000;
- public static final int LVS_REPORT = 0x1;
- public static final int LVS_SHAREIMAGELISTS = 0x40;
- public static final int LVS_SHOWSELALWAYS = 0x8;
- public static final int LVS_SINGLESEL = 0x4;
- public static final int MA_NOACTIVATE = 0x3;
- public static final int MB_ABORTRETRYIGNORE = 0x2;
- public static final int MB_APPLMODAL = 0x0;
- public static final int MB_ICONERROR = 0x10;
- public static final int MB_ICONINFORMATION = 0x40;
- public static final int MB_ICONQUESTION = 0x20;
- public static final int MB_ICONWARNING = 0x30;
- public static final int MB_OK = 0x0;
- public static final int MB_OKCANCEL = 0x1;
- public static final int MB_PRECOMPOSED = 0x1;
- public static final int MB_RETRYCANCEL = 0x5;
- public static final int MB_RTLREADING = 0x100000;
- public static final int MB_SYSTEMMODAL = 0x1000;
- public static final int MB_TASKMODAL = 0x2000;
- public static final int MB_YESNO = 0x4;
- public static final int MB_YESNOCANCEL = 0x3;
- public static final int MFS_CHECKED = 0x8;
- public static final int MFS_DISABLED = 0x3;
- public static final int MFS_GRAYED = 0x3;
- public static final int MFT_RADIOCHECK = 0x200;
- public static final int MFT_RIGHTJUSTIFY = 0x4000;
- public static final int MFT_RIGHTORDER = 0x2000;
- public static final int MFT_SEPARATOR = 0x800;
- public static final int MFT_STRING = 0x0;
- public static final int MF_BYCOMMAND = 0x0;
- public static final int MF_BYPOSITION = 0x400;
- public static final int MF_CHECKED = 0x8;
- public static final int MF_DISABLED = 0x2;
- public static final int MF_ENABLED = 0x0;
- public static final int MF_GRAYED = 0x1;
- public static final int MF_HILITE = 0x80;
- public static final int MF_POPUP = 0x10;
- public static final int MF_SEPARATOR = 0x800;
- public static final int MF_SYSMENU = 0x2000;
- public static final int MF_UNCHECKED = 0x0;
- public static final int MIIM_BITMAP = 0x80;
- public static final int MIIM_DATA = 0x20;
- public static final int MIIM_ID = 0x2;
- public static final int MIIM_STATE = 0x1;
- public static final int MIIM_SUBMENU = 0x4;
- public static final int MIIM_TYPE = 0x10;
- public static final int MIM_STYLE = 0x10;
- public static final int MK_CONTROL = 0x8;
- public static final int MK_LBUTTON = 0x1;
- public static final int MK_MBUTTON = 0x10;
- public static final int MK_RBUTTON = 0x2;
- public static final int MK_SHIFT = 0x4;
- public static final int MM_TEXT = 0x1;
- public static final int MNC_CLOSE = 0x1;
- public static final int MNS_CHECKORBMP = 0x4000000;
- public static final int MWMO_INPUTAVAILABLE = 0x4;
- public static final int NM_CLICK = 0xfffffffe;
- public static final int NM_CUSTOMDRAW = OS.NM_FIRST - 12;
- public static final int NM_DBLCLK = 0xfffffffd;
- public static final int NM_FIRST = 0x0;
- public static final int NM_RETURN = 0xfffffffc;
- public static final int NOTSRCCOPY = 0x330008;
- public static final int NULLREGION = 0x1;
- public static final int NULL_BRUSH = 0x5;
- public static final int NULL_PEN = 0x8;
- public static final int NUMRESERVED = 106;
- public static final int OBJID_CLIENT = 0xFFFFFFFC;
- public static final int OBJ_FONT = 0x6;
- public static final int OBJ_PEN = 0x1;
- public static final int OBM_CHECKBOXES = 0x7ff7;
- public static final int ODS_SELECTED = 0x1;
- public static final int ODT_MENU = 0x1;
- public static final int OFN_ALLOWMULTISELECT = 0x200;
- public static final int OFN_EXPLORER = 0x80000;
- public static final int OFN_HIDEREADONLY = 0x4;
- public static final int OFN_NOCHANGEDIR = 0x8;
- public static final int OPAQUE = 0x2;
- public static final int PATCOPY = 0xf00021;
- public static final int PATINVERT = 0x5a0049;
- public static final int PBM_GETPOS = 0x408;
- public static final int PBM_GETRANGE = 0x407;
- public static final int PBM_SETBARCOLOR = 0x409;
- public static final int PBM_SETBKCOLOR = 0x2001;
- public static final int PBM_SETPOS = 0x402;
- public static final int PBM_SETRANGE32 = 0x406;
- public static final int PBM_STEPIT = OS.WM_USER + 5;
- public static final int PBS_SMOOTH = 0x1;
- public static final int PBS_VERTICAL = 0x4;
- public static final int PD_ALLPAGES = 0x0;
- public static final int PD_COLLATE = 0x10;
- public static final int PD_PAGENUMS = 0x2;
- public static final int PD_PRINTTOFILE = 0x20;
- public static final int PD_RETURNDC = 0x100;
- public static final int PD_SELECTION = 0x1;
- public static final int PD_USEDEVMODECOPIESANDCOLLATE = 0x40000;
- public static final int PFM_TABSTOPS = 0x10;
- public static final int PHYSICALHEIGHT = 0x6f;
- public static final int PHYSICALOFFSETX = 0x70;
- public static final int PHYSICALOFFSETY = 0x71;
- public static final int PHYSICALWIDTH = 0x6e;
- public static final int PLANES = 0xe;
- public static final int PM_NOREMOVE = 0x0;
- public static final int PM_REMOVE = 0x1;
- public static final String PROGRESS_CLASS = "msctls_progress32";
- public static final int PS_DASH = 0x1;
- public static final int PS_DASHDOT = 0x3;
- public static final int PS_DASHDOTDOT = 0x4;
- public static final int PS_DOT = 0x2;
- public static final int PS_ENDCAP_FLAT = 0x200;
- public static final int PS_GEOMETRIC = 0x10000;
- public static final int PS_JOIN_MITER = 0x2000;
- public static final int PS_SOLID = 0x0;
- public static final int PS_STYLE_MASK = 0xf;
- public static final int QS_KEY = 0x0001;
- public static final int QS_MOUSEMOVE = 0x0002;
- public static final int QS_MOUSEBUTTON = 0x0004;
- public static final int QS_POSTMESSAGE = 0x0008;
- public static final int QS_TIMER = 0x0010;
- public static final int QS_PAINT = 0x0020;
- public static final int QS_SENDMESSAGE = 0x0040;
- public static final int QS_ALLINPUT = QS_MOUSEMOVE | QS_MOUSEBUTTON | QS_KEY | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_SENDMESSAGE;
- public static final int R2_COPYPEN = 0xd;
- public static final int R2_XORPEN = 0x7;
- public static final int RASTERCAPS = 0x26;
- public static final int RASTER_FONTTYPE = 0x1;
- public static final int RBBIM_CHILD = 0x10;
- public static final int RBBIM_CHILDSIZE = 0x20;
- public static final int RBBIM_COLORS = 0x2;
- public static final int RBBIM_HEADERSIZE = 0x800;
- public static final int RBBIM_ID = 0x100;
- public static final int RBBIM_IDEALSIZE = 0x200;
- public static final int RBBIM_SIZE = 0x40;
- public static final int RBBIM_STYLE = 0x1;
- public static final int RBBIM_TEXT = 0x4;
- public static final int RBBS_BREAK = 0x1;
- public static final int RBBS_GRIPPERALWAYS = 0x80;
- public static final int RBBS_NOGRIPPER = 0x00000100;
- public static final int RBBS_USECHEVRON = 0x00000200;
- public static final int RBBS_VARIABLEHEIGHT = 0x40;
- public static final int RBN_FIRST = 0xfffffcc1;
- public static final int RBN_CHEVRONPUSHED = RBN_FIRST - 10;
- public static final int RBN_HEIGHTCHANGE = 0xfffffcc1;
- public static final int RBS_DBLCLKTOGGLE = 0x8000;
- public static final int RBS_BANDBORDERS = 0x400;
- public static final int RBS_VARHEIGHT = 0x200;
- public static final int RB_DELETEBAND = 0x402;
- public static final int RB_GETBANDBORDERS = 0x422;
- public static final int RB_GETBANDCOUNT = 0x40c;
- public static final int RB_GETBANDINFO = IsUnicode ? 0x41c : 0x41d;
- public static final int RB_GETBARHEIGHT = 0x41b;
- public static final int RB_GETBKCOLOR = 0x414;
- public static final int RB_GETRECT = 0x409;
- public static final int RB_GETTEXTCOLOR = 0x416;
- public static final int RB_IDTOINDEX = 0x410;
- public static final int RB_INSERTBAND = IsUnicode ? 0x40a : 0x401;
- public static final int RB_MOVEBAND = 0x427;
- public static final int RB_SETBANDINFO = IsUnicode ? 0x40b : 0x406;
- public static final int RB_SETBKCOLOR = 0x413;
- public static final int RB_SETTEXTCOLOR = 0x415;
- public static final int RC_BITBLT = 0x1;
- public static final int RC_PALETTE = 0x100;
- public static final int RDW_ALLCHILDREN = 0x80;
- public static final int RDW_ERASE = 0x4;
- public static final int RDW_FRAME = 0x400;
- public static final int RDW_INVALIDATE = 0x1;
- public static final int RDW_UPDATENOW = 0x100;
- public static final int READ_CONTROL = 0x20000;
- public static final String REBARCLASSNAME = "ReBarWindow32";
- public static final int RGN_OR = 0x2;
- public static final int SBS_HORZ = 0x0;
- public static final int SBS_VERT = 0x1;
- public static final int SB_BOTTOM = 0x7;
- public static final int SB_CTL = 0x2;
- public static final int SB_ENDSCROLL = 0x8;
- public static final int SB_HORZ = 0x0;
- public static final int SB_LINEDOWN = 0x1;
- public static final int SB_LINEUP = 0x0;
- public static final int SB_PAGEDOWN = 0x3;
- public static final int SB_PAGEUP = 0x2;
- public static final int SB_THUMBPOSITION = 0x4;
- public static final int SB_THUMBTRACK = 0x5;
- public static final int SB_TOP = 0x6;
- public static final int SB_VERT = 0x1;
- public static final int SCF_ALL = 0x4;
- public static final int SCF_DEFAULT = 0x0;
- public static final int SCF_SELECTION = 0x1;
- public static final int SC_CLOSE = 0xf060;
- public static final int SC_HSCROLL = 0xf080;
- public static final int SC_KEYMENU = 0xf100;
- public static final int SC_MAXIMIZE = 0xf030;
- public static final int SC_MINIMIZE = 0xf020;
- public static final int SC_RESTORE = 0xf120;
- public static final int SC_SIZE = 0xf000;
- public static final int SC_TASKLIST = 0xf130;
- public static final int SC_VSCROLL = 0xf070;
- public static final int SF_RTF = 0x2;
- public static final int SHCMBF_HIDDEN = 0x2;
- public static final int SHCMBM_OVERRIDEKEY = OS.WM_USER + 403;
- public static final int SHCMBM_SETSUBMENU = 0x590;
- public static final int SHCMBM_GETSUBMENU = 0x591;
- public static final int SHMBOF_NODEFAULT = 0x1;
- public static final int SHMBOF_NOTIFY = 0x2;
- public static final int SHRG_RETURNCMD = 0x1;
- public static final int SIF_ALL = 0x17;
- public static final int SIF_DISABLENOSCROLL = 0x8;
- public static final int SIF_PAGE = 0x2;
- public static final int SIF_POS = 0x4;
- public static final int SIF_RANGE = 0x1;
- public static final int SIF_TRACKPOS = 0x10;
- public static final int SIP_DOWN = 1;
- public static final int SIP_UP = 0;
- public static final int SIPF_ON = 0x1;
- public static final int SIZE_MINIMIZED = 0x1;
- public static final int SIZEPALETTE = 104;
- public static final int SM_CMONITORS = 80;
- public static final int SM_CXBORDER = 0x5;
- public static final int SM_CXCURSOR = 0xd;
- public static final int SM_CXEDGE = 0x2d;
- public static final int SM_CXHSCROLL = 0x15;
- public static final int SM_CXICON = 0x0b;
- public static final int SM_CYICON = 0x0c;
- public static final int SM_CXVIRTUALSCREEN = 78;
- public static final int SM_CYVIRTUALSCREEN = 79;
- public static final int SM_CXSMICON = 49;
- public static final int SM_CYSMICON = 50;
- public static final int SM_CXSCREEN = 0x0;
- public static final int SM_XVIRTUALSCREEN = 76;
- public static final int SM_YVIRTUALSCREEN = 77;
- public static final int SM_CXVSCROLL = 0x2;
- public static final int SM_CYBORDER = 0x6;
- public static final int SM_CYCURSOR = 0xe;
- public static final int SM_CYHSCROLL = 0x3;
- public static final int SM_CYMENU = 0xf;
- public static final int SM_CYSCREEN = 0x1;
- public static final int SM_CYVSCROLL = 0x14;
- public static final int SPI_GETWORKAREA = 0x30;
- public static final int SPI_GETNONCLIENTMETRICS = 41;
- public static final int SPI_GETWHEELSCROLLLINES = 104;
- public static final int SPI_SETSIPINFO = 224;
- public static final int SRCAND = 0x8800c6;
- public static final int SRCCOPY = 0xcc0020;
- public static final int SRCINVERT = 0x660046;
- public static final int SRCPAINT = 0xee0086;
- public static final int SS_BITMAP = 0xe;
- public static final int SS_CENTER = 0x1;
- public static final int SS_CENTERIMAGE = 0x200;
- public static final int SS_ICON = 0x3;
- public static final int SS_LEFT = 0x0;
- public static final int SS_LEFTNOWORDWRAP = 0xc;
- public static final int SS_NOTIFY = 0x100;
- public static final int SS_OWNERDRAW = 0xd;
- public static final int SS_REALSIZEIMAGE = 0x800;
- public static final int SS_RIGHT = 0x2;
- public static final int STANDARD_RIGHTS_READ = 0x20000;
- public static final int STD_COPY = 0x1;
- public static final int STD_CUT = 0x0;
- public static final int STD_FILENEW = 0x6;
- public static final int STD_FILEOPEN = 0x7;
- public static final int STD_FILESAVE = 0x8;
- public static final int STD_PASTE = 0x2;
- public static final int STM_SETIMAGE = 0x172;
- public static final int SWP_DRAWFRAME = 0x20;
- public static final int SWP_NOACTIVATE = 0x10;
- public static final int SWP_NOCOPYBITS = 0x100;
- public static final int SWP_NOMOVE = 0x2;
- public static final int SWP_NOREDRAW = 0x8;
- public static final int SWP_NOSIZE = 0x1;
- public static final int SWP_NOZORDER = 0x4;
- public static final int SW_ERASE = 0x4;
- public static final int SW_HIDE = 0x0;
- public static final int SW_INVALIDATE = 0x2;
- public static final int SW_PARENTOPENING = 0x3;
- public static final int SW_RESTORE = OS.IsWinCE ? 0xd : 0x9;
- public static final int SW_SCROLLCHILDREN = 0x1;
- public static final int SW_SHOW = 0x5;
- public static final int SW_SHOWMAXIMIZED = OS.IsWinCE ? 0xb : 0x3;
- public static final int SW_SHOWMINNOACTIVE = 0x7;
- public static final int SW_SHOWNA = 0x8;
- public static final int SW_SHOWNOACTIVATE = 0x4;
- public static final int SYNCHRONIZE = 0x100000;
- public static final int SYSTEM_FONT = 0xd;
- public static final int S_OK = 0x0;
- public static final int TBIF_COMMAND = 0x20;
- public static final int TBIF_STATE = 0x4;
- public static final int TBIF_IMAGE = 0x1;
- public static final int TBIF_LPARAM = 0x10;
- public static final int TBIF_SIZE = 0x40;
- public static final int TBIF_STYLE = 0x8;
- public static final int TBIF_TEXT = 0x2;
- public static final int TBM_GETLINESIZE = 0x418;
- public static final int TBM_GETPAGESIZE = 0x416;
- public static final int TBM_GETPOS = 0x400;
- public static final int TBM_GETRANGEMAX = 0x402;
- public static final int TBM_GETRANGEMIN = 0x401;
- public static final int TBM_GETTHUMBRECT = 0x419;
- public static final int TBM_SETLINESIZE = 0x417;
- public static final int TBM_SETPAGESIZE = 0x415;
- public static final int TBM_SETPOS = 0x405;
- public static final int TBM_SETRANGEMAX = 0x408;
- public static final int TBM_SETRANGEMIN = 0x407;
- public static final int TBM_SETTICFREQ = 0x414;
- public static final int TBN_DROPDOWN = 0xfffffd3a;
- public static final int TBN_FIRST = 0xfffffd44;
- public static final int TBSTATE_CHECKED = 0x1;
- public static final int TBSTYLE_DROPDOWN = 0x8;
- public static final int TBSTATE_ENABLED = 0x4;
- public static final int TBSTYLE_AUTOSIZE = 0x10;
- public static final int TBSTYLE_EX_DRAWDDARROWS = 0x1;
- public static final int TBSTYLE_FLAT = 0x800;
- public static final int TBSTYLE_LIST = 0x1000;
- public static final int TBSTYLE_TOOLTIPS = 0x100;
- public static final int TBSTYLE_TRANSPARENT = 0x8000;
- public static final int TBSTYLE_WRAPABLE = 0x200;
- public static final int TBS_AUTOTICKS = 0x1;
- public static final int TBS_BOTH = 0x8;
- public static final int TBS_HORZ = 0x0;
- public static final int TBS_VERT = 0x2;
- public static final int TB_ADDSTRING = IsUnicode ? 0x44d : 0x41c;
- public static final int TB_BUTTONCOUNT = 0x418;
- public static final int TB_BUTTONSTRUCTSIZE = 0x41e;
- public static final int TB_COMMANDTOINDEX = 0x419;
- public static final int TB_DELETEBUTTON = 0x416;
- public static final int TB_ENDTRACK = 0x8;
- public static final int TB_GETBUTTON = 0x417;
- public static final int TB_GETBUTTONINFO = IsUnicode ? 0x43f : 0x441;
- public static final int TB_GETBUTTONSIZE = 0x43a;
- public static final int TB_GETBUTTONTEXT = IsUnicode ? 0x44b : 0x42d;
- public static final int TB_GETDISABLEDIMAGELIST = 0x437;
- public static final int TB_GETHOTIMAGELIST = 0x435;
- public static final int TB_GETHOTITEM = 0x0400 + 71;
- public static final int TB_GETIMAGELIST = 0x431;
- public static final int TB_GETITEMRECT = 0x41d;
- public static final int TB_GETROWS = 0x428;
- public static final int TB_GETSTATE = 0x412;
- public static final int TB_GETTOOLTIPS = 0x423;
- public static final int TB_INSERTBUTTON = IsUnicode ? 0x443 : 0x415;
- public static final int TB_LOADIMAGES = 0x432;
- public static final int TB_MAPACCELERATOR = 0x0400 + (IsUnicode ? 90 : 78);
- public static final int TB_SETBITMAPSIZE = 0x420;
- public static final int TB_SETBUTTONINFO = IsUnicode ? 0x440 : 0x442;
- public static final int TB_SETBUTTONSIZE = 0x41f;
- public static final int TB_SETDISABLEDIMAGELIST = 0x436;
- public static final int TB_SETEXTENDEDSTYLE = 0x454;
- public static final int TB_SETHOTIMAGELIST = 0x434;
- public static final int TB_SETHOTITEM = 0x0400 + 72;
- public static final int TB_SETIMAGELIST = 0x430;
- public static final int TB_SETROWS = 0x427;
- public static final int TB_SETSTATE = 0x411;
- public static final int TCIF_IMAGE = 0x2;
- public static final int TCIF_TEXT = 0x1;
- public static final int TCI_SRCCHARSET = 0x1;
- public static final int TCI_SRCCODEPAGE = 0x2;
- public static final int TCM_ADJUSTRECT = 0x1328;
- public static final int TCM_DELETEITEM = 0x1308;
- public static final int TCM_GETCURSEL = 0x130b;
- public static final int TCM_GETITEMCOUNT = 0x1304;
- public static final int TCM_GETITEMRECT = 0x130a;
- public static final int TCM_GETTOOLTIPS = 0x132d;
- public static final int TCM_INSERTITEM = IsUnicode ? 0x133e : 0x1307;
- public static final int TCM_SETCURSEL = 0x130c;
- public static final int TCM_SETIMAGELIST = 0x1303;
- public static final int TCM_SETITEM = IsUnicode ? 0x133d : 0x1306;
- public static final int TCN_SELCHANGE = 0xfffffdd9;
- public static final int TCN_SELCHANGING = 0xfffffdd8;
- public static final int TCS_FOCUSNEVER = 0x8000;
- public static final int TCS_MULTILINE = 0x200;
- public static final int TCS_TABS = 0x0;
- public static final int TCS_TOOLTIPS = 0x4000;
- public static final int TME_HOVER = 0x1;
- public static final int TME_LEAVE = 0x2;
- public static final int TME_QUERY = 0x40000000;
- public static final int TMPF_VECTOR = 0x2;
- public static final String TOOLBARCLASSNAME = "ToolbarWindow32";
- public static final String TOOLTIPS_CLASS = "tooltips_class32";
- public static final int TPM_LEFTALIGN = 0x0;
- public static final int TPM_LEFTBUTTON = 0x0;
- public static final int TPM_RIGHTBUTTON = 0x2;
- public static final int TPM_RIGHTALIGN = 0x8;
- public static final String TRACKBAR_CLASS = "msctls_trackbar32";
- public static final int TRANSPARENT = 0x1;
- public static final int TTF_IDISHWND = 0x1;
- public static final int TTF_SUBCLASS = 0x10;
- public static final int TTM_ADDTOOL = IsUnicode ? 0x432 : 0x404;
- public static final int TTM_DELTOOL = IsUnicode ? 0x433 : 0x405;
- public static final int TTM_SETMAXTIPWIDTH = 0x418;
- public static final int TTM_UPDATE = 0x41D;
- public static final int TTN_FIRST = 0xfffffdf8;
- public static final int TTN_GETDISPINFO = IsUnicode ? 0xfffffdee : 0xfffffdf8;
- public static final int TTN_GETDISPINFOW = 0xfffffdee;
- public static final int TTN_GETDISPINFOA = 0xfffffdf8;
- public static final int TTN_POP = TTN_FIRST - 2;
- public static final int TTN_SHOW = TTN_FIRST - 1;
- public static final int TTS_ALWAYSTIP = 0x1;
- public static final int TVE_COLLAPSE = 0x1;
- public static final int TVE_EXPAND = 0x2;
- public static final int TVGN_CARET = 0x9;
- public static final int TVGN_CHILD = 0x4;
- public static final int TVGN_FIRSTVISIBLE = 0x5;
- public static final int TVGN_LASTVISIBLE = 0xa;
- public static final int TVGN_NEXT = 0x1;
- public static final int TVGN_NEXTVISIBLE = 0x6;
- public static final int TVGN_PARENT = 0x3;
- public static final int TVGN_PREVIOUSVISIBLE = 0x7;
- public static final int TVGN_ROOT = 0x0;
- public static final int TVHT_ONITEM = 0x46;
- public static final int TVHT_ONITEMICON = 0x2;
- public static final int TVHT_ONITEMLABEL = 0x4;
- public static final int TVHT_ONITEMSTATEICON = 0x40;
- public static final int TVIF_HANDLE = 0x10;
- public static final int TVIF_IMAGE = 0x2;
- public static final int TVIF_PARAM = 0x4;
- public static final int TVIF_SELECTEDIMAGE = 0x20;
- public static final int TVIF_STATE = 0x8;
- public static final int TVIF_TEXT = 0x1;
- public static final int TVIS_DROPHILITED = 0x8;
- public static final int TVIS_EXPANDED = 0x20;
- public static final int TVIS_SELECTED = 0x2;
- public static final int TVIS_STATEIMAGEMASK = 0xf000;
- public static final int TVI_FIRST = 0xffff0001;
- public static final int TVI_LAST = 0xffff0002;
- public static final int TVI_ROOT = 0xffff0000;
- public static final int TVM_DELETEITEM = 0x1101;
- public static final int TVM_ENSUREVISIBLE = 0x1114;
- public static final int TVM_EXPAND = 0x1102;
- public static final int TVM_GETBKCOLOR = 0x111f;
- public static final int TVM_GETCOUNT = 0x1105;
- public static final int TVM_GETIMAGELIST = 0x1108;
- public static final int TVM_GETITEM = IsUnicode ? 0x113e : 0x110c;
- public static final int TVM_GETITEMHEIGHT = 0x111c;
- public static final int TVM_GETITEMRECT = 0x1104;
- public static final int TVM_GETNEXTITEM = 0x110a;
- public static final int TVM_GETTEXTCOLOR = 0x1120;
- public static final int TVM_GETTOOLTIPS = OS.TV_FIRST + 25;
- public static final int TVM_GETVISIBLECOUNT = OS.TV_FIRST + 16;
- public static final int TVM_HITTEST = 0x1111;
- public static final int TVM_INSERTITEM = IsUnicode ? 0x1132 : 0x1100;
- public static final int TVM_SELECTITEM = 0x110b;
- public static final int TVM_SETBKCOLOR = 0x111d;
- public static final int TVM_SETIMAGELIST = 0x1109;
- public static final int TVM_SETINSERTMARK = 0x111a;
- public static final int TVM_SETITEM = IsUnicode ? 0x113f : 0x110d;
- public static final int TVM_SETTEXTCOLOR = 0x111e;
- public static final int TVN_BEGINDRAG = IsUnicode ? 0xfffffe38 : 0xfffffe69;
- public static final int TVN_BEGINDRAGW = 0xfffffe38;
- public static final int TVN_BEGINDRAGA = 0xfffffe69;
- public static final int TVN_BEGINRDRAG = IsUnicode ? 0xfffffe37 : 0xfffffe68;
- public static final int TVN_BEGINRDRAGW = 0xfffffe37;
- public static final int TVN_BEGINRDRAGA = 0xfffffe68;
- public static final int TVN_FIRST = 0xfffffe70;
- public static final int TVN_ITEMEXPANDING = IsUnicode ? 0xfffffe3a : 0xfffffe6b;
- public static final int TVN_ITEMEXPANDINGW = 0xfffffe3a;
- public static final int TVN_ITEMEXPANDINGA = 0xfffffe6b;
- public static final int TVN_SELCHANGED = IsUnicode ? 0xfffffe3d : 0xfffffe6e;
- public static final int TVN_SELCHANGEDW = 0xfffffe3d;
- public static final int TVN_SELCHANGEDA = 0xfffffe6e;
- public static final int TVN_SELCHANGING = IsUnicode ? 0xfffffe3e : 0xfffffe6f;
- public static final int TVN_SELCHANGINGW = 0xfffffe3e;
- public static final int TVN_SELCHANGINGA = 0xfffffe6f;
- public static final int TVSIL_NORMAL = 0x0;
- public static final int TVSIL_STATE = 0x2;
- public static final int TVS_DISABLEDRAGDROP = 0x10;
- public static final int TVS_FULLROWSELECT = 0x1000;
- public static final int TVS_HASBUTTONS = 0x1;
- public static final int TVS_HASLINES = 0x2;
- public static final int TVS_LINESATROOT = 0x4;
- public static final int TVS_NOTOOLTIPS = 0x80;
- public static final int TVS_SHOWSELALWAYS = 0x20;
- public static final int TV_FIRST = 0x1100;
- public static final int UIS_INITIALIZE = 3;
- public static final int VERTRES = 0xa;
- public static final int VK_BACK = 0x8;
- public static final int VK_CAPITAL = 0x14;
- public static final int VK_CONTROL = 0x11;
- public static final int VK_DECIMAL = 0x6E;
- public static final int VK_DELETE = 0x2e;
- public static final int VK_DIVIDE = 0x6f;
- public static final int VK_DOWN = 0x28;
- public static final int VK_END = 0x23;
- public static final int VK_ESCAPE = 0x1b;
- public static final int VK_F1 = 0x70;
- public static final int VK_F10 = 0x79;
- public static final int VK_F11 = 0x7a;
- public static final int VK_F12 = 0x7b;
- public static final int VK_F2 = 0x71;
- public static final int VK_F3 = 0x72;
- public static final int VK_F4 = 0x73;
- public static final int VK_F5 = 0x74;
- public static final int VK_F6 = 0x75;
- public static final int VK_F7 = 0x76;
- public static final int VK_F8 = 0x77;
- public static final int VK_F9 = 0x78;
- public static final int VK_HOME = 0x24;
- public static final int VK_INSERT = 0x2d;
- public static final int VK_LBUTTON = 0x1;
- public static final int VK_LEFT = 0x25;
- public static final int VK_MBUTTON = 0x4;
- public static final int VK_MENU = 0x12;
- public static final int VK_MULTIPLY = 0x6A;
- public static final int VK_NEXT = 0x22;
- public static final int VK_NUMLOCK = 0x90;
- public static final int VK_NUMPAD0 = 0x60;
- public static final int VK_NUMPAD1 = 0x61;
- public static final int VK_NUMPAD2 = 0x62;
- public static final int VK_NUMPAD3 = 0x63;
- public static final int VK_NUMPAD4 = 0x64;
- public static final int VK_NUMPAD5 = 0x65;
- public static final int VK_NUMPAD6 = 0x66;
- public static final int VK_NUMPAD7 = 0x67;
- public static final int VK_NUMPAD8 = 0x68;
- public static final int VK_NUMPAD9 = 0x69;
- public static final int VK_PRIOR = 0x21;
- public static final int VK_RBUTTON = 0x2;
- public static final int VK_RETURN = 0xd;
- public static final int VK_RIGHT = 0x27;
- public static final int VK_SCROLL = 0x91;
- public static final int VK_SEPARATOR = 0x6C;
- public static final int VK_SHIFT = 0x10;
- public static final int VK_SPACE = 0x20;
- public static final int VK_SUBTRACT = 0x6D;
- public static final int VK_TAB = 0x9;
- public static final int VK_UP = 0x26;
- public static final int VK_ADD = 0x6B;
- public static final int VK_APP1 = 0xc1;
- public static final int VK_APP2 = 0xc2;
- public static final int VK_APP3 = 0xc3;
- public static final int VK_APP4 = 0xc4;
- public static final int VK_APP5 = 0xc5;
- public static final int VK_APP6 = 0xc6;
- public static final String WC_LISTVIEW = "SysListView32";
- public static final String WC_TABCONTROL = "SysTabControl32";
- public static final String WC_TREEVIEW = "SysTreeView32";
- public static final int WH_GETMESSAGE = 0x3;
- public static final int WH_MSGFILTER = 0xFFFFFFFF;
- public static final int WHEEL_DELTA = 120;
- public static final int WHEEL_PAGESCROLL = 0xFFFFFFFF;
- public static final int WM_ACTIVATE = 0x6;
- public static final int WM_ACTIVATEAPP = 0x1c;
- public static final int WM_APP = 0x8000;
- public static final int WM_CANCELMODE = 0x1f;
- public static final int WM_CHANGEUISTATE = 0x0127;
- public static final int WM_CHAR = 0x102;
- public static final int WM_CLEAR = 0x303;
- public static final int WM_CLOSE = 0x10;
- public static final int WM_COMMAND = 0x111;
- public static final int WM_CONTEXTMENU = 0x7b;
- public static final int WM_COPY = 0x301;
- public static final int WM_CTLCOLORBTN = 0x135;
- public static final int WM_CTLCOLORDLG = 0x136;
- public static final int WM_CTLCOLOREDIT = 0x133;
- public static final int WM_CTLCOLORLISTBOX = 0x134;
- public static final int WM_CTLCOLORMSGBOX = 0x132;
- public static final int WM_CTLCOLORSCROLLBAR = 0x137;
- public static final int WM_CTLCOLORSTATIC = 0x138;
- public static final int WM_CUT = 0x300;
- public static final int WM_DESTROY = 0x2;
- public static final int WM_DRAWITEM = 0x2b;
- public static final int WM_ENDSESSION = 0x16;
- public static final int WM_ERASEBKGND = 0x14;
- public static final int WM_GETDLGCODE = 0x87;
- public static final int WM_GETFONT = 0x31;
-// public static final int WM_GETICON = 0x7f;
- public static final int WM_GETOBJECT = 0x003D;
- public static final int WM_HELP = 0x53;
- public static final int WM_HOTKEY = 0x0312;
- public static final int WM_HSCROLL = 0x114;
- public static final int WM_IME_CHAR = 0x286;
- public static final int WM_IME_COMPOSITION = 0x10f;
- public static final int WM_INITDIALOG = 0x110;
- public static final int WM_INITMENUPOPUP = 0x117;
- public static final int WM_KEYDOWN = 0x100;
- public static final int WM_KEYFIRST = 0x100;
- public static final int WM_KEYLAST = 0x108;
- public static final int WM_KEYUP = 0x101;
- public static final int WM_KILLFOCUS = 0x8;
- public static final int WM_LBUTTONDBLCLK = 0x203;
- public static final int WM_LBUTTONDOWN = 0x201;
- public static final int WM_LBUTTONUP = 0x202;
- public static final int WM_MBUTTONDBLCLK = 0x209;
- public static final int WM_MBUTTONDOWN = 0x207;
- public static final int WM_MBUTTONUP = 0x208;
- public static final int WM_MEASUREITEM = 0x2c;
- public static final int WM_MENUCHAR = 0x120;
- public static final int WM_MENUSELECT = 0x11f;
- public static final int WM_MOUSEACTIVATE = 0x21;
- public static final int WM_MOUSEFIRST = 0x200;
- public static final int WM_MOUSEHOVER = 0x2a1;
- public static final int WM_MOUSELEAVE = 0x2a3;
- public static final int WM_MOUSEMOVE = 0x200;
- public static final int WM_MOUSEWHEEL = 0x20a;
- public static final int WM_MOUSELAST = 0x20d;
- public static final int WM_MOVE = 0x3;
- public static final int WM_NCACTIVATE = 0x86;
- public static final int WM_NCCALCSIZE = 0x83;
- public static final int WM_NCHITTEST = 0x84;
- public static final int WM_NOTIFY = 0x4e;
- public static final int WM_NULL = 0x0;
- public static final int WM_PAINT = 0xf;
- public static final int WM_PALETTECHANGED = 0x311;
- public static final int WM_PASTE = 0x302;
- public static final int WM_PRINTCLIENT = 0x0318;
- public static final int WM_QUERYENDSESSION = 0x11;
- public static final int WM_QUERYNEWPALETTE = 0x30f;
- public static final int WM_QUERYOPEN = 0x13;
- public static final int WM_RBUTTONDBLCLK = 0x206;
- public static final int WM_RBUTTONDOWN = 0x204;
- public static final int WM_RBUTTONUP = 0x205;
- public static final int WM_SETCURSOR = 0x20;
- public static final int WM_SETFOCUS = 0x7;
- public static final int WM_SETFONT = 0x30;
- public static final int WM_SETICON = 0x80;
- public static final int WM_SETREDRAW = 0xb;
- public static final int WM_SETTINGCHANGE = 0x1A;
- public static final int WM_SHOWWINDOW = 0x18;
- public static final int WM_SIZE = 0x5;
- public static final int WM_SYSCHAR = 0x106;
- public static final int WM_SYSCOLORCHANGE = 0x15;
- public static final int WM_SYSCOMMAND = 0x112;
- public static final int WM_SYSKEYDOWN = 0x104;
- public static final int WM_SYSKEYUP = 0x105;
- public static final int WM_TIMER = 0x113;
- public static final int WM_UNDO = 0x304;
- public static final int WM_USER = 0x400;
- public static final int WM_VSCROLL = 0x115;
- public static final int WM_WINDOWPOSCHANGING = 0x46;
- public static final int WS_BORDER = 0x800000;
- public static final int WS_CAPTION = 0xc00000;
- public static final int WS_CHILD = 0x40000000;
- public static final int WS_CLIPCHILDREN = 0x2000000;
- public static final int WS_CLIPSIBLINGS = 0x4000000;
- public static final int WS_EX_CAPTIONOKBTN = 0x80000000;
- public static final int WS_EX_CLIENTEDGE = 0x200;
- public static final int WS_EX_DLGMODALFRAME = 0x1;
- public static final int WS_EX_LAYOUTRTL = 0x00400000;
- public static final int WS_EX_NOINHERITLAYOUT = 0x00100000;
- public static final int WS_EX_STATICEDGE = 0x20000;
- public static final int WS_EX_TOOLWINDOW = 0x80;
- public static final int WS_EX_TOPMOST = 0x8;
- public static final int WS_EX_TRANSPARENT = 0x20;
- public static final int WS_HSCROLL = 0x100000;
- public static final int WS_MAXIMIZEBOX = OS.IsWinCE ? 0x20000 : 0x10000;
- public static final int WS_MINIMIZEBOX = OS.IsWinCE ? 0x10000 : 0x20000;
- public static final int WS_OVERLAPPED = OS.IsWinCE ? WS_BORDER | WS_CAPTION : 0x0;
- public static final int WS_OVERLAPPEDWINDOW = 0xcf0000;
- public static final int WS_POPUP = 0x80000000;
- public static final int WS_SYSMENU = 0x80000;
- public static final int WS_TABSTOP = 0x10000;
- public static final int WS_THICKFRAME = 0x40000;
- public static final int WS_VISIBLE = 0x10000000;
- public static final int WS_VSCROLL = 0x200000;
-
-/** Ansi/Unicode wrappers */
-
-public static final int CallWindowProc (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam) {
- if (IsUnicode) return CallWindowProcW (lpPrevWndFunc, hWnd, Msg, wParam, lParam);
- return CallWindowProcA (lpPrevWndFunc, hWnd, Msg, wParam, lParam);
-}
-
-public static final short CharUpper (short ch) {
- if (IsUnicode) return CharUpperW (ch);
- return CharUpperA (ch);
-}
-
-public static final short CharLower (short ch) {
- if (IsUnicode) return CharLowerW (ch);
- return CharLowerA (ch);
-}
-
-public static final boolean ChooseColor (CHOOSECOLOR lpcc) {
- if (IsUnicode) return ChooseColorW (lpcc);
- return ChooseColorA (lpcc);
-}
-
-public static final boolean ChooseFont (CHOOSEFONT chooseFont) {
- if (IsUnicode) return ChooseFontW (chooseFont);
- return ChooseFontA (chooseFont);
-}
-
-public static final int CreateAcceleratorTable (byte [] lpaccl, int cEntries) {
- if (IsUnicode) return CreateAcceleratorTableW (lpaccl, cEntries);
- return CreateAcceleratorTableA (lpaccl, cEntries);
-}
-
-public static final int CreateDC (TCHAR lpszDriver, TCHAR lpszDevice, int lpszOutput, int lpInitData) {
- if (IsUnicode) {
- char [] lpszDriver1 = lpszDriver == null ? null : lpszDriver.chars;
- char [] lpszDevice1 = lpszDevice == null ? null : lpszDevice.chars;
- return CreateDCW (lpszDriver1, lpszDevice1, lpszOutput, lpInitData);
- }
- byte [] lpszDriver1 = lpszDriver == null ? null : lpszDriver.bytes;
- byte [] lpszDevice1 = lpszDevice == null ? null : lpszDevice.bytes;
- return CreateDCA (lpszDriver1, lpszDevice1, lpszOutput, lpInitData);
-}
-
-public static final int CreateFontIndirect (int lplf) {
- if (IsUnicode) return CreateFontIndirectW (lplf);
- return CreateFontIndirectA (lplf);
-}
-
-public static final int CreateFontIndirect (LOGFONT lplf) {
- if (IsUnicode) return CreateFontIndirectW (lplf);
- return CreateFontIndirectA (lplf);
-}
-
-public static final int CreateWindowEx (int dwExStyle, TCHAR lpClassName, TCHAR lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam) {
- if (IsUnicode) {
- char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars;
- char [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.chars;
- return CreateWindowExW (dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
- }
- byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes;
- byte [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.bytes;
- return CreateWindowExA (dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
-}
-
-public static final int DefWindowProc (int hWnd, int Msg, int wParam, int lParam) {
- if (IsUnicode) return DefWindowProcW (hWnd, Msg, wParam, lParam);
- return DefWindowProcA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int DispatchMessage (MSG lpmsg) {
- if (IsUnicode) return DispatchMessageW (lpmsg);
- return DispatchMessageA (lpmsg);
-}
-
-public static final int DragQueryFile (int hDrop, int iFile, TCHAR lpszFile, int cch) {
- if (IsUnicode) {
- char [] lpszFile1 = lpszFile == null ? null : lpszFile.chars;
- return DragQueryFileW (hDrop, iFile, lpszFile1, cch);
- }
- byte [] lpszFile1 = lpszFile == null ? null : lpszFile.bytes;
- return DragQueryFileA (hDrop, iFile, lpszFile1, cch);
-}
-
-public static final boolean DrawState (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags) {
- if (IsUnicode) return DrawStateW (hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags);
- return DrawStateA (hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags);
-}
-
-public static final int DrawText (int hDC, TCHAR lpString, int nCount, RECT lpRect, int uFormat) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return DrawTextW (hDC, lpString1, nCount, lpRect, uFormat);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return DrawTextA (hDC, lpString1, nCount, lpRect, uFormat);
-}
-
-public static final int EnumFontFamilies (int hdc, TCHAR lpszFamily, int lpEnumFontFamProc, int lParam) {
- if (IsUnicode) {
- char [] lpszFamily1 = lpszFamily == null ? null : lpszFamily.chars;
- return EnumFontFamiliesW (hdc, lpszFamily1, lpEnumFontFamProc, lParam);
- }
- byte [] lpszFamily1 = lpszFamily == null ? null : lpszFamily.bytes;
- return EnumFontFamiliesA (hdc, lpszFamily1, lpEnumFontFamProc, lParam);
-}
-
-public static final boolean EnumSystemLocales (int lpLocaleEnumProc, int dwFlags) {
- if (IsUnicode) return EnumSystemLocalesW (lpLocaleEnumProc, dwFlags);
- return EnumSystemLocalesA (lpLocaleEnumProc, dwFlags);
-}
-
-public static final boolean EnumSystemLanguageGroups (int pLangGroupEnumProc, int dwFlags, int lParam) {
- if (IsUnicode) return EnumSystemLanguageGroupsW (pLangGroupEnumProc, dwFlags, lParam);
- return EnumSystemLanguageGroupsA (pLangGroupEnumProc, dwFlags, lParam);
-}
-
-public static final int ExpandEnvironmentStrings (TCHAR lpSrc, TCHAR lpDst, int nSize) {
- if (IsUnicode) {
- char [] lpSrc1 = lpSrc == null ? null : lpSrc.chars;
- char [] lpDst1 = lpDst == null ? null : lpDst.chars;
- return ExpandEnvironmentStringsW (lpSrc1, lpDst1, nSize);
- }
- byte [] lpSrc1 = lpSrc == null ? null : lpSrc.bytes;
- byte [] lpDst1 = lpDst == null ? null : lpDst.bytes;
- return ExpandEnvironmentStringsA (lpSrc1, lpDst1, nSize);
-}
-
-public static final int ExtractIconEx (TCHAR lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons) {
- if (IsUnicode) {
- char [] lpszFile1 = lpszFile == null ? null : lpszFile.chars;
- return ExtractIconExW (lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons);
- }
- byte [] lpszFile1 = lpszFile == null ? null : lpszFile.bytes;
- return ExtractIconExA (lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons);
-}
-
-public static final boolean ExtTextOut(int hdc, int X, int Y, int fuOptions, RECT lprc, TCHAR lpString, int cbCount, int[] lpDx) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return ExtTextOutW (hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return ExtTextOutA (hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx);
-}
-
-public static final int FindWindow (TCHAR lpClassName, TCHAR lpWindowName) {
- if (IsUnicode) {
- char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars;
- char [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.chars;
- return FindWindowW (lpClassName1, lpWindowName1);
- }
- byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes;
- byte [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.bytes;
- return FindWindowA (lpClassName1, lpWindowName1);
-}
-
-public static final boolean GetCharABCWidths (int hdc, int iFirstChar, int iLastChar, int [] lpabc) {
- if (IsUnicode) return GetCharABCWidthsW (hdc,iFirstChar, iLastChar, lpabc);
- return GetCharABCWidthsA (hdc,iFirstChar, iLastChar, lpabc);
-}
-
-public static final int GetCharacterPlacement (int hdc, TCHAR lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return GetCharacterPlacementW (hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return GetCharacterPlacementA (hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags);
-}
-
-public static final boolean GetCharWidth (int hdc, int iFirstChar, int iLastChar, int [] lpabc) {
- if (IsUnicode) return GetCharWidthW (hdc,iFirstChar, iLastChar, lpabc);
- return GetCharWidthA (hdc,iFirstChar, iLastChar, lpabc);
-}
-
-public static final boolean GetClassInfo (int hInstance, TCHAR lpClassName, WNDCLASS lpWndClass) {
- if (IsUnicode) {
- char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars;
- return GetClassInfoW (hInstance, lpClassName1, lpWndClass);
- }
- byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes;
- return GetClassInfoA (hInstance, lpClassName1, lpWndClass);
-}
-
-public static final int GetClipboardFormatName (int format, TCHAR lpszFormatName, int cchMaxCount) {
- if (IsUnicode) {
- char [] lpszFormatName1 = lpszFormatName == null ? null : lpszFormatName.chars;
- return GetClipboardFormatNameW (format, lpszFormatName1, cchMaxCount);
- }
- byte [] lpszFormatName1 = lpszFormatName == null ? null : lpszFormatName.bytes;
- return GetClipboardFormatNameA (format, lpszFormatName1, cchMaxCount);
-}
-
-public static final int GetKeyNameText (int lParam, TCHAR lpString, int nSize) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return GetKeyNameTextW (lParam, lpString1, nSize);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return GetKeyNameTextA (lParam, lpString1, nSize);
-}
-
-public static final int GetLocaleInfo (int Locale, int LCType, TCHAR lpLCData, int cchData) {
- if (IsUnicode) {
- char [] lpLCData1 = lpLCData == null ? null : lpLCData.chars;
- return GetLocaleInfoW (Locale, LCType, lpLCData1, cchData);
- }
- byte [] lpLCData1 = lpLCData == null ? null : lpLCData.bytes;
- return GetLocaleInfoA (Locale, LCType, lpLCData1, cchData);
-}
-
-public static final boolean GetMenuItemInfo (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) {
- if (IsUnicode) return GetMenuItemInfoW (hMenu, uItem, fByPosition, lpmii);
- return GetMenuItemInfoA (hMenu, uItem, fByPosition, lpmii);
-}
-
-public static final boolean GetMessage (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax) {
- if (IsUnicode) return GetMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
- return GetMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
-}
-
-public static final int GetModuleHandle (TCHAR lpModuleName) {
- if (IsUnicode) {
- char [] lpModuleName1 = lpModuleName == null ? null : lpModuleName.chars;
- return GetModuleHandleW (lpModuleName1);
- }
- byte [] lpModuleName1 = lpModuleName == null ? null : lpModuleName.bytes;
- return GetModuleHandleA (lpModuleName1);
-}
-
-public static final int GetObject (int hgdiobj, int cbBuffer, BITMAP lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
-public static final int GetObject (int hgdiobj, int cbBuffer, DIBSECTION lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
-public static final int GetObject (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
-public static final int GetObject (int hgdiobj, int cbBuffer, LOGFONT lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
-public static final int GetObject (int hgdiobj, int cbBuffer, LOGPEN lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
-public static final boolean GetOpenFileName (OPENFILENAME lpofn) {
- if (IsUnicode) return GetOpenFileNameW (lpofn);
- return GetOpenFileNameA (lpofn);
-}
-
-public static final int GetProfileString (TCHAR lpAppName, TCHAR lpKeyName, TCHAR lpDefault, TCHAR lpReturnedString, int nSize) {
- if (IsUnicode) {
- char [] lpAppName1 = lpAppName == null ? null : lpAppName.chars;
- char [] lpKeyName1 = lpKeyName == null ? null : lpKeyName.chars;
- char [] lpDefault1 = lpDefault == null ? null : lpDefault.chars;
- char [] lpReturnedString1 = lpReturnedString == null ? null : lpReturnedString.chars;
- return GetProfileStringW (lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize);
- }
- byte [] lpAppName1 = lpAppName == null ? null : lpAppName.bytes;
- byte [] lpKeyName1 = lpKeyName == null ? null : lpKeyName.bytes;
- byte [] lpDefault1 = lpDefault == null ? null : lpDefault.bytes;
- byte [] lpReturnedString1 = lpReturnedString == null ? null : lpReturnedString.bytes;
- return GetProfileStringA (lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize);
-}
-
-public static final boolean GetSaveFileName (OPENFILENAME lpofn) {
- if (IsUnicode) return GetSaveFileNameW (lpofn);
- return GetSaveFileNameA (lpofn);
-}
-
-public static final boolean GetTextExtentPoint32 (int hdc, TCHAR lpString, int cbString, SIZE lpSize) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return GetTextExtentPoint32W (hdc, lpString1, cbString, lpSize);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return GetTextExtentPoint32A (hdc, lpString1, cbString, lpSize);
-}
-
-public static final boolean GetTextMetrics (int hdc, TEXTMETRIC lptm) {
- if (IsUnicode) return GetTextMetricsW (hdc, lptm);
- return GetTextMetricsA (hdc, lptm);
-}
-
-public static final boolean GetVersionEx (OSVERSIONINFO lpVersionInfo) {
- if (IsUnicode) return GetVersionExW (lpVersionInfo);
- return GetVersionExA (lpVersionInfo);
-}
-
-public static final int GetWindowLong (int hWnd, int nIndex) {
- if (IsUnicode) return GetWindowLongW (hWnd, nIndex);
- return GetWindowLongA (hWnd, nIndex);
-}
-
-public static final int GetWindowText (int hWnd, TCHAR lpString, int nMaxCount) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return GetWindowTextW (hWnd, lpString1, nMaxCount);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return GetWindowTextA (hWnd, lpString1, nMaxCount);
-}
-
-public static final int GetWindowTextLength (int hWnd) {
- if (IsUnicode) return GetWindowTextLengthW (hWnd);
- return GetWindowTextLengthA (hWnd);
-}
-
-public static final boolean ImmGetCompositionFont (int hIMC, LOGFONT lplf) {
- if (IsUnicode) return ImmGetCompositionFontW (hIMC, lplf);
- return ImmGetCompositionFontA (hIMC, lplf);
-}
-
-public static final boolean ImmSetCompositionFont (int hIMC, LOGFONT lplf) {
- if (IsUnicode) return ImmSetCompositionFontW (hIMC, lplf);
- return ImmSetCompositionFontA (hIMC, lplf);
-}
-
-public static final int ImmGetCompositionString (int hIMC, int dwIndex, TCHAR lpBuf, int dwBufLen) {
- if (IsUnicode) {
- char [] lpBuf1 = lpBuf == null ? null : lpBuf.chars;
- return ImmGetCompositionStringW (hIMC, dwIndex, lpBuf1, dwBufLen);
- }
- byte [] lpBuf1 = lpBuf == null ? null : lpBuf.bytes;
- return ImmGetCompositionStringA (hIMC, dwIndex, lpBuf1, dwBufLen);
-}
-
-public static final boolean InsertMenu (int hMenu, int uPosition, int uFlags, int uIDNewItem, TCHAR lpNewItem) {
- if (IsUnicode) {
- char [] lpNewItem1 = lpNewItem == null ? null : lpNewItem.chars;
- return InsertMenuW (hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1);
- }
- byte [] lpNewItem1 = lpNewItem == null ? null : lpNewItem.bytes;
- return InsertMenuA (hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1);
-}
-
-public static final boolean InsertMenuItem (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) {
- if (IsUnicode) return InsertMenuItemW (hMenu, uItem, fByPosition, lpmii);
- return InsertMenuItemA (hMenu, uItem, fByPosition, lpmii);
-}
-
-public static final int LoadBitmap (int hInstance, int lpBitmapName) {
- if (IsUnicode) return LoadBitmapW (hInstance, lpBitmapName);
- return LoadBitmapA (hInstance, lpBitmapName);
-}
-
-public static final int LoadCursor (int hInstance, int lpCursorName) {
- if (IsUnicode) return LoadCursorW (hInstance, lpCursorName);
- return LoadCursorA (hInstance, lpCursorName);
-}
-
-public static final int LoadIcon (int hInstance, int lpIconName) {
- if (IsUnicode) return LoadIconW (hInstance, lpIconName);
- return LoadIconA (hInstance, lpIconName);
-}
-
-public static final int LoadImage (int hinst, TCHAR lpszName, int uType, int cxDesired, int cyDesired, int fuLoad) {
- if (IsUnicode) {
- char [] lpszName1 = lpszName == null ? null : lpszName.chars;
- return LoadImageW (hinst, lpszName1, uType, cxDesired, cyDesired, fuLoad);
- }
- byte [] lpszName1 = lpszName == null ? null : lpszName.bytes;
- return LoadImageA (hinst, lpszName1, uType, cxDesired, cyDesired, fuLoad);
-}
-
-public static final int LoadLibrary (TCHAR lpLibFileName) {
- if (IsUnicode) {
- char [] lpLibFileName1 = lpLibFileName == null ? null : lpLibFileName.chars;
- return LoadLibraryW (lpLibFileName1);
- }
- byte [] lpLibFileName1 = lpLibFileName == null ? null : lpLibFileName.bytes;
- return LoadLibraryA (lpLibFileName1);
-}
-
-public static final int MapVirtualKey (int uCode, int uMapType) {
- if (IsUnicode) return MapVirtualKeyW (uCode, uMapType);
- return MapVirtualKeyA (uCode, uMapType);
-}
-
-public static final int MessageBox (int hWnd, TCHAR lpText, TCHAR lpCaption, int uType) {
- if (IsUnicode) {
- char [] lpText1 = lpText == null ? null : lpText.chars;
- char [] lpCaption1 = lpCaption == null ? null : lpCaption.chars;
- return MessageBoxW (hWnd, lpText1, lpCaption1, uType);
- }
- byte [] lpText1 = lpText == null ? null : lpText.bytes;
- byte [] lpCaption1 = lpCaption == null ? null : lpCaption.bytes;
- return MessageBoxA (hWnd, lpText1, lpCaption1, uType);
-}
-
-public static final void MoveMemory (int Destination, TCHAR Source, int Length) {
- if (IsUnicode) {
- char [] Source1 = Source == null ? null : Source.chars;
- MoveMemory (Destination, Source1, Length);
- } else {
- byte [] Source1 = Source == null ? null : Source.bytes;
- MoveMemory (Destination, Source1, Length);
- }
-}
-
-public static final void MoveMemory (TCHAR Destination, int Source, int Length) {
- if (IsUnicode) {
- char [] Destination1 = Destination == null ? null : Destination.chars;
- MoveMemory (Destination1, Source, Length);
- } else {
- byte [] Destination1 = Destination == null ? null : Destination.bytes;
- MoveMemory (Destination1, Source, Length);
- }
-}
-
-public static final void MoveMemory (int Destination, LOGFONT Source, int Length) {
- if (IsUnicode) {
- MoveMemoryW (Destination, Source, Length);
- } else {
- MoveMemoryA (Destination, Source, Length);
- }
-}
-
-public static final void MoveMemory (LOGFONT Destination, int Source, int Length) {
- if (IsUnicode) {
- MoveMemoryW (Destination, Source, Length);
- } else {
- MoveMemoryA (Destination, Source, Length);
- }
-}
-
-public static final void MoveMemory (int Destination, NMTTDISPINFO Source, int Length) {
- if (IsUnicode) {
- MoveMemoryW (Destination, Source, Length);
- } else {
- MoveMemoryA (Destination, Source, Length);
- }
-}
-
-public static final void MoveMemory (NMTTDISPINFO Destination, int Source, int Length) {
- if (IsUnicode) {
- MoveMemoryW (Destination, Source, Length);
- } else {
- MoveMemoryA (Destination, Source, Length);
- }
-}
-
-public static final boolean PeekMessage (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg) {
- if (IsUnicode) return PeekMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
- return PeekMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
-}
-
-public static final boolean PostMessage (int hWnd, int Msg, int wParam, int lParam) {
- if (IsUnicode) return PostMessageW (hWnd, Msg, wParam, lParam);
- return PostMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final boolean PostThreadMessage (int idThread, int Msg, int wParam, int lParam) {
- if (IsUnicode) return PostThreadMessageW (idThread, Msg, wParam, lParam);
- return PostThreadMessageA (idThread, Msg, wParam, lParam);
-}
-
-public static final boolean PrintDlg (PRINTDLG lppd) {
- if (IsUnicode) return PrintDlgW (lppd);
- return PrintDlgA (lppd);
-}
-
-public static final int RegEnumKeyEx (int hKey, int dwIndex, TCHAR lpName, int [] lpcName, int [] lpReserved, TCHAR lpClass, int [] lpcClass, FILETIME lpftLastWriteTime) {
- if (IsUnicode) {
- char [] lpName1 = lpName == null ? null : lpName.chars;
- char [] lpClass1 = lpClass == null ? null : lpClass.chars;
- return RegEnumKeyExW (hKey, dwIndex, lpName1, lpcName, lpReserved, lpClass1, lpcClass, lpftLastWriteTime);
- }
- byte [] lpName1 = lpName == null ? null : lpName.bytes;
- byte [] lpClass1 = lpClass == null ? null : lpClass.bytes;
- return RegEnumKeyExA (hKey, dwIndex, lpName1, lpcName, lpReserved, lpClass1, lpcClass, lpftLastWriteTime);
-}
-
-public static final int RegisterClass (WNDCLASS lpWndClass) {
- if (IsUnicode) return RegisterClassW (lpWndClass);
- return RegisterClassA (lpWndClass);
-}
-
-public static final int RegisterClipboardFormat (TCHAR lpszFormat) {
- if (IsUnicode) {
- char [] lpszFormat1 = lpszFormat == null ? null : lpszFormat.chars;
- return RegisterClipboardFormatW (lpszFormat1);
- }
- byte [] lpszFormat1 = lpszFormat == null ? null : lpszFormat.bytes;
- return RegisterClipboardFormatA (lpszFormat1);
-}
-
-public static final int RegOpenKeyEx (int hKey, TCHAR lpSubKey, int ulOptions, int samDesired, int[] phkResult) {
- if (IsUnicode) {
- char [] lpSubKey1 = lpSubKey == null ? null : lpSubKey.chars;
- return RegOpenKeyExW (hKey, lpSubKey1, ulOptions, samDesired, phkResult);
- }
- byte [] lpSubKey1 = lpSubKey == null ? null : lpSubKey.bytes;
- return RegOpenKeyExA (hKey, lpSubKey1, ulOptions, samDesired, phkResult);
-}
-
-public static final int RegQueryInfoKey (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime){
- if (IsUnicode) return RegQueryInfoKeyW (hKey, lpClass, lpcbClass, lpReserved, lpSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime);
- return RegQueryInfoKeyA (hKey, lpClass, lpcbClass, lpReserved, lpSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime);
-}
-
-public static final int RegQueryValueEx (int hKey, TCHAR lpValueName, int lpReserved, int[] lpType, TCHAR lpData, int[] lpcbData) {
- if (IsUnicode) {
- char [] lpValueName1 = lpValueName == null ? null : lpValueName.chars;
- char [] lpData1 = lpData == null ? null : lpData.chars;
- return RegQueryValueExW (hKey, lpValueName1, lpReserved, lpType, lpData1, lpcbData);
- }
- byte [] lpValueName1 = lpValueName == null ? null : lpValueName.bytes;
- byte [] lpData1 = lpData == null ? null : lpData.bytes;
- return RegQueryValueExA (hKey, lpValueName1, lpReserved, lpType, lpData1, lpcbData);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TCHAR lParam) {
- if (IsUnicode) {
- char [] lParam1 = lParam == null ? null : lParam.chars;
- return SendMessageW (hWnd, Msg, wParam, lParam1);
- }
- byte [] lParam1 = lParam == null ? null : lParam.bytes;
- return SendMessageA (hWnd, Msg, wParam, lParam1);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int [] wParam, int [] lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int [] wParam, int lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, int [] lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, short [] lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, int lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, LVCOLUMN lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, LVITEM lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, REBARBANDINFO lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, RECT lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TBBUTTON lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TCITEM lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TOOLINFO lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final int SendMessage (int hWnd, int Msg, int wParam, TVITEM lParam) {
- if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam);
- return SendMessageA (hWnd, Msg, wParam, lParam);
-}
-
-public static final boolean SetMenuItemInfo (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) {
- if (IsUnicode) return SetMenuItemInfoW (hMenu, uItem, fByPosition, lpmii);
- return SetMenuItemInfoA (hMenu, uItem, fByPosition, lpmii);
-}
-
-public static final int SetWindowLong (int hWnd, int nIndex, int dwNewLong) {
- if (IsUnicode) return SetWindowLongW (hWnd, nIndex, dwNewLong);
- return SetWindowLongA (hWnd, nIndex, dwNewLong);
-}
-
-public static final int SetWindowsHookEx (int idHook, int lpfn, int hMod, int dwThreadId) {
- if (IsUnicode) return SetWindowsHookExW (idHook, lpfn, hMod, dwThreadId);
- return SetWindowsHookExA (idHook, lpfn, hMod, dwThreadId);
-}
-
-public static final boolean SetWindowText (int hWnd, TCHAR lpString) {
- if (IsUnicode) {
- char [] lpString1 = lpString == null ? null : lpString.chars;
- return SetWindowTextW (hWnd, lpString1);
- }
- byte [] lpString1 = lpString == null ? null : lpString.bytes;
- return SetWindowTextA (hWnd, lpString1);
-}
-
-public static final int SHBrowseForFolder (BROWSEINFO lpbi) {
- if (IsUnicode) return SHBrowseForFolderW (lpbi);
- return SHBrowseForFolderA (lpbi);
-}
-
-public static final boolean ShellExecuteEx (SHELLEXECUTEINFO lpExecInfo) {
- if (IsUnicode) return ShellExecuteExW (lpExecInfo);
- return ShellExecuteExA (lpExecInfo);
-}
-
-public static final boolean SHGetPathFromIDList (int pidl, TCHAR pszPath) {
- if (IsUnicode) {
- char [] pszPath1 = pszPath == null ? null : pszPath.chars;
- return SHGetPathFromIDListW (pidl, pszPath1);
- }
- byte [] pszPath1 = pszPath == null ? null : pszPath.bytes;
- return SHGetPathFromIDListA (pidl, pszPath1);
-}
-
-public static final int StartDoc (int hdc, DOCINFO lpdi) {
- if (IsUnicode) return StartDocW (hdc, lpdi);
- return StartDocA (hdc, lpdi);
-}
-
-public static final boolean SystemParametersInfo (int uiAction, int uiParam, RECT pvParam, int fWinIni) {
- if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni);
- return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni);
-}
-
-public static final boolean SystemParametersInfo (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni) {
- if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni);
- return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni);
-}
-
-public static final boolean SystemParametersInfo (int uiAction, int uiParam, int[] pvParam, int fWinIni) {
- if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni);
- return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni);
-}
-
-public static final int TranslateAccelerator (int hWnd, int hAccTable, MSG lpMsg) {
- if (IsUnicode) return TranslateAcceleratorW (hWnd, hAccTable, lpMsg);
- return TranslateAcceleratorA (hWnd, hAccTable, lpMsg);
-}
-
-public static final boolean UnregisterClass (TCHAR lpClassName, int hInstance) {
- if (IsUnicode) {
- char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars;
- return UnregisterClassW (lpClassName1, hInstance);
- }
- byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes;
- return UnregisterClassA (lpClassName1, hInstance);
-}
-
-public static final short VkKeyScan (short ch) {
- if (IsUnicode) return VkKeyScanW (ch);
- return VkKeyScanA (ch);
-}
-
-/** Natives */
-public static final native int AbortDoc (int hdc);
-public static final native int ActivateKeyboardLayout(int hkl, int Flags);
-public static final native boolean AdjustWindowRectEx (RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle);
-public static final native boolean Arc (int hdc,int nLeftRect,int nTopRect,int nRightRect,int nBottomRect,int nXStartArc,int nYStartArc,int nXEndArc,int nYEndArc);
-public static final native int BeginDeferWindowPos (int nNumWindows);
-public static final native int BeginPaint (int hWnd, PAINTSTRUCT lpPaint);
-public static final native boolean BitBlt (int hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,int hdcSrc,int nXSrc,int nYSrc,int dwRop);
-public static final native boolean BringWindowToTop (int hWnd);
-public static final native int Call (int address, DLLVERSIONINFO arg0);
-public static final native int CallNextHookEx(int hhk, int nCode, int wParam, int lParam);
-public static final native int CallWindowProcW (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam);
-public static final native int CallWindowProcA (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam);
-public static final native short CharLowerW (short ch);
-public static final native short CharLowerA (short ch);
-public static final native short CharUpperW (short ch);
-public static final native short CharUpperA (short ch);
-public static final native boolean CheckMenuItem (int hmenu, int uIDCheckItem, int uCheck);
-public static final native boolean ChooseColorW (CHOOSECOLOR lpcc);
-public static final native boolean ChooseColorA (CHOOSECOLOR lpcc);
-public static final native boolean ChooseFontW (CHOOSEFONT chooseFont);
-public static final native boolean ChooseFontA (CHOOSEFONT chooseFont);
-public static final native boolean ClientToScreen (int hWnd, POINT lpPoint);
-public static final native boolean CloseClipboard ();
-public static final native int CombineRgn (int hrgnDest, int hrgnSrc1, int hrgnSrc2, int fnCombineMode);
-public static final native boolean CommandBar_AddAdornments (int hwndCB, int dwFlags, int dwReserved);
-public static final native int CommandBar_Create (int hInst, int hwndParent, int idCmdBar);
-public static final native void CommandBar_Destroy (int hwndCB);
-public static final native boolean CommandBar_DrawMenuBar (int hwndCB, int iButton);
-public static final native int CommandBar_Height (int hdnwCB);
-public static final native boolean CommandBar_InsertMenubarEx (int hwndCB, int hInst, int pszMenu, int iButton);
-public static final native boolean CommandBar_Show (int hwndCB, boolean fShow);
-public static final native int CommDlgExtendedError ();
-public static final native int CopyImage (int hImage, int uType, int cxDesired, int cyDesired, int fuFlags);
-public static final native int CreateAcceleratorTableW (byte [] lpaccl, int cEntries);
-public static final native int CreateAcceleratorTableA (byte [] lpaccl, int cEntries);
-public static final native int CreateBitmap (int nWidth, int nHeight, int cPlanes, int cBitsPerPel, byte [] lpvBits);
-public static final native boolean CreateCaret (int hWnd, int hBitmap, int nWidth, int nHeight);
-public static final native int CreateCompatibleBitmap (int hdc, int nWidth, int nHeight);
-public static final native int CreateCompatibleDC (int hdc);
-public static final native int CreateCursor (int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte [] pvANDPlane, byte [] pvXORPlane);
-public static final native int CreateDCW (char [] lpszDriver, char [] lpszDevice, int lpszOutput, int lpInitData);
-public static final native int CreateDCA (byte [] lpszDriver, byte [] lpszDevice, int lpszOutput, int lpInitData);
-public static final native int CreateDIBSection(int hdc, byte[] pbmi, int iUsage, int[] ppvBits, int hSection, int dwOffset);
-public static final native int CreateFontIndirectW (int lplf);
-public static final native int CreateFontIndirectA (int lplf);
-public static final native int CreateFontIndirectW (LOGFONT lplf);
-public static final native int CreateFontIndirectA (LOGFONT lplf);
-public static final native int CreateIconIndirect (ICONINFO lplf);
-public static final native int CreateMenu ();
-public static final native int CreatePalette (byte[] logPalette);
-public static final native int CreatePatternBrush (int colorRef);
-public static final native int CreatePen (int fnPenStyle, int nWidth, int crColor);
-public static final native int CreatePopupMenu ();
-public static final native int CreateRectRgn (int left, int top, int right, int bottom);
-public static final native int CreateSolidBrush (int colorRef);
-public static final native int CreateWindowExW (int dwExStyle, char [] lpClassName, char [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam);
-public static final native int CreateWindowExA (int dwExStyle, byte [] lpClassName, byte [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam);
-public static final native int DeferWindowPos (int hWinPosInfo, int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags);
-public static final native int DefWindowProcW (int hWnd, int Msg, int wParam, int lParam);
-public static final native int DefWindowProcA (int hWnd, int Msg, int wParam, int lParam);
-public static final native boolean DeleteDC (int hdc);
-public static final native boolean DeleteMenu (int hMenu, int uPosition, int uFlags);
-public static final native boolean DeleteObject (int hGdiObj);
-public static final native boolean DestroyAcceleratorTable (int hAccel);
-public static final native boolean DestroyCaret ();
-public static final native boolean DestroyCursor (int hCursor);
-public static final native boolean DestroyIcon (int hIcon);
-public static final native boolean DestroyMenu (int hMenu);
-public static final native boolean DestroyWindow (int hWnd);
-public static final native int DispatchMessageW (MSG lpmsg);
-public static final native int DispatchMessageA (MSG lpmsg);
-public static final native boolean DragDetect (int hwnd, POINT pt);
-public static final native void DragFinish (int hDrop);
-public static final native int DragQueryFileA (int hDrop, int iFile, byte[] lpszFile, int cch);
-public static final native int DragQueryFileW (int hDrop, int iFile, char[] lpszFile, int cch);
-public static final native boolean DrawEdge (int hdc, RECT qrc, int edge, int grfFlags);
-public static final native boolean DrawFocusRect (int hDC, RECT lpRect);
-public static final native boolean DrawFrameControl (int hdc, RECT lprc, int uType, int uState);
-public static final native boolean DrawIconEx (int hdc, int xLeft, int yTop, int hIcon, int cxWidth, int cyWidth, int istepIfAniCur, int hbrFlickerFreeDraw, int diFlags);
-public static final native boolean DrawMenuBar (int hWnd);
-public static final native boolean DrawStateW (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags);
-public static final native boolean DrawStateA (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags);
-public static final native int DrawTextW (int hDC, char [] lpString, int nCount, RECT lpRect, int uFormat);
-public static final native int DrawTextA (int hDC, byte [] lpString, int nCount, RECT lpRect, int uFormat);
-public static final native boolean Ellipse (int hdc,int nLeftRect,int nTopRect,int nRightRect,int nBottomRect);
-public static final native boolean EnableMenuItem (int hMenu, int uIDEnableItem, int uEnable);
-public static final native boolean EnableScrollBar (int hWnd, int wSBflags, int wArrows);
-public static final native boolean EnableWindow (int hWnd, boolean bEnable);
-public static final native boolean EnumSystemLanguageGroupsW(int pLangGroupEnumProc, int dwFlags, int lParam);
-public static final native boolean EnumSystemLanguageGroupsA(int pLangGroupEnumProc, int dwFlags, int lParam);
-public static final native boolean EnumSystemLocalesW (int lpLocaleEnumProc, int dwFlags);
-public static final native boolean EnumSystemLocalesA (int lpLocaleEnumProc, int dwFlags);
-public static final native boolean EndDeferWindowPos (int hWinPosInfo);
-public static final native int EndDoc (int hdc);
-public static final native int EndPage (int hdc);
-public static final native int EndPaint (int hWnd, PAINTSTRUCT lpPaint);
-public static final native int EnumFontFamiliesW (int hdc, char [] lpszFamily, int lpEnumFontFamProc, int lParam);
-public static final native int EnumFontFamiliesA (int hdc, byte [] lpszFamily, int lpEnumFontFamProc, int lParam);
-public static final native boolean EqualRect (RECT lprc1, RECT lprc2);
-public static final native boolean EqualRgn (int hSrcRgn1, int hSrcRgn2);
-public static final native int ExpandEnvironmentStringsW (char [] lpSrc, char [] lsDst, int nSize);
-public static final native int ExpandEnvironmentStringsA (byte [] lpSrc, byte [] lsDst, int nSize);
-public static final native boolean ExtTextOutW(int hdc, int X, int Y, int fuOptions, RECT lprc, char[] lpString, int cbCount, int[] lpDx);
-public static final native boolean ExtTextOutA(int hdc, int X, int Y, int fuOptions, RECT lprc, byte[] lpString, int cbCount, int[] lpDx);
-public static final native int ExtractIconExW (char [] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons);
-public static final native int ExtractIconExA (byte [] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons);
-public static final native int FillRect(int hDC, RECT lprc, int hbr);
-public static final native int FindWindowA (byte [] lpClassName, byte [] lpWindowName);
-public static final native int FindWindowW (char [] lpClassName, char [] lpWindowName);
-public static final native boolean FreeLibrary (int hLibModule);
-public static final native int GetACP ();
-public static final native int GetActiveWindow ();
-public static final native int GetBkColor (int hDC);
-public static final native int GetCapture ();
-public static final native boolean GetCaretPos (POINT lpPoint);
-public static final native boolean GetCharABCWidthsA (int hdc, int iFirstChar, int iLastChar, int [] lpabc);
-public static final native boolean GetCharABCWidthsW (int hdc, int iFirstChar, int iLastChar, int [] lpabc);
-public static final native int GetCharacterPlacementW(int hdc, char[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags);
-public static final native int GetCharacterPlacementA(int hdc, byte[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags);
-public static final native boolean GetCharWidthA (int hdc, int iFirstChar, int iLastChar, int [] lpBuffer);
-public static final native boolean GetCharWidthW (int hdc, int iFirstChar, int iLastChar, int [] lpBuffer);
-public static final native boolean GetClassInfoW (int hInstance, char [] lpClassName, WNDCLASS lpWndClass);
-public static final native boolean GetClassInfoA (int hInstance, byte [] lpClassName, WNDCLASS lpWndClass);
-public static final native boolean GetClientRect (int hWnd, RECT lpRect);
-public static final native int GetClipboardData (int uFormat);
-public static final native int GetClipboardFormatNameA (int format, byte[] lpszFormatName, int cchMaxCount);
-public static final native int GetClipboardFormatNameW (int format, char[] lpszFormatName, int cchMaxCount);
-public static final native int GetClipBox (int hdc, RECT lprc);
-public static final native int GetClipRgn (int hdc, int hrgn);
-public static final native int GetCurrentObject (int hdc, int uObjectType);
-public static final native int GetCurrentProcessId ();
-public static final native int GetCurrentThreadId ();
-public static final native int GetCursor ();
-public static final native boolean GetCursorPos (POINT lpPoint);
-public static final native int GetDC (int hwnd);
-public static final native int GetDCEx (int hWnd, int hrgnClip, int flags);
-public static final native int GetDesktopWindow ();
-public static final native int GetDeviceCaps (int hdc, int nIndex);
-public static final native int GetDialogBaseUnits ();
-public static final native int GetDIBColorTable (int hdc, int uStartIndex, int cEntries, byte[] pColors);
-public static final native int GetDIBits (int hdc, int hbmp, int uStartScan, int cScanLines, int lpvBits, byte[] lpbi, int uUsage);
-public static final native int GetDlgItem (int hDlg, int nIDDlgItem);
-public static final native int GetDoubleClickTime ();
-public static final native int GetFocus ();
-public static final native int GetFontLanguageInfo(int hdc);
-public static final native boolean GetIconInfo (int hIcon, ICONINFO piconinfo);
-public static final native int GetKeyboardLayoutList(int nBuff, int[] lpList);
-public static final native int GetKeyboardLayout(int idThread);public static final native short GetKeyState (int nVirtKey);
-public static final native boolean GetKeyboardState (byte [] lpKeyState);
-public static final native int GetKeyNameTextW(int lParam, char [] lpString, int nSize);
-public static final native int GetKeyNameTextA(int lParam, byte [] lpString, int nSize);
-public static final native int GetLastActivePopup (int hWnd);
-public static final native int GetLastError ();
-/* returns the instance handle to the swt library */
-public static final native int GetLibraryHandle ();
-public static final native int GetLocaleInfoW (int Locale, int LCType, char [] lpLCData, int cchData);
-public static final native int GetLocaleInfoA (int Locale, int LCType, byte [] lpLCData, int cchData);
-public static final native int GetMenu (int hWnd);
-public static final native int GetMenuDefaultItem (int hMenu, int fByPos, int gmdiFlags);
-public static final native boolean GetMenuInfo (int hmenu, MENUINFO lpcmi);
-public static final native int GetMenuItemCount (int hMenu);
-public static final native boolean GetMenuItemInfoW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native boolean GetMenuItemInfoA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native boolean GetMessageW (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax);
-public static final native boolean GetMessageA (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax);
-public static final native int GetMessagePos ();
-public static final native int GetMessageTime ();
-public static final native int GetTextCharset(int hdc);
-public static final native int GetTickCount ();
-public static final native int GetModuleHandleW (char [] lpModuleName);
-public static final native int GetModuleHandleA (byte [] lpModuleName);
-public static final native int GetNearestPaletteIndex(int hPal, int crColor);
-public static final native int GetObjectA (int hgdiobj, int cbBuffer, BITMAP lpvObject);
-public static final native int GetObjectW (int hgdiobj, int cbBuffer, BITMAP lpvObject);
-public static final native int GetObjectA (int hgdiobj, int cbBuffer, DIBSECTION lpvObject);
-public static final native int GetObjectW (int hgdiobj, int cbBuffer, DIBSECTION lpvObject);
-public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject);
-public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject);
-public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGFONT lpvObject);
-public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGFONT lpvObject);
-public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGPEN lpvObject);
-public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGPEN lpvObject);
-public static final native boolean GetOpenFileNameW (OPENFILENAME lpofn);
-public static final native boolean GetOpenFileNameA (OPENFILENAME lpofn);
-public static final native int GetPaletteEntries (int hPalette, int iStartIndex, int nEntries, byte[] logPalette);
-public static final native int GetParent (int hWnd);
-public static final native int GetPixel (int hdc, int x, int y);
-public static final native int GetProcAddress (int hModule, byte [] lpProcName);
-public static final native int GetProcessHeap ();
-public static final native int GetProfileStringW (char [] lpAppName, char [] lpKeyName, char [] lpDefault, char [] lpReturnedString, int nSize);
-public static final native int GetProfileStringA (byte [] lpAppName, byte [] lpKeyName, byte [] lpDefault, byte [] lpReturnedString, int nSize);
-public static final native int GetRegionData (int hRgn, int dwCount, int [] lpRgnData);
-public static final native int GetRgnBox (int hrgn, RECT lprc);
-public static final native int GetROP2 (int hdc);
-public static final native boolean GetSaveFileNameW (OPENFILENAME lpofn);
-public static final native boolean GetSaveFileNameA (OPENFILENAME lpofn);
-public static final native boolean GetScrollInfo (int hwnd, int flags, SCROLLINFO info);
-public static final native int GetStockObject (int fnObject);
-public static final native int GetSysColor (int nIndex);
-public static final native int GetSysColorBrush (int nIndex);
-public static final native int GetSystemMenu (int hWnd, boolean bRevert);
-public static final native int GetSystemMetrics (int nIndex);
-public static final native int GetSystemPaletteEntries(int hdc, int iStartIndex, int nEntries, byte[] lppe);
-public static final native int GetTextColor (int hDC);
-public static final native boolean GetTextExtentPoint32W (int hdc, char [] lpString, int cbString, SIZE lpSize);
-public static final native boolean GetTextExtentPoint32A (int hdc, byte [] lpString, int cbString, SIZE lpSize);
-public static final native boolean GetTextMetricsW (int hdc, TEXTMETRIC lptm);
-public static final native boolean GetTextMetricsA (int hdc, TEXTMETRIC lptm);
-public static final native boolean GetUpdateRect (int hWnd, RECT lpRect, boolean bErase);
-public static final native int GetUpdateRgn (int hWnd, int hRgn, boolean bErase);
-public static final native boolean GetVersionExW (OSVERSIONINFO lpVersionInfo);
-public static final native boolean GetVersionExA (OSVERSIONINFO lpVersionInfo);
-public static final native int GetWindow (int hWnd, int uCmd);
-public static final native int GetWindowLongW (int hWnd, int nIndex);
-public static final native int GetWindowLongA (int hWnd, int nIndex);
-public static final native boolean GetWindowPlacement (int hWnd, WINDOWPLACEMENT lpwndpl);
-public static final native boolean GetWindowRect (int hWnd, RECT lpRect);
-public static final native int GetWindowTextW (int hWnd, char [] lpString, int nMaxCount);
-public static final native int GetWindowTextA (int hWnd, byte [] lpString, int nMaxCount);
-public static final native int GetWindowTextLengthW (int hWnd);
-public static final native int GetWindowTextLengthA (int hWnd);
-public static final native int GetWindowThreadProcessId (int hWnd, int [] lpdwProcessId);
-public static final native int GlobalAlloc (int uFlags, int dwBytes);
-public static final native int GlobalFree (int hMem);
-public static final native int GlobalLock (int hMem);
-public static final native int GlobalSize (int hMem);
-public static final native boolean GlobalUnlock (int hMem);
-public static final native boolean GradientFill(int hdc, int pVertex, int dwNumVertex, int pMesh, int dwNumMesh, int dwMode);
-public static final native int HeapAlloc (int hHeap, int dwFlags, int dwBytes);
-public static final native boolean HeapFree (int hHeap, int dwFlags, int lpMem);
-public static final native boolean HideCaret (int hWnd);
-public static final native int ImageList_Add (int himl, int hbmImage, int hbmMask);
-public static final native int ImageList_AddMasked (int himl, int hbmImage, int crMask);
-public static final native int ImageList_Create (int cx, int cy, int flags, int cInitial, int cGrow);
-public static final native boolean ImageList_Destroy (int himl);
-public static final native int ImageList_GetIcon (int himl, int i, int flags);
-public static final native boolean ImageList_GetIconSize (int himl, int [] cx, int [] cy);
-public static final native int ImageList_GetImageCount (int himl);
-public static final native boolean ImageList_Remove (int himl, int i);
-public static final native boolean ImageList_Replace (int himl, int i, int hbmImage, int hbmMask);
-public static final native int ImageList_ReplaceIcon (int himl, int i, int hicon);
-public static final native boolean ImageList_SetIconSize (int himl, int cx, int cy);
-public static final native int ImmAssociateContext (int hWnd, int hIMC);
-public static final native int ImmCreateContext ();
-public static final native boolean ImmDestroyContext (int hIMC);
-public static final native boolean ImmGetCompositionFontW (int hIMC, LOGFONT lplf);
-public static final native boolean ImmGetCompositionFontA (int hIMC, LOGFONT lplf);
-public static final native int ImmGetCompositionStringW (int hIMC, int dwIndex, char [] lpBuf, int dwBufLen);
-public static final native int ImmGetCompositionStringA (int hIMC, int dwIndex, byte [] lpBuf, int dwBufLen);
-public static final native int ImmGetContext (int hWnd);
-public static final native boolean ImmGetConversionStatus (int hIMC, int [] lpfdwConversion, int [] lpfdwSentence);
-public static final native int ImmGetDefaultIMEWnd (int hWnd);
-public static final native boolean ImmGetOpenStatus (int hIMC);
-public static final native boolean ImmReleaseContext (int hWnd, int hIMC);
-public static final native boolean ImmSetCompositionFontW (int hIMC, LOGFONT lplf);
-public static final native boolean ImmSetCompositionFontA (int hIMC, LOGFONT lplf);
-public static final native boolean ImmSetCompositionWindow (int hIMC, COMPOSITIONFORM lpCompForm);
-public static final native boolean ImmSetConversionStatus (int hIMC, int fdwConversion, int dwSentence);
-public static final native boolean ImmSetOpenStatus (int hIMC, boolean fOpen);
-public static final native void InitCommonControls ();
-public static final native boolean InitCommonControlsEx (INITCOMMONCONTROLSEX lpInitCtrls);
-public static final native boolean InsertMenuW (int hMenu, int uPosition, int uFlags, int uIDNewItem, char [] lpNewItem);
-public static final native boolean InsertMenuA (int hMenu, int uPosition, int uFlags, int uIDNewItem, byte [] lpNewItem);
-public static final native boolean InsertMenuItemW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native boolean InsertMenuItemA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native boolean InvalidateRect(int hWnd, RECT lpRect, boolean bErase);
-public static final native boolean InvalidateRgn (int hWnd, int hRgn, boolean bErase);
-public static final native boolean IsDBCSLeadByte (byte TestChar);
-public static final native boolean IsIconic (int hWnd);
-public static final native boolean IsPPC();
-public static final native boolean IsSP();
-public static final native boolean IsWindowEnabled (int hWnd);
-public static final native boolean IsWindowVisible (int hWnd);
-public static final native boolean IsZoomed (int hWnd);
-public static final native boolean KillTimer (int hWnd, int uIDEvent);
-public static final native boolean LineTo (int hdc,int x1, int x2);
-public static final native int LoadBitmapW (int hInstance, int lpBitmapName);
-public static final native int LoadBitmapA (int hInstance, int lpBitmapName);
-public static final native int LoadCursorW (int hInstance, int lpCursorName);
-public static final native int LoadCursorA (int hInstance, int lpCursorName);
-public static final native int LoadIconW (int hInstance, int lpIconName);
-public static final native int LoadIconA (int hInstance, int lpIconName);
-public static final native int LoadImageW (int hinst, char [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-public static final native int LoadImageA (int hinst, byte [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-public static final native int LoadLibraryW (char [] lpLibFileName);
-public static final native int LoadLibraryA (byte [] lpLibFileName);
-public static final native int MapVirtualKeyW (int uCode, int uMapType);
-public static final native int MapVirtualKeyA (int uCode, int uMapType);
-public static final native int MapWindowPoints (int hWndFrom, int hWndTo, POINT lpPoints, int cPoints);
-public static final native int MapWindowPoints (int hWndFrom, int hWndTo, RECT lpPoints, int cPoints);
-public static final native boolean MessageBeep (int uType);
-public static final native int MessageBoxW (int hWnd, char [] lpText, char [] lpCaption, int uType);
-public static final native int MessageBoxA (int hWnd, byte [] lpText, byte [] lpCaption, int uType);
-public static final native void MoveMemory (char[] Destination, int SourcePtr, int Length);
-public static final native void MoveMemory (byte [] Destination, int Source, int Length);
-public static final native void MoveMemory (byte [] Destination, ACCEL Source, int Length);
-public static final native void MoveMemory (byte [] Destination, BITMAPINFOHEADER Source, int Length);
-public static final native void MoveMemory (int [] Destination, int Source, int Length);
-public static final native void MoveMemory (int Destination, byte [] Source, int Length);
-public static final native void MoveMemory (int Destination, char [] Source, int Length);
-public static final native void MoveMemory (int Destination, int [] Source, int Length);
-public static final native void MoveMemory (int Destination, GRADIENT_RECT Source, int Length);
-public static final native void MoveMemoryW (int Destination, LOGFONT Source, int Length);
-public static final native void MoveMemoryA (int Destination, LOGFONT Source, int Length);
-public static final native void MoveMemory (int Destination, MEASUREITEMSTRUCT Source, int Length);
-public static final native void MoveMemoryW (int Destination, NMTTDISPINFO Source, int Length);
-public static final native void MoveMemoryA (int Destination, NMTTDISPINFO Source, int Length);
-public static final native void MoveMemory (int Destination, RECT Source, int Length);
-public static final native void MoveMemory (int Destination, TRIVERTEX Source, int Length);
-public static final native void MoveMemory (int Destination, WINDOWPOS Source, int Length);
-public static final native void MoveMemory (BITMAPINFOHEADER Destination, byte [] Source, int Length);
-public static final native void MoveMemory (DRAWITEMSTRUCT Destination, int Source, int Length);
-public static final native void MoveMemory (HDITEM Destination, int Source, int Length);
-public static final native void MoveMemory (HELPINFO Destination, int Source, int Length);
-public static final native void MoveMemoryW (LOGFONT Destination, int Source, int Length);
-public static final native void MoveMemoryA (LOGFONT Destination, int Source, int Length);
-public static final native void MoveMemory (MEASUREITEMSTRUCT Destination, int Source, int Length);
-public static final native void MoveMemory (NMHDR Destination, int Source, int Length);
-public static final native void MoveMemory (NMLVCUSTOMDRAW Destination, int Source, int Length);
-public static final native void MoveMemory (NMTVCUSTOMDRAW Destination, int Source, int Length);
-public static final native void MoveMemory (int Destination, NMLVCUSTOMDRAW Source, int Length);
-public static final native void MoveMemory (int Destination, NMTVCUSTOMDRAW Source, int Length);
-public static final native void MoveMemory (NMHEADER Destination, int Source, int Length);
-public static final native void MoveMemory (NMLISTVIEW Destination, int Source, int Length);
-public static final native void MoveMemory (NMREBARCHEVRON Destination, int Source, int Length);
-public static final native void MoveMemory (NMTOOLBAR Destination, int Source, int Length);
-public static final native void MoveMemoryW (NMTTDISPINFO Destination, int Source, int Length);
-public static final native void MoveMemoryA (NMTTDISPINFO Destination, int Source, int Length);
-public static final native void MoveMemory (TVITEM Destination, int Source, int Length);
-public static final native void MoveMemory (WINDOWPOS Destination, int Source, int Length);
-public static final native void MoveMemory (MSG Destination, int Source, int Length);
-public static final native void MoveMemory(int Destination, DROPFILES Source, int Length);
-public static final native void MoveMemory(double[] Destination, int SourcePtr, int Length);
-public static final native void MoveMemory(float[] Destination, int SourcePtr, int Length);
-public static final native void MoveMemory(short[] Destination, int SourcePtr, int Length);
-public static final native void MoveMemory(int DestinationPtr, double[] Source, int Length);
-public static final native void MoveMemory(int DestinationPtr, float[] Source, int Length);
-public static final native void MoveMemory(int DestinationPtr, short[] Source, int Length);
-public static final native boolean MoveToEx (int hdc,int x1, int x2, int lPoint);
-public static final native int MsgWaitForMultipleObjectsEx (int nCount, int pHandles, int dwMilliseconds, int dwWakeMask, int dwFlags);
-public static final native int MultiByteToWideChar (int CodePage, int dwFlags, byte [] lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar);
-public static final native int MultiByteToWideChar (int CodePage, int dwFlags, int lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar);
-public static final native int OleInitialize (int pvReserved);
-public static final native void OleUninitialize ();
-public static final native boolean OpenClipboard (int hWndNewOwner);
-public static final native boolean PatBlt (int hdc,int x1, int x2,int w, int h, int rop);
-public static final native boolean PeekMessageW (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);
-public static final native boolean PeekMessageA (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);
-public static final native boolean Pie (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nXStartArc, int nYStartArc, int nXEndArc, int nYEndArc);
-public static final native boolean Polygon (int hdc, int [] points, int nPoints);
-public static final native boolean Polyline (int hdc,int[] points, int nPoints);
-public static final native boolean PostMessageW (int hWnd, int Msg, int wParam, int lParam);
-public static final native boolean PostMessageA (int hWnd, int Msg, int wParam, int lParam);
-public static final native boolean PostThreadMessageW (int idThread, int Msg, int wParam, int lParam);
-public static final native boolean PostThreadMessageA (int idThread, int Msg, int wParam, int lParam);
-public static final native boolean PrintDlgW (PRINTDLG lppd);
-public static final native boolean PrintDlgA (PRINTDLG lppd);
-public static final native boolean PtInRect (RECT rect, POINT pt);
-public static final native boolean PtInRegion (int hrgn, int X, int Y);
-public static final native int RealizePalette(int hDC);
-public static final native boolean Rectangle (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
-public static final native boolean RectInRegion (int hrgn, RECT lprc);
-public static final native boolean RedrawWindow (int hWnd, RECT lprcUpdate, int hrgnUpdate, int flags);
-public static final native int RegCloseKey (int hKey);
-public static final native int RegisterClassW (WNDCLASS lpWndClass);
-public static final native int RegisterClassA (WNDCLASS lpWndClass);
-public static final native int RegEnumKeyExW (int hKey, int dwIndex, char [] lpName, int [] lpcName, int [] lpReserved, char [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime);
-public static final native int RegisterClipboardFormatA (byte[] lpszFormat);
-public static final native int RegisterClipboardFormatW (char[] lpszFormat);
-public static final native int RegOpenKeyExW (int hKey, char[] lpSubKey, int ulOptions, int samDesired, int[] phkResult);
-public static final native int RegQueryInfoKeyW (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime);
-public static final native int RegQueryValueExW (int hKey, char[] lpValueName, int lpReserved, int[] lpType, char [] lpData, int[] lpcbData);
-public static final native int RegEnumKeyExA (int hKey, int dwIndex, byte [] lpName, int [] lpcName, int [] lpReserved, byte [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime);
-public static final native int RegOpenKeyExA (int hKey, byte[] lpSubKey, int ulOptions, int samDesired, int[] phkResult);
-public static final native int RegQueryInfoKeyA (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime);
-public static final native int RegQueryValueExA (int hKey, byte[] lpValueName, int lpReserved, int[] lpType, byte [] lpData, int[] lpcbData);
-public static final native boolean ReleaseCapture ();
-public static final native int ReleaseDC (int hWnd, int hDC);
-public static final native boolean RemoveMenu (int hMenu, int uPosition, int uFlags);
-public static final native boolean RoundRect (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidth, int nHeight);
-public static final native boolean ScreenToClient (int hWnd, POINT lpPoint);
-public static final native int ScrollWindowEx (int hWnd, int dx, int dy, RECT prcScroll, RECT prcClip, int hrgnUpdate, RECT prcUpdate, int flags);
-public static final native int SelectClipRgn (int hdc, int hrgn);
-public static final native int SelectObject(int hDC, int HGDIObj);
-public static final native int SelectPalette(int hDC, int hpal, boolean bForceBackground);
-public static final native int SendMessageW (int hWnd, int Msg, int [] wParam, int [] lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int [] wParam, int lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, char [] lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, int [] lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, short [] lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, int lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVCOLUMN lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVITEM lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, REBARBANDINFO lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, RECT lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TBBUTTON lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TCITEM lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TOOLINFO lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam);
-public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVITEM lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int [] wParam, int [] lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int [] wParam, int lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, byte [] lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, int [] lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, short [] lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, int lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVCOLUMN lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVITEM lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, REBARBANDINFO lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, RECT lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TBBUTTON lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TCITEM lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TOOLINFO lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam);
-public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVITEM lParam);
-public static final native int SetActiveWindow (int hWnd);
-public static final native int SetBkColor (int hdc, int colorRef);
-public static final native int SetBkMode (int hdc, int mode);
-public static final native int SetCapture (int hWnd);
-public static final native boolean SetCaretPos (int X, int Y);
-public static final native int SetClipboardData (int uFormat, int hMem);
-public static final native int SetCursor (int hCursor);
-public static final native boolean SetCursorPos (int X, int Y);
-public static final native int SetDIBColorTable (int hdc, int uStartIndex, int cEntries, byte[] pColors);
-public static final native int SetFocus (int hWnd);
-public static final native boolean SetForegroundWindow (int hWnd);
-public static final native int SetLayout (int hdc, int dwLayout);
-public static final native boolean SetMenu (int hWnd, int hMenu);
-public static final native boolean SetMenuDefaultItem (int hMenu, int uItem, int fByPos);
-public static final native boolean SetMenuInfo (int hmenu, MENUINFO lpcmi);
-public static final native boolean SetMenuItemInfoW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native boolean SetMenuItemInfoA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
-public static final native int SetPaletteEntries (int hPal, int iStart, int cEntries, byte[] lppe);
-public static final native int SetParent (int hWndChild, int hWndNewParent);
-public static final native int SetPixel (int hdc, int X, int Y, int crColor);
-public static final native boolean SetRect(RECT lprc, int xLeft, int yTop, int xRight, int yBottom);
-public static final native boolean SetRectRgn (int hrgn, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
-public static final native int SetROP2 (int hdc, int fnDrawMode);
-public static final native boolean SetScrollInfo (int hwnd, int flags, SCROLLINFO info, boolean fRedraw);
-public static final native int SetStretchBltMode(int hdc, int iStretchMode);
-public static final native int SetTextAlign(int hdc, int fMode);
-public static final native int SetTextColor (int hdc, int colorRef);
-public static final native int SetTimer (int hWnd, int nIDEvent, int Elapse, int lpTimerFunc);
-public static final native int SetWindowLongW (int hWnd, int nIndex, int dwNewLong);
-public static final native int SetWindowLongA (int hWnd, int nIndex, int dwNewLong);
-public static final native boolean SetWindowPlacement (int hWnd, WINDOWPLACEMENT lpwndpl);
-public static final native boolean SetWindowPos(int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags);
-public static final native boolean SetWindowTextW (int hWnd, char [] lpString);
-public static final native boolean SetWindowTextA (int hWnd, byte [] lpString);
-public static final native int SetWindowsHookExW (int idHook, int lpfn, int hMod, int dwThreadId);
-public static final native int SetWindowsHookExA (int idHook, int lpfn, int hMod, int dwThreadId);
-public static final native int SHBrowseForFolderW (BROWSEINFO lpbi);
-public static final native int SHBrowseForFolderA (BROWSEINFO lpbi);
-public static final native boolean SHCreateMenuBar(SHMENUBARINFO pmb);
-public static final native boolean SHHandleWMSettingChange (int hwnd, int wParam, int lParam, SHACTIVATEINFO psai);
-public static final native int SHRecognizeGesture(SHRGINFO shrg);
-public static final native void SHSendBackToFocusWindow (int uMsg, int wp, int lp);
-public static final native boolean SHSipPreference (int hwnd, int st);
-public static final native boolean ShellExecuteExW (SHELLEXECUTEINFO lpExecInfo);
-public static final native boolean ShellExecuteExA (SHELLEXECUTEINFO lpExecInfo);
-public static final native int SHGetMalloc (int [] ppMalloc);
-public static final native boolean SHGetPathFromIDListW (int pidl, char [] pszPath);
-public static final native boolean SHGetPathFromIDListA (int pidl, byte [] pszPath);
-public static final native boolean SHSetAppKeyWndAssoc(byte bVk, int hwnd);
-public static final native boolean ShowCaret (int hWnd);
-public static final native boolean ShowOwnedPopups (int hWnd, boolean fShow);
-public static final native boolean ShowScrollBar (int hWnd, int wBar, boolean bShow);
-public static final native boolean ShowWindow (int hWnd, int nCmdShow);
-public static final native boolean SipGetInfo (SIPINFO pSipInfo);
-public static final native int StartDocW (int hdc, DOCINFO lpdi);
-public static final native int StartDocA (int hdc, DOCINFO lpdi);
-public static final native int StartPage (int hdc);
-public static final native boolean StretchBlt (int hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, int hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, int dwRop);
-public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, RECT pvParam, int fWinIni);
-public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, RECT pvParam, int fWinIni);
-public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni);
-public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni);
-public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, int[] pvParam, int fWinIni);
-public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, int[] pvParam, int fWinIni);
-public static final native int ToAscii (int uVirtKey, int uScanCode, byte [] lpKeyState, short [] lpChar, int uFlags);
-public static final native int ToUnicode(int wVirtKey, int wScanCode, byte [] lpKeyState, char [] pwszBuff, int cchBuff, int wFlags);
-public static final native boolean TrackMouseEvent(TRACKMOUSEEVENT lpEventTrack);
-public static final native boolean TrackPopupMenu (int hMenu, int uFlags, int x, int y, int nReserved, int hWnd, RECT prcRect);
-public static final native int TranslateAcceleratorW (int hWnd, int hAccTable, MSG lpMsg);
-public static final native int TranslateAcceleratorA (int hWnd, int hAccTable, MSG lpMsg);
-public static final native boolean TranslateCharsetInfo(int lpSrc, int [] lpCs, int dwFlags);
-public static final native boolean TranslateMessage (MSG lpmsg);
-public static final native boolean TransparentImage (int hdcDest, int DstX, int DstY, int DstCx, int DstCy,int hSrc, int SrcX, int SrcY, int SrcCx, int SrcCy, int TransparentColor);public static final native boolean UnhookWindowsHookEx(int hhk);
-public static final native boolean UnregisterClassW (char [] lpClassName, int hInstance);
-public static final native boolean UnregisterClassA (byte [] lpClassName, int hInstance);
-public static final native boolean UpdateWindow (int hWnd);
-public static final native boolean ValidateRect (int hWnd, RECT lpRect);
-public static final native short VkKeyScanW (short ch);
-public static final native short VkKeyScanA (short ch);
-public static final native int VtblCall (int ppVtbl, int fnNumber, int arg0);
-public static final native boolean WaitMessage ();
-public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, byte [] lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar);
-public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, int lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar);
-public static final native int WindowFromDC (int lpPoint);
-public static final native int WindowFromPoint (POINT lpPoint);
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ + +import org.eclipse.swt.internal.*; + +public class OS { + + /* + * SWT Windows flags. + */ + public static final boolean IsWin32s; + public static final boolean IsWin95; + public static final boolean IsWinNT; + public static final boolean IsWinCE; + public static final boolean IsPPC; + public static final boolean IsHPC; + public static final boolean IsSP; + public static final boolean IsDBLocale; + public static final boolean IsUnicode; + public static final int WIN32_MAJOR, WIN32_MINOR; + + /* + * Flags for Window API GetVersionEx + */ + public static final int VER_PLATFORM_WIN32s = 0; + public static final int VER_PLATFORM_WIN32_WINDOWS = 1; + public static final int VER_PLATFORM_WIN32_NT = 2; + public static final int VER_PLATFORM_WIN32_CE = 3; + + /* + * Initialize the Windows flags + */ + static { + + /* Load the SWT library */ + Library.loadLibrary ("swt"); + + /* + * Try the UNICODE version of GetVersionEx first + * and then the ANSI version. The UNICODE version + * is present on all versions of Windows but is not + * implemented on Win95/98/ME. + * + * NOTE: The value of OSVERSIONINFO.sizeof cannot + * be static final because it relies on the Windows + * platform version to be initialized and IsUnicode + * has not been calculated. It must be initialized + * here, after the platform is determined in order + * for the value to be correct. + */ + OSVERSIONINFO info = new OSVERSIONINFO (); + + // TEMPORARY CODE + String MBCS = System.getProperty ("MBCS"); + if (MBCS != null) { + info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofA; + OS.GetVersionExA (info); + } else { + info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofW; + if (!OS.GetVersionExW (info)) { + info.dwOSVersionInfoSize = OSVERSIONINFO.sizeofA; + OS.GetVersionExA (info); + } + } + OSVERSIONINFO.sizeof = info.dwOSVersionInfoSize; + + IsWin32s = info.dwPlatformId == VER_PLATFORM_WIN32s; + IsWin95 = info.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS; + IsWinNT = info.dwPlatformId == VER_PLATFORM_WIN32_NT; + IsWinCE = info.dwPlatformId == VER_PLATFORM_WIN32_CE; + IsSP = IsSP(); + IsPPC = IsPPC(); + IsHPC = IsWinCE && !IsPPC && !IsSP; + WIN32_MAJOR = info.dwMajorVersion; + WIN32_MINOR = info.dwMinorVersion; + + // TEMPORARY CODE + if (MBCS != null) { + IsUnicode = false; + System.out.println ("*** SWT - Warning: Unicode disabled"); + } else { + IsUnicode = !IsWin32s && !IsWin95; + } + + /* Get the DBCS flag */ + int index = 0; + while (index <= 0xFF) { + if (OS.IsDBCSLeadByte ((byte) index)) break; + index++; + } + IsDBLocale = index <= 0xFF; + } + + /* Flag used on WinCE */ + static final int SYS_COLOR_INDEX_FLAG = OS.IsWinCE ? 0x40000000 : 0x0; + + /* + * NOTE: There is a bug in JVM 1.2 where loading + * a class with a large number of constants causes + * a segment fault to occur sometime later after + * the class is loaded. The fix is to break the + * class up into a hierarchy of classes that each + * contain a smaller number of constants. This + * fix is not necessary at this time but is required + * when all constants are uncommented. We have not + * done the research to determine the limit. + */ + + /* Constants */ + public static final int BFFM_INITIALIZED = 0x1; + public static final int BFFM_SETSELECTION = IsUnicode ? 0x467 : 0x466; + public static final int BFFM_VALIDATEFAILED = IsUnicode ? 0x4 : 0x3; + public static final int BFFM_VALIDATEFAILEDW = 0x4; + public static final int BFFM_VALIDATEFAILEDA = 0x3; + public static final int BF_BOTTOM = 0x8; + public static final int BF_RIGHT = 0x4; + public static final int BIF_EDITBOX = 0x10; + public static final int BIF_NEWDIALOGSTYLE = 0x40; + public static final int BIF_RETURNONLYFSDIRS = 0x1; + public static final int BIF_VALIDATE = 0x20; + public static final int BITSPIXEL = 0xc; + public static final int BI_BITFIELDS = 3; + public static final int BI_RGB = 0; + public static final int BLACKNESS = 0x42; + public static final int BM_CLICK = 0xf5; + public static final int BM_GETCHECK = 0xf0; + public static final int BM_SETCHECK = 0xf1; + public static final int BM_SETIMAGE = 0xf7; + public static final int BM_SETSTYLE = 0xf4; + public static final int BN_CLICKED = 0x0; + public static final int BN_DOUBLECLICKED = 0x5; + public static final int BST_CHECKED = 0x1; + public static final int BST_UNCHECKED = 0x0; + public static final int BS_BITMAP = 0x80; + public static final int BS_CENTER = 0x300; + public static final int BS_CHECKBOX = 0x2; + public static final int BS_DEFPUSHBUTTON = 0x1; + public static final int BS_FLAT = 0x8000; + public static final int BS_GROUPBOX = 0x7; + public static final int BS_ICON = 0x40; + public static final int BS_LEFT = 0x100; + public static final int BS_NOTIFY = 0x4000; + public static final int BS_OWNERDRAW = 0xb; + public static final int BS_PUSHBUTTON = 0x0; + public static final int BS_PUSHLIKE = 0x1000; + public static final int BS_RADIOBUTTON = 0x4; + public static final int BS_RIGHT = 0x200; + public static final int BS_SOLID = 0x0; + public static final int BTNS_AUTOSIZE = 0x10; + public static final int BTNS_BUTTON = 0x0; + public static final int BTNS_CHECK = 0x2; + public static final int BTNS_CHECKGROUP = 0x6; + public static final int BTNS_DROPDOWN = 0x8; + public static final int BTNS_GROUP = 0x4; + public static final int BTNS_SEP = 0x1; + public static final int CBN_EDITCHANGE = 0x5; + public static final int CBN_KILLFOCUS = 0x4; + public static final int CBN_SELCHANGE = 0x1; + public static final int CBN_SETFOCUS = 0x3; + public static final int CBS_AUTOHSCROLL = 0x40; + public static final int CBS_DROPDOWN = 0x2; + public static final int CBS_DROPDOWNLIST = 0x3; + public static final int CBS_NOINTEGRALHEIGHT = 0x400; + public static final int CBS_SIMPLE = 0x1; + public static final int CB_ADDSTRING = 0x143; + public static final int CB_DELETESTRING = 0x144; + public static final int CB_ERR = 0xffffffff; + public static final int CB_ERRSPACE = 0xfffffffe; + public static final int CB_FINDSTRINGEXACT = 0x158; + public static final int CB_GETCOUNT = 0x146; + public static final int CB_GETCURSEL = 0x147; + public static final int CB_GETDROPPEDCONTROLRECT = 0x152; + public static final int CB_GETDROPPEDSTATE = 0x157; + public static final int CB_GETEDITSEL = 0x140; + public static final int CB_GETITEMHEIGHT = 0x154; + public static final int CB_GETLBTEXT = 0x148; + public static final int CB_GETLBTEXTLEN = 0x149; + public static final int CB_INSERTSTRING = 0x14a; + public static final int CB_LIMITTEXT = 0x141; + public static final int CB_RESETCONTENT = 0x14b; + public static final int CB_SELECTSTRING = 0x14d; + public static final int CB_SETCURSEL = 0x14e; + public static final int CB_SETEDITSEL = 0x142; + public static final int CB_SHOWDROPDOWN = 0x14f; + public static final int CCM_FIRST = 0x2000; + public static final int CCM_SETBKCOLOR = 0x2001; + public static final int CCS_NODIVIDER = 0x40; + public static final int CCS_NORESIZE = 0x4; + public static final int CC_ANYCOLOR = 0x100; + public static final int CC_ENABLEHOOK = 0x10; + public static final int CC_RGBINIT = 0x1; + public static final int CDDS_PREPAINT = 0x00000001; + public static final int CDDS_ITEM = 0x00010000; + public static final int CDDS_ITEMPREPAINT = CDDS_ITEM | CDDS_PREPAINT; + public static final int CDDS_SUBITEM = 0x00020000; + public static final int CDRF_DODEFAULT = 0x00000000; + public static final int CDRF_NEWFONT = 0x00000002; + public static final int CDRF_NOTIFYITEMDRAW = 0x00000020; + public static final int CDRF_NOTIFYSUBITEMDRAW = 0x00000020; + public static final int CFE_AUTOCOLOR = 0x40000000; + public static final int CFE_ITALIC = 0x2; + public static final int CFE_STRIKEOUT = 0x8; + public static final int CFE_UNDERLINE = 0x4; + public static final int CFM_BOLD = 0x1; + public static final int CFM_CHARSET = 0x8000000; + public static final int CFM_COLOR = 0x40000000; + public static final int CFM_FACE = 0x20000000; + public static final int CFM_ITALIC = 0x2; + public static final int CFM_SIZE = 0x80000000; + public static final int CFM_STRIKEOUT = 0x8; + public static final int CFM_UNDERLINE = 0x4; + public static final int CFM_WEIGHT = 0x400000; + public static final int CFS_POINT = 0x2; + public static final int CF_EFFECTS = 0x100; + public static final int CF_INITTOLOGFONTSTRUCT = 0x40; + public static final int CF_SCREENFONTS = 0x1; + public static final int CF_TEXT = 0x1; + public static final int CF_UNICODETEXT = 13; + public static final int CF_USESTYLE = 0x80; + public static final int CLR_DEFAULT = 0xff000000; + public static final int CLR_INVALID = 0xffffffff; + public static final int COLORONCOLOR = 0x3; + public static final int COLOR_3DDKSHADOW = 0x15 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_3DFACE = 0xf | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_3DHIGHLIGHT = 0x14 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_3DHILIGHT = 0x14 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_3DLIGHT = 0x16 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_3DSHADOW = 0x10 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_ACTIVECAPTION = 0x2 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_BTNFACE = 0xf | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_BTNHIGHLIGHT = 0x14 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_BTNSHADOW = 0x10 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_BTNTEXT = 0x12 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_CAPTIONTEXT = 0x9 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_GRADIENTACTIVECAPTION = 0x1b | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_GRADIENTINACTIVECAPTION = 0x1c | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_HIGHLIGHT = 0xd | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_HIGHLIGHTTEXT = 0xe | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_INACTIVECAPTION = 0x3 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_INACTIVECAPTIONTEXT = 0x13 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_INFOBK = 0x18 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_INFOTEXT = 0x17 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_MENU = 0x4 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_MENUTEXT = 0x7 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_SCROLLBAR = 0x0 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_WINDOW = 0x5 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_WINDOWFRAME = 0x6 | SYS_COLOR_INDEX_FLAG; + public static final int COLOR_WINDOWTEXT = 0x8 | SYS_COLOR_INDEX_FLAG; + public static final int COMPLEXREGION = 0x3; + public static final int CP_ACP = 0x0; + public static final int CP_INSTALLED = 0x1; + public static final int CS_BYTEALIGNWINDOW = 0x2000; + public static final int CS_DBLCLKS = 0x8; + public static final int CS_HREDRAW = 0x2; + public static final int CS_VREDRAW = 0x1; + public static final int CW_USEDEFAULT = 0x80000000; + public static final int DCX_CACHE = 0x2; + public static final int DCX_CLIPCHILDREN = 0x8; + public static final int DCX_CLIPSIBLINGS = 0x10; + public static final int DEFAULT_CHARSET = 0x1; + public static final int DEFAULT_GUI_FONT = 0x11; + public static final int DFCS_BUTTONCHECK = 0x0; + public static final int DFCS_CHECKED = 0x400; + public static final int DFCS_FLAT = 0x4000; + public static final int DFCS_INACTIVE = 0x100; + public static final int DFCS_PUSHED = 0x200; + public static final int DFCS_SCROLLDOWN = 0x1; + public static final int DFCS_SCROLLLEFT = 0x2; + public static final int DFCS_SCROLLRIGHT = 0x3; + public static final int DFCS_SCROLLUP = 0x0; + public static final int DFC_BUTTON = 0x4; + public static final int DFC_SCROLL = 0x3; + public static final int DIB_RGB_COLORS = 0x0; + public static final int DISP_E_EXCEPTION = 0x80020009; + public static final int DI_NORMAL = 0x3; + public static final int DLGC_BUTTON = 0x2000; + public static final int DLGC_HASSETSEL = 0x8; + public static final int DLGC_STATIC = 0x100; + public static final int DLGC_WANTALLKEYS = 0x4; + public static final int DLGC_WANTARROWS = 0x1; + public static final int DLGC_WANTTAB = 0x2; + public static final int DM_SETDEFID = OS.WM_USER + 1; + public static final int DSS_DISABLED = 0x20; + public static final int DSTINVERT = 0x550009; + public static final int DST_BITMAP = 0x4; + public static final int DST_ICON = 0x3; + public static final int DT_CALCRECT = 0x400; + public static final int DT_EDITCONTROL = 0x2000; + public static final int DT_EXPANDTABS = 0x40; + public static final int DT_LEFT = 0x0; + public static final int DT_NOPREFIX = 0x800; + public static final int DT_SINGLELINE = 0x20; + public static final int DT_WORDBREAK = 0x10; + public static final int ECOOP_AND = 0x3; + public static final int ECOOP_OR = 0x2; + public static final int ECO_AUTOHSCROLL = 0x80; + public static final int EDGE_ETCHED = 0x6; + public static final int EDGE_SUNKEN = 0xa; + public static final int EM_CANUNDO = 0xc6; + public static final int EM_CHARFROMPOS = 0xd7; + public static final int EM_DISPLAYBAND = 0x433; + public static final int EM_GETFIRSTVISIBLELINE = 0xce; + public static final int EM_GETLIMITTEXT = 0xd5; + public static final int EM_GETLINE = 0xc4; + public static final int EM_GETLINECOUNT = 0xba; + public static final int EM_GETMARGINS = 0xd4; + public static final int EM_GETPASSWORDCHAR = 0xd2; + public static final int EM_GETSCROLLPOS = 0x4dd; + public static final int EM_GETSEL = 0xb0; + public static final int EM_LIMITTEXT = 0xc5; + public static final int EM_LINEFROMCHAR = 0xc9; + public static final int EM_LINEINDEX = 0xbb; + public static final int EM_LINELENGTH = 0xc1; + public static final int EM_LINESCROLL = 0xb6; + public static final int EM_POSFROMCHAR = 0xd6; + public static final int EM_REPLACESEL = 0xc2; + public static final int EM_SCROLLCARET = 0xb7; + public static final int EM_SETBKGNDCOLOR = 0x443; + public static final int EM_SETLIMITTEXT = 0xc5; + public static final int EM_SETOPTIONS = 0x44d; + public static final int EM_SETPARAFORMAT = 0x447; + public static final int EM_SETPASSWORDCHAR = 0xcc; + public static final int EM_SETREADONLY = 0xcf; + public static final int EM_SETSEL = 0xb1; + public static final int EM_SETTABSTOPS = 0xcb; + public static final int EN_CHANGE = 0x300; + public static final int ERROR_NO_MORE_ITEMS = 0x103; + public static final int ESB_DISABLE_BOTH = 0x3; + public static final int ESB_ENABLE_BOTH = 0x0; + public static final int ES_AUTOHSCROLL = 0x80; + public static final int ES_CENTER = 0x1; + public static final int ES_MULTILINE = 0x4; + public static final int ES_NOHIDESEL = 0x100; + public static final int ES_READONLY = 0x800; + public static final int ES_RIGHT = 0x2; + public static final int FALT = 0x10; + public static final int FCONTROL = 0x8; + public static final int FNERR_INVALIDFILENAME = 0x3002; + public static final int FSHIFT = 0x4; + public static final int FVIRTKEY = 0x1; + public static final int GCS_COMPSTR = 0x8; + public static final int GCS_RESULTSTR = 0x800; + public static final int GMDI_USEDISABLED = 0x1; + public static final int GMEM_FIXED = 0x0; + public static final int GMEM_ZEROINIT = 0x40; + public static final int GN_CONTEXTMENU = 1000; + public static final int GPTR = 0x40; + public static final int GRADIENT_FILL_RECT_H = 0x0; + public static final int GRADIENT_FILL_RECT_V = 0x1; + public static final int GTL_NUMBYTES = 0x10; + public static final int GTL_NUMCHARS = 0x8; + public static final int GTL_PRECISE = 0x2; + public static final int GT_DEFAULT = 0x0; + public static final int GWL_EXSTYLE = 0xffffffec; + public static final int GWL_ID = -12; + public static final int GWL_STYLE = 0xfffffff0; + public static final int GWL_USERDATA = 0xffffffeb; + public static final int GWL_WNDPROC = 0xfffffffc; + public static final int GW_CHILD = 0x5; + public static final int GW_HWNDFIRST = 0x0; + public static final int GW_HWNDLAST = 0x1; + public static final int GW_HWNDNEXT = 0x2; + public static final int GW_HWNDPREV = 0x3; + public static final int HBMMENU_CALLBACK = 0xffffffff; + public static final int HDI_WIDTH = 0x1; + public static final int HDM_FIRST = 0x1200; + public static final int HDM_GETBITMAPMARGIN = HDM_FIRST + 21; + public static final int HDM_GETITEMCOUNT = 0x1200; + public static final int HDN_BEGINTRACK = IsUnicode ? 0xfffffeba : 0xfffffece; + public static final int HDN_BEGINTRACKW = 0xfffffeba; + public static final int HDN_BEGINTRACKA = 0xfffffece; + public static final int HDN_DIVIDERDBLCLICKA = OS.HDN_FIRST - 5; + public static final int HDN_DIVIDERDBLCLICKW = OS.HDN_FIRST - 25; + public static final int HDN_DIVIDERDBLCLICK = IsUnicode ? HDN_DIVIDERDBLCLICKW : HDN_DIVIDERDBLCLICKA; + public static final int HDN_FIRST = 0xfffffed4; + public static final int HDN_ITEMCHANGED = IsUnicode ? 0xfffffebf : 0xfffffed3; + public static final int HDN_ITEMCHANGEDW = 0xfffffebf; + public static final int HDN_ITEMCHANGEDA = 0xfffffed3; + public static final int HEAP_ZERO_MEMORY = 0x8; + public static final int HELPINFO_MENUITEM = 0x2; + public static final int HINST_COMMCTRL = 0xffffffff; + public static final int HKEY_CLASSES_ROOT = 0x80000000; + public static final int HKEY_CURRENT_USER = 0x80000001; + public static final int HORZRES = 0x8; + public static final int HTBORDER = 0x12; + public static final int HTCLIENT = 0x1; + public static final int HTERROR = -2; + public static final int HTHSCROLL = 0x6; + public static final int HTMENU = 0x5; + public static final int HTNOWHERE = 0x0; + public static final int HTTRANSPARENT = 0xffffffff; + public static final int HTVSCROLL = 0x7; + public static final int HWND_BOTTOM = 0x1; + public static final int HWND_TOP = 0x0; + public static final int HWND_TOPMOST = 0xffffffff; + public static final int HWND_NOTOPMOST = -2; + public static final int ICC_COOL_CLASSES = 0x400; + public static final int ICM_NOTOPEN = 0x0; + public static final int ICON_BIG = 0x1; + public static final int ICON_SMALL = 0x0; + public static final int I_IMAGENONE = -2; + public static final int IDABORT = 0x3; + public static final int IDB_STD_SMALL_COLOR = 0x0; + public static final int IDC_APPSTARTING = 0x7f8a; + public static final int IDC_ARROW = 0x7f00; + public static final int IDC_CROSS = 0x7f03; + public static final int IDC_HAND = 0x7f89; + public static final int IDC_HELP = 0x7f8b; + public static final int IDC_IBEAM = 0x7f01; + public static final int IDC_NO = 0x7f88; + public static final int IDC_SIZE = 0x7f80; + public static final int IDC_SIZEALL = 0x7f86; + public static final int IDC_SIZENESW = 0x7f83; + public static final int IDC_SIZENS = 0x7f85; + public static final int IDC_SIZENWSE = 0x7f82; + public static final int IDC_SIZEWE = 0x7f84; + public static final int IDC_UPARROW = 0x7f04; + public static final int IDC_WAIT = 0x7f02; + public static final int IDI_WINLOGO = 0x7f05; + public static final int IDNO = 0x7; + public static final int IDOK = 0x1; + public static final int IDRETRY = 0x4; + public static final int IDYES = 0x6; + public static final int ILC_COLOR = 0x0; + public static final int ILC_COLOR16 = 0x10; + public static final int ILC_COLOR24 = 0x18; + public static final int ILC_COLOR32 = 0x20; + public static final int ILC_COLOR4 = 0x4; + public static final int ILC_COLOR8 = 0x8; + public static final int ILC_MASK = 0x1; + public static final int ILD_NORMAL = 0x0; + public static final int IMAGE_BITMAP = 0x0; + public static final int IMAGE_CURSOR = 0x2; + public static final int IMAGE_ICON = 0x1; + public static final int IME_CMODE_FULLSHAPE = 0x8; + public static final int IME_CMODE_KATAKANA = 0x2; + public static final int IME_CMODE_NATIVE = 0x1; + public static final int IME_CMODE_ROMAN = 0x10; + public static final int INFINITE = 0xffffffff; + public static final int KEY_ENUMERATE_SUB_KEYS = 0x8; + public static final int KEY_NOTIFY = 0x10; + public static final int KEY_QUERY_VALUE = 0x1; + public static final int KEY_READ = 0x20019; + public static final int LBN_DBLCLK = 0x2; + public static final int LBN_SELCHANGE = 0x1; + public static final int LBS_EXTENDEDSEL = 0x800; + public static final int LBS_MULTIPLESEL = 0x8; + public static final int LBS_NOINTEGRALHEIGHT = 0x100; + public static final int LBS_NOTIFY = 0x1; + public static final int LB_ADDSTRING = 0x180; + public static final int LB_DELETESTRING = 0x182; + public static final int LB_ERR = 0xffffffff; + public static final int LB_ERRSPACE = 0xfffffffe; + public static final int LB_FINDSTRINGEXACT = 0x1a2; + public static final int LB_GETCARETINDEX = 0x19f; + public static final int LB_GETCOUNT = 0x18b; + public static final int LB_GETCURSEL = 0x188; + public static final int LB_GETHORIZONTALEXTENT = 0x193; + public static final int LB_GETITEMHEIGHT = 0x1a1; + public static final int LB_GETITEMRECT = 0x198; + public static final int LB_GETSEL = 0x187; + public static final int LB_GETSELCOUNT = 0x190; + public static final int LB_GETSELITEMS = 0x191; + public static final int LB_GETTEXT = 0x189; + public static final int LB_GETTEXTLEN = 0x18a; + public static final int LB_GETTOPINDEX = 0x18e; + public static final int LB_INITSTORAGE = 0x1a8; + public static final int LB_INSERTSTRING = 0x181; + public static final int LB_RESETCONTENT = 0x184; + public static final int LB_SELITEMRANGE = 0x19b; + public static final int LB_SELITEMRANGEEX = 0x183; + public static final int LB_SETCARETINDEX = 0x19e; + public static final int LB_SETCURSEL = 0x186; + public static final int LB_SETHORIZONTALEXTENT = 0x194; + public static final int LB_SETSEL = 0x185; + public static final int LB_SETTOPINDEX = 0x197; + public static final int LGRPID_ARABIC = 0xd; + public static final int LGRPID_HEBREW = 0xc; + public static final int LGRPID_INSTALLED = 1; + public static final int LCID_SUPPORTED = 0x2; + public static final int LOCALE_IDEFAULTANSICODEPAGE = 0x1004; + public static final int LOCALE_SISO3166CTRYNAME = 0x5a; + public static final int LOCALE_SISO639LANGNAME = 0x59; + public static final int LOGPIXELSX = 0x58; + public static final int LOGPIXELSY = 0x5a; + public static final int LPSTR_TEXTCALLBACK = 0xffffffff; + public static final int LR_DEFAULTCOLOR = 0x0; + public static final int LVCFMT_CENTER = 0x2; + public static final int LVCFMT_IMAGE = 0x800; + public static final int LVCFMT_LEFT = 0x0; + public static final int LVCFMT_RIGHT = 0x1; + public static final int LVCF_FMT = 0x1; + public static final int LVCF_IMAGE = 0x10; + public static final int LVCF_TEXT = 0x4; + public static final int LVCF_WIDTH = 0x2; + public static final int LVHT_ONITEM = 0xe; + public static final int LVHT_ONITEMICON = 0x2; + public static final int LVHT_ONITEMLABEL = 0x4; + public static final int LVHT_ONITEMSTATEICON = 0x8; + public static final int LVIF_IMAGE = 0x2; + public static final int LVIF_INDENT = 0x10; + public static final int LVIF_STATE = 0x8; + public static final int LVIF_TEXT = 0x1; + public static final int LVIR_BOUNDS = 0x0; + public static final int LVIR_ICON = 0x1; + public static final int LVIR_LABEL = 0x2; + public static final int LVIS_DROPHILITED = 0x8; + public static final int LVIS_FOCUSED = 0x1; + public static final int LVIS_SELECTED = 0x2; + public static final int LVIS_STATEIMAGEMASK = 0xf000; + public static final int LVM_APPROXIMATEVIEWRECT = 0x1040; + public static final int LVM_DELETEALLITEMS = 0x1009; + public static final int LVM_DELETECOLUMN = 0x101c; + public static final int LVM_DELETEITEM = 0x1008; + public static final int LVM_ENSUREVISIBLE = 0x1013; + public static final int LVM_FIRST = 0x1000; + public static final int LVM_GETBKCOLOR = 0x1000; + public static final int LVM_GETCOLUMN = IsUnicode ? 0x105f : 0x1019; + public static final int LVM_GETCOLUMNWIDTH = 0x101d; + public static final int LVM_GETCOUNTPERPAGE = 0x1028; + public static final int LVM_GETEXTENDEDLISTVIEWSTYLE = 0x1037; + public static final int LVM_GETHEADER = 0x101f; + public static final int LVM_GETIMAGELIST = 0x1002; + public static final int LVM_GETITEM = IsUnicode ? 0x104b : 0x1005; + public static final int LVM_GETITEMW = 0x104b; + public static final int LVM_GETITEMA = 0x1005; + public static final int LVM_GETITEMCOUNT = 0x1004; + public static final int LVM_GETITEMRECT = 0x100e; + public static final int LVM_GETITEMSTATE = 0x102c; + public static final int LVM_GETNEXTITEM = 0x100c; + public static final int LVM_GETSELECTEDCOUNT = 0x1032; + public static final int LVM_GETSTRINGWIDTH = IsUnicode ? 0x1057 : 0x1011; + public static final int LVM_GETSUBITEMRECT = 0x1038; + public static final int LVM_GETTEXTCOLOR = 0x1023; + public static final int LVM_GETTOPINDEX = 0x1027; + public static final int LVM_HITTEST = 0x1012; + public static final int LVM_INSERTCOLUMN = IsUnicode ? 0x1061 : 0x101b; + public static final int LVM_INSERTITEM = IsUnicode ? 0x104d : 0x1007; + public static final int LVM_SCROLL = 0x1014; + public static final int LVM_SETBKCOLOR = 0x1001; + public static final int LVM_SETCOLUMN = IsUnicode ? 0x1060 : 0x101a; + public static final int LVM_SETCOLUMNWIDTH = 0x101e; + public static final int LVM_SETEXTENDEDLISTVIEWSTYLE = 0x1036; + public static final int LVM_SETIMAGELIST = 0x1003; + public static final int LVM_SETITEM = IsUnicode ? 0x104c : 0x1006; + public static final int LVM_SETITEMSTATE = 0x102b; + public static final int LVM_SETTEXTBKCOLOR = 0x1026; + public static final int LVM_SETTEXTCOLOR = 0x1024; + public static final int LVNI_FOCUSED = 0x1; + public static final int LVNI_SELECTED = 0x2; + public static final int LVN_BEGINDRAG = 0xffffff93; + public static final int LVN_BEGINRDRAG = 0xffffff91; + public static final int LVN_COLUMNCLICK = 0xffffff94; + public static final int LVN_FIRST = 0xffffff9c; + public static final int LVN_ITEMACTIVATE = 0xffffff8e; + public static final int LVN_ITEMCHANGED = 0xffffff9b; + public static final int LVN_MARQUEEBEGIN = 0xffffff64; + public static final int LVSCW_AUTOSIZE = 0xffffffff; + public static final int LVSCW_AUTOSIZE_USEHEADER = 0xfffffffe; + public static final int LVSIL_SMALL = 0x1; + public static final int LVSIL_STATE = 0x2; + public static final int LVS_EX_FULLROWSELECT = 0x20; + public static final int LVS_EX_GRIDLINES = 0x1; + public static final int LVS_EX_LABELTIP = 0x4000; + public static final int LVS_EX_ONECLICKACTIVATE = 0x40; + public static final int LVS_EX_SUBITEMIMAGES = 0x2; + public static final int LVS_EX_TRACKSELECT = 0x8; + public static final int LVS_EX_TWOCLICKACTIVATE = 0x80; + public static final int LVS_NOCOLUMNHEADER = 0x4000; + public static final int LVS_NOSCROLL = 0x2000; + public static final int LVS_REPORT = 0x1; + public static final int LVS_SHAREIMAGELISTS = 0x40; + public static final int LVS_SHOWSELALWAYS = 0x8; + public static final int LVS_SINGLESEL = 0x4; + public static final int MA_NOACTIVATE = 0x3; + public static final int MB_ABORTRETRYIGNORE = 0x2; + public static final int MB_APPLMODAL = 0x0; + public static final int MB_ICONERROR = 0x10; + public static final int MB_ICONINFORMATION = 0x40; + public static final int MB_ICONQUESTION = 0x20; + public static final int MB_ICONWARNING = 0x30; + public static final int MB_OK = 0x0; + public static final int MB_OKCANCEL = 0x1; + public static final int MB_PRECOMPOSED = 0x1; + public static final int MB_RETRYCANCEL = 0x5; + public static final int MB_RTLREADING = 0x100000; + public static final int MB_SYSTEMMODAL = 0x1000; + public static final int MB_TASKMODAL = 0x2000; + public static final int MB_YESNO = 0x4; + public static final int MB_YESNOCANCEL = 0x3; + public static final int MFS_CHECKED = 0x8; + public static final int MFS_DISABLED = 0x3; + public static final int MFS_GRAYED = 0x3; + public static final int MFT_RADIOCHECK = 0x200; + public static final int MFT_RIGHTJUSTIFY = 0x4000; + public static final int MFT_RIGHTORDER = 0x2000; + public static final int MFT_SEPARATOR = 0x800; + public static final int MFT_STRING = 0x0; + public static final int MF_BYCOMMAND = 0x0; + public static final int MF_BYPOSITION = 0x400; + public static final int MF_CHECKED = 0x8; + public static final int MF_DISABLED = 0x2; + public static final int MF_ENABLED = 0x0; + public static final int MF_GRAYED = 0x1; + public static final int MF_HILITE = 0x80; + public static final int MF_POPUP = 0x10; + public static final int MF_SEPARATOR = 0x800; + public static final int MF_SYSMENU = 0x2000; + public static final int MF_UNCHECKED = 0x0; + public static final int MIIM_BITMAP = 0x80; + public static final int MIIM_DATA = 0x20; + public static final int MIIM_ID = 0x2; + public static final int MIIM_STATE = 0x1; + public static final int MIIM_SUBMENU = 0x4; + public static final int MIIM_TYPE = 0x10; + public static final int MIM_STYLE = 0x10; + public static final int MK_CONTROL = 0x8; + public static final int MK_LBUTTON = 0x1; + public static final int MK_MBUTTON = 0x10; + public static final int MK_RBUTTON = 0x2; + public static final int MK_SHIFT = 0x4; + public static final int MM_TEXT = 0x1; + public static final int MNC_CLOSE = 0x1; + public static final int MNS_CHECKORBMP = 0x4000000; + public static final int MWMO_INPUTAVAILABLE = 0x4; + public static final int NM_CLICK = 0xfffffffe; + public static final int NM_CUSTOMDRAW = OS.NM_FIRST - 12; + public static final int NM_DBLCLK = 0xfffffffd; + public static final int NM_FIRST = 0x0; + public static final int NM_RETURN = 0xfffffffc; + public static final int NOTSRCCOPY = 0x330008; + public static final int NULLREGION = 0x1; + public static final int NULL_BRUSH = 0x5; + public static final int NULL_PEN = 0x8; + public static final int NUMRESERVED = 106; + public static final int OBJID_CLIENT = 0xFFFFFFFC; + public static final int OBJ_FONT = 0x6; + public static final int OBJ_PEN = 0x1; + public static final int OBM_CHECKBOXES = 0x7ff7; + public static final int ODS_SELECTED = 0x1; + public static final int ODT_MENU = 0x1; + public static final int OFN_ALLOWMULTISELECT = 0x200; + public static final int OFN_EXPLORER = 0x80000; + public static final int OFN_HIDEREADONLY = 0x4; + public static final int OFN_NOCHANGEDIR = 0x8; + public static final int OPAQUE = 0x2; + public static final int PATCOPY = 0xf00021; + public static final int PATINVERT = 0x5a0049; + public static final int PBM_GETPOS = 0x408; + public static final int PBM_GETRANGE = 0x407; + public static final int PBM_SETBARCOLOR = 0x409; + public static final int PBM_SETBKCOLOR = 0x2001; + public static final int PBM_SETPOS = 0x402; + public static final int PBM_SETRANGE32 = 0x406; + public static final int PBM_STEPIT = OS.WM_USER + 5; + public static final int PBS_SMOOTH = 0x1; + public static final int PBS_VERTICAL = 0x4; + public static final int PD_ALLPAGES = 0x0; + public static final int PD_COLLATE = 0x10; + public static final int PD_PAGENUMS = 0x2; + public static final int PD_PRINTTOFILE = 0x20; + public static final int PD_RETURNDC = 0x100; + public static final int PD_SELECTION = 0x1; + public static final int PD_USEDEVMODECOPIESANDCOLLATE = 0x40000; + public static final int PFM_TABSTOPS = 0x10; + public static final int PHYSICALHEIGHT = 0x6f; + public static final int PHYSICALOFFSETX = 0x70; + public static final int PHYSICALOFFSETY = 0x71; + public static final int PHYSICALWIDTH = 0x6e; + public static final int PLANES = 0xe; + public static final int PM_NOREMOVE = 0x0; + public static final int PM_REMOVE = 0x1; + public static final String PROGRESS_CLASS = "msctls_progress32"; + public static final int PS_DASH = 0x1; + public static final int PS_DASHDOT = 0x3; + public static final int PS_DASHDOTDOT = 0x4; + public static final int PS_DOT = 0x2; + public static final int PS_ENDCAP_FLAT = 0x200; + public static final int PS_GEOMETRIC = 0x10000; + public static final int PS_JOIN_MITER = 0x2000; + public static final int PS_SOLID = 0x0; + public static final int PS_STYLE_MASK = 0xf; + public static final int QS_KEY = 0x0001; + public static final int QS_MOUSEMOVE = 0x0002; + public static final int QS_MOUSEBUTTON = 0x0004; + public static final int QS_POSTMESSAGE = 0x0008; + public static final int QS_TIMER = 0x0010; + public static final int QS_PAINT = 0x0020; + public static final int QS_SENDMESSAGE = 0x0040; + public static final int QS_ALLINPUT = QS_MOUSEMOVE | QS_MOUSEBUTTON | QS_KEY | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_SENDMESSAGE; + public static final int R2_COPYPEN = 0xd; + public static final int R2_XORPEN = 0x7; + public static final int RASTERCAPS = 0x26; + public static final int RASTER_FONTTYPE = 0x1; + public static final int RBBIM_CHILD = 0x10; + public static final int RBBIM_CHILDSIZE = 0x20; + public static final int RBBIM_COLORS = 0x2; + public static final int RBBIM_HEADERSIZE = 0x800; + public static final int RBBIM_ID = 0x100; + public static final int RBBIM_IDEALSIZE = 0x200; + public static final int RBBIM_SIZE = 0x40; + public static final int RBBIM_STYLE = 0x1; + public static final int RBBIM_TEXT = 0x4; + public static final int RBBS_BREAK = 0x1; + public static final int RBBS_GRIPPERALWAYS = 0x80; + public static final int RBBS_NOGRIPPER = 0x00000100; + public static final int RBBS_USECHEVRON = 0x00000200; + public static final int RBBS_VARIABLEHEIGHT = 0x40; + public static final int RBN_FIRST = 0xfffffcc1; + public static final int RBN_CHEVRONPUSHED = RBN_FIRST - 10; + public static final int RBN_HEIGHTCHANGE = 0xfffffcc1; + public static final int RBS_DBLCLKTOGGLE = 0x8000; + public static final int RBS_BANDBORDERS = 0x400; + public static final int RBS_VARHEIGHT = 0x200; + public static final int RB_DELETEBAND = 0x402; + public static final int RB_GETBANDBORDERS = 0x422; + public static final int RB_GETBANDCOUNT = 0x40c; + public static final int RB_GETBANDINFO = IsUnicode ? 0x41c : 0x41d; + public static final int RB_GETBARHEIGHT = 0x41b; + public static final int RB_GETBKCOLOR = 0x414; + public static final int RB_GETRECT = 0x409; + public static final int RB_GETTEXTCOLOR = 0x416; + public static final int RB_IDTOINDEX = 0x410; + public static final int RB_INSERTBAND = IsUnicode ? 0x40a : 0x401; + public static final int RB_MOVEBAND = 0x427; + public static final int RB_SETBANDINFO = IsUnicode ? 0x40b : 0x406; + public static final int RB_SETBKCOLOR = 0x413; + public static final int RB_SETTEXTCOLOR = 0x415; + public static final int RC_BITBLT = 0x1; + public static final int RC_PALETTE = 0x100; + public static final int RDW_ALLCHILDREN = 0x80; + public static final int RDW_ERASE = 0x4; + public static final int RDW_FRAME = 0x400; + public static final int RDW_INVALIDATE = 0x1; + public static final int RDW_UPDATENOW = 0x100; + public static final int READ_CONTROL = 0x20000; + public static final String REBARCLASSNAME = "ReBarWindow32"; + public static final int RGN_OR = 0x2; + public static final int SBS_HORZ = 0x0; + public static final int SBS_VERT = 0x1; + public static final int SB_BOTTOM = 0x7; + public static final int SB_CTL = 0x2; + public static final int SB_ENDSCROLL = 0x8; + public static final int SB_HORZ = 0x0; + public static final int SB_LINEDOWN = 0x1; + public static final int SB_LINEUP = 0x0; + public static final int SB_PAGEDOWN = 0x3; + public static final int SB_PAGEUP = 0x2; + public static final int SB_THUMBPOSITION = 0x4; + public static final int SB_THUMBTRACK = 0x5; + public static final int SB_TOP = 0x6; + public static final int SB_VERT = 0x1; + public static final int SCF_ALL = 0x4; + public static final int SCF_DEFAULT = 0x0; + public static final int SCF_SELECTION = 0x1; + public static final int SC_CLOSE = 0xf060; + public static final int SC_HSCROLL = 0xf080; + public static final int SC_KEYMENU = 0xf100; + public static final int SC_MAXIMIZE = 0xf030; + public static final int SC_MINIMIZE = 0xf020; + public static final int SC_RESTORE = 0xf120; + public static final int SC_SIZE = 0xf000; + public static final int SC_TASKLIST = 0xf130; + public static final int SC_VSCROLL = 0xf070; + public static final int SF_RTF = 0x2; + public static final int SHCMBF_HIDDEN = 0x2; + public static final int SHCMBM_OVERRIDEKEY = OS.WM_USER + 403; + public static final int SHCMBM_SETSUBMENU = 0x590; + public static final int SHCMBM_GETSUBMENU = 0x591; + public static final int SHMBOF_NODEFAULT = 0x1; + public static final int SHMBOF_NOTIFY = 0x2; + public static final int SHRG_RETURNCMD = 0x1; + public static final int SIF_ALL = 0x17; + public static final int SIF_DISABLENOSCROLL = 0x8; + public static final int SIF_PAGE = 0x2; + public static final int SIF_POS = 0x4; + public static final int SIF_RANGE = 0x1; + public static final int SIF_TRACKPOS = 0x10; + public static final int SIP_DOWN = 1; + public static final int SIP_UP = 0; + public static final int SIPF_ON = 0x1; + public static final int SIZE_MINIMIZED = 0x1; + public static final int SIZEPALETTE = 104; + public static final int SM_CMONITORS = 80; + public static final int SM_CXBORDER = 0x5; + public static final int SM_CXCURSOR = 0xd; + public static final int SM_CXEDGE = 0x2d; + public static final int SM_CXHSCROLL = 0x15; + public static final int SM_CXICON = 0x0b; + public static final int SM_CYICON = 0x0c; + public static final int SM_CXVIRTUALSCREEN = 78; + public static final int SM_CYVIRTUALSCREEN = 79; + public static final int SM_CXSMICON = 49; + public static final int SM_CYSMICON = 50; + public static final int SM_CXSCREEN = 0x0; + public static final int SM_XVIRTUALSCREEN = 76; + public static final int SM_YVIRTUALSCREEN = 77; + public static final int SM_CXVSCROLL = 0x2; + public static final int SM_CYBORDER = 0x6; + public static final int SM_CYCURSOR = 0xe; + public static final int SM_CYHSCROLL = 0x3; + public static final int SM_CYMENU = 0xf; + public static final int SM_CYSCREEN = 0x1; + public static final int SM_CYVSCROLL = 0x14; + public static final int SPI_GETWORKAREA = 0x30; + public static final int SPI_GETNONCLIENTMETRICS = 41; + public static final int SPI_GETWHEELSCROLLLINES = 104; + public static final int SPI_SETSIPINFO = 224; + public static final int SRCAND = 0x8800c6; + public static final int SRCCOPY = 0xcc0020; + public static final int SRCINVERT = 0x660046; + public static final int SRCPAINT = 0xee0086; + public static final int SS_BITMAP = 0xe; + public static final int SS_CENTER = 0x1; + public static final int SS_CENTERIMAGE = 0x200; + public static final int SS_ICON = 0x3; + public static final int SS_LEFT = 0x0; + public static final int SS_LEFTNOWORDWRAP = 0xc; + public static final int SS_NOTIFY = 0x100; + public static final int SS_OWNERDRAW = 0xd; + public static final int SS_REALSIZEIMAGE = 0x800; + public static final int SS_RIGHT = 0x2; + public static final int STANDARD_RIGHTS_READ = 0x20000; + public static final int STD_COPY = 0x1; + public static final int STD_CUT = 0x0; + public static final int STD_FILENEW = 0x6; + public static final int STD_FILEOPEN = 0x7; + public static final int STD_FILESAVE = 0x8; + public static final int STD_PASTE = 0x2; + public static final int STM_SETIMAGE = 0x172; + public static final int SWP_DRAWFRAME = 0x20; + public static final int SWP_NOACTIVATE = 0x10; + public static final int SWP_NOCOPYBITS = 0x100; + public static final int SWP_NOMOVE = 0x2; + public static final int SWP_NOREDRAW = 0x8; + public static final int SWP_NOSIZE = 0x1; + public static final int SWP_NOZORDER = 0x4; + public static final int SW_ERASE = 0x4; + public static final int SW_HIDE = 0x0; + public static final int SW_INVALIDATE = 0x2; + public static final int SW_PARENTOPENING = 0x3; + public static final int SW_RESTORE = OS.IsWinCE ? 0xd : 0x9; + public static final int SW_SCROLLCHILDREN = 0x1; + public static final int SW_SHOW = 0x5; + public static final int SW_SHOWMAXIMIZED = OS.IsWinCE ? 0xb : 0x3; + public static final int SW_SHOWMINNOACTIVE = 0x7; + public static final int SW_SHOWNA = 0x8; + public static final int SW_SHOWNOACTIVATE = 0x4; + public static final int SYNCHRONIZE = 0x100000; + public static final int SYSTEM_FONT = 0xd; + public static final int S_OK = 0x0; + public static final int TBIF_COMMAND = 0x20; + public static final int TBIF_STATE = 0x4; + public static final int TBIF_IMAGE = 0x1; + public static final int TBIF_LPARAM = 0x10; + public static final int TBIF_SIZE = 0x40; + public static final int TBIF_STYLE = 0x8; + public static final int TBIF_TEXT = 0x2; + public static final int TBM_GETLINESIZE = 0x418; + public static final int TBM_GETPAGESIZE = 0x416; + public static final int TBM_GETPOS = 0x400; + public static final int TBM_GETRANGEMAX = 0x402; + public static final int TBM_GETRANGEMIN = 0x401; + public static final int TBM_GETTHUMBRECT = 0x419; + public static final int TBM_SETLINESIZE = 0x417; + public static final int TBM_SETPAGESIZE = 0x415; + public static final int TBM_SETPOS = 0x405; + public static final int TBM_SETRANGEMAX = 0x408; + public static final int TBM_SETRANGEMIN = 0x407; + public static final int TBM_SETTICFREQ = 0x414; + public static final int TBN_DROPDOWN = 0xfffffd3a; + public static final int TBN_FIRST = 0xfffffd44; + public static final int TBSTATE_CHECKED = 0x1; + public static final int TBSTYLE_DROPDOWN = 0x8; + public static final int TBSTATE_ENABLED = 0x4; + public static final int TBSTYLE_AUTOSIZE = 0x10; + public static final int TBSTYLE_EX_DRAWDDARROWS = 0x1; + public static final int TBSTYLE_FLAT = 0x800; + public static final int TBSTYLE_LIST = 0x1000; + public static final int TBSTYLE_TOOLTIPS = 0x100; + public static final int TBSTYLE_TRANSPARENT = 0x8000; + public static final int TBSTYLE_WRAPABLE = 0x200; + public static final int TBS_AUTOTICKS = 0x1; + public static final int TBS_BOTH = 0x8; + public static final int TBS_HORZ = 0x0; + public static final int TBS_VERT = 0x2; + public static final int TB_ADDSTRING = IsUnicode ? 0x44d : 0x41c; + public static final int TB_BUTTONCOUNT = 0x418; + public static final int TB_BUTTONSTRUCTSIZE = 0x41e; + public static final int TB_COMMANDTOINDEX = 0x419; + public static final int TB_DELETEBUTTON = 0x416; + public static final int TB_ENDTRACK = 0x8; + public static final int TB_GETBUTTON = 0x417; + public static final int TB_GETBUTTONINFO = IsUnicode ? 0x43f : 0x441; + public static final int TB_GETBUTTONSIZE = 0x43a; + public static final int TB_GETBUTTONTEXT = IsUnicode ? 0x44b : 0x42d; + public static final int TB_GETDISABLEDIMAGELIST = 0x437; + public static final int TB_GETHOTIMAGELIST = 0x435; + public static final int TB_GETHOTITEM = 0x0400 + 71; + public static final int TB_GETIMAGELIST = 0x431; + public static final int TB_GETITEMRECT = 0x41d; + public static final int TB_GETROWS = 0x428; + public static final int TB_GETSTATE = 0x412; + public static final int TB_GETTOOLTIPS = 0x423; + public static final int TB_INSERTBUTTON = IsUnicode ? 0x443 : 0x415; + public static final int TB_LOADIMAGES = 0x432; + public static final int TB_MAPACCELERATOR = 0x0400 + (IsUnicode ? 90 : 78); + public static final int TB_SETBITMAPSIZE = 0x420; + public static final int TB_SETBUTTONINFO = IsUnicode ? 0x440 : 0x442; + public static final int TB_SETBUTTONSIZE = 0x41f; + public static final int TB_SETDISABLEDIMAGELIST = 0x436; + public static final int TB_SETEXTENDEDSTYLE = 0x454; + public static final int TB_SETHOTIMAGELIST = 0x434; + public static final int TB_SETHOTITEM = 0x0400 + 72; + public static final int TB_SETIMAGELIST = 0x430; + public static final int TB_SETROWS = 0x427; + public static final int TB_SETSTATE = 0x411; + public static final int TCIF_IMAGE = 0x2; + public static final int TCIF_TEXT = 0x1; + public static final int TCI_SRCCHARSET = 0x1; + public static final int TCI_SRCCODEPAGE = 0x2; + public static final int TCM_ADJUSTRECT = 0x1328; + public static final int TCM_DELETEITEM = 0x1308; + public static final int TCM_GETCURSEL = 0x130b; + public static final int TCM_GETITEMCOUNT = 0x1304; + public static final int TCM_GETITEMRECT = 0x130a; + public static final int TCM_GETTOOLTIPS = 0x132d; + public static final int TCM_INSERTITEM = IsUnicode ? 0x133e : 0x1307; + public static final int TCM_SETCURSEL = 0x130c; + public static final int TCM_SETIMAGELIST = 0x1303; + public static final int TCM_SETITEM = IsUnicode ? 0x133d : 0x1306; + public static final int TCN_SELCHANGE = 0xfffffdd9; + public static final int TCN_SELCHANGING = 0xfffffdd8; + public static final int TCS_FOCUSNEVER = 0x8000; + public static final int TCS_MULTILINE = 0x200; + public static final int TCS_TABS = 0x0; + public static final int TCS_TOOLTIPS = 0x4000; + public static final int TME_HOVER = 0x1; + public static final int TME_LEAVE = 0x2; + public static final int TME_QUERY = 0x40000000; + public static final int TMPF_VECTOR = 0x2; + public static final String TOOLBARCLASSNAME = "ToolbarWindow32"; + public static final String TOOLTIPS_CLASS = "tooltips_class32"; + public static final int TPM_LEFTALIGN = 0x0; + public static final int TPM_LEFTBUTTON = 0x0; + public static final int TPM_RIGHTBUTTON = 0x2; + public static final int TPM_RIGHTALIGN = 0x8; + public static final String TRACKBAR_CLASS = "msctls_trackbar32"; + public static final int TRANSPARENT = 0x1; + public static final int TTF_IDISHWND = 0x1; + public static final int TTF_SUBCLASS = 0x10; + public static final int TTM_ADDTOOL = IsUnicode ? 0x432 : 0x404; + public static final int TTM_DELTOOL = IsUnicode ? 0x433 : 0x405; + public static final int TTM_SETMAXTIPWIDTH = 0x418; + public static final int TTM_UPDATE = 0x41D; + public static final int TTN_FIRST = 0xfffffdf8; + public static final int TTN_GETDISPINFO = IsUnicode ? 0xfffffdee : 0xfffffdf8; + public static final int TTN_GETDISPINFOW = 0xfffffdee; + public static final int TTN_GETDISPINFOA = 0xfffffdf8; + public static final int TTN_POP = TTN_FIRST - 2; + public static final int TTN_SHOW = TTN_FIRST - 1; + public static final int TTS_ALWAYSTIP = 0x1; + public static final int TVE_COLLAPSE = 0x1; + public static final int TVE_EXPAND = 0x2; + public static final int TVGN_CARET = 0x9; + public static final int TVGN_CHILD = 0x4; + public static final int TVGN_FIRSTVISIBLE = 0x5; + public static final int TVGN_LASTVISIBLE = 0xa; + public static final int TVGN_NEXT = 0x1; + public static final int TVGN_NEXTVISIBLE = 0x6; + public static final int TVGN_PARENT = 0x3; + public static final int TVGN_PREVIOUSVISIBLE = 0x7; + public static final int TVGN_ROOT = 0x0; + public static final int TVHT_ONITEM = 0x46; + public static final int TVHT_ONITEMICON = 0x2; + public static final int TVHT_ONITEMLABEL = 0x4; + public static final int TVHT_ONITEMSTATEICON = 0x40; + public static final int TVIF_HANDLE = 0x10; + public static final int TVIF_IMAGE = 0x2; + public static final int TVIF_PARAM = 0x4; + public static final int TVIF_SELECTEDIMAGE = 0x20; + public static final int TVIF_STATE = 0x8; + public static final int TVIF_TEXT = 0x1; + public static final int TVIS_DROPHILITED = 0x8; + public static final int TVIS_EXPANDED = 0x20; + public static final int TVIS_SELECTED = 0x2; + public static final int TVIS_STATEIMAGEMASK = 0xf000; + public static final int TVI_FIRST = 0xffff0001; + public static final int TVI_LAST = 0xffff0002; + public static final int TVI_ROOT = 0xffff0000; + public static final int TVM_DELETEITEM = 0x1101; + public static final int TVM_ENSUREVISIBLE = 0x1114; + public static final int TVM_EXPAND = 0x1102; + public static final int TVM_GETBKCOLOR = 0x111f; + public static final int TVM_GETCOUNT = 0x1105; + public static final int TVM_GETIMAGELIST = 0x1108; + public static final int TVM_GETITEM = IsUnicode ? 0x113e : 0x110c; + public static final int TVM_GETITEMHEIGHT = 0x111c; + public static final int TVM_GETITEMRECT = 0x1104; + public static final int TVM_GETNEXTITEM = 0x110a; + public static final int TVM_GETTEXTCOLOR = 0x1120; + public static final int TVM_GETTOOLTIPS = OS.TV_FIRST + 25; + public static final int TVM_GETVISIBLECOUNT = OS.TV_FIRST + 16; + public static final int TVM_HITTEST = 0x1111; + public static final int TVM_INSERTITEM = IsUnicode ? 0x1132 : 0x1100; + public static final int TVM_SELECTITEM = 0x110b; + public static final int TVM_SETBKCOLOR = 0x111d; + public static final int TVM_SETIMAGELIST = 0x1109; + public static final int TVM_SETINSERTMARK = 0x111a; + public static final int TVM_SETITEM = IsUnicode ? 0x113f : 0x110d; + public static final int TVM_SETTEXTCOLOR = 0x111e; + public static final int TVN_BEGINDRAG = IsUnicode ? 0xfffffe38 : 0xfffffe69; + public static final int TVN_BEGINDRAGW = 0xfffffe38; + public static final int TVN_BEGINDRAGA = 0xfffffe69; + public static final int TVN_BEGINRDRAG = IsUnicode ? 0xfffffe37 : 0xfffffe68; + public static final int TVN_BEGINRDRAGW = 0xfffffe37; + public static final int TVN_BEGINRDRAGA = 0xfffffe68; + public static final int TVN_FIRST = 0xfffffe70; + public static final int TVN_ITEMEXPANDING = IsUnicode ? 0xfffffe3a : 0xfffffe6b; + public static final int TVN_ITEMEXPANDINGW = 0xfffffe3a; + public static final int TVN_ITEMEXPANDINGA = 0xfffffe6b; + public static final int TVN_SELCHANGED = IsUnicode ? 0xfffffe3d : 0xfffffe6e; + public static final int TVN_SELCHANGEDW = 0xfffffe3d; + public static final int TVN_SELCHANGEDA = 0xfffffe6e; + public static final int TVN_SELCHANGING = IsUnicode ? 0xfffffe3e : 0xfffffe6f; + public static final int TVN_SELCHANGINGW = 0xfffffe3e; + public static final int TVN_SELCHANGINGA = 0xfffffe6f; + public static final int TVSIL_NORMAL = 0x0; + public static final int TVSIL_STATE = 0x2; + public static final int TVS_DISABLEDRAGDROP = 0x10; + public static final int TVS_FULLROWSELECT = 0x1000; + public static final int TVS_HASBUTTONS = 0x1; + public static final int TVS_HASLINES = 0x2; + public static final int TVS_LINESATROOT = 0x4; + public static final int TVS_NOTOOLTIPS = 0x80; + public static final int TVS_SHOWSELALWAYS = 0x20; + public static final int TV_FIRST = 0x1100; + public static final int UIS_INITIALIZE = 3; + public static final int VERTRES = 0xa; + public static final int VK_BACK = 0x8; + public static final int VK_CAPITAL = 0x14; + public static final int VK_CONTROL = 0x11; + public static final int VK_DECIMAL = 0x6E; + public static final int VK_DELETE = 0x2e; + public static final int VK_DIVIDE = 0x6f; + public static final int VK_DOWN = 0x28; + public static final int VK_END = 0x23; + public static final int VK_ESCAPE = 0x1b; + public static final int VK_F1 = 0x70; + public static final int VK_F10 = 0x79; + public static final int VK_F11 = 0x7a; + public static final int VK_F12 = 0x7b; + public static final int VK_F2 = 0x71; + public static final int VK_F3 = 0x72; + public static final int VK_F4 = 0x73; + public static final int VK_F5 = 0x74; + public static final int VK_F6 = 0x75; + public static final int VK_F7 = 0x76; + public static final int VK_F8 = 0x77; + public static final int VK_F9 = 0x78; + public static final int VK_HOME = 0x24; + public static final int VK_INSERT = 0x2d; + public static final int VK_LBUTTON = 0x1; + public static final int VK_LEFT = 0x25; + public static final int VK_MBUTTON = 0x4; + public static final int VK_MENU = 0x12; + public static final int VK_MULTIPLY = 0x6A; + public static final int VK_NEXT = 0x22; + public static final int VK_NUMLOCK = 0x90; + public static final int VK_NUMPAD0 = 0x60; + public static final int VK_NUMPAD1 = 0x61; + public static final int VK_NUMPAD2 = 0x62; + public static final int VK_NUMPAD3 = 0x63; + public static final int VK_NUMPAD4 = 0x64; + public static final int VK_NUMPAD5 = 0x65; + public static final int VK_NUMPAD6 = 0x66; + public static final int VK_NUMPAD7 = 0x67; + public static final int VK_NUMPAD8 = 0x68; + public static final int VK_NUMPAD9 = 0x69; + public static final int VK_PRIOR = 0x21; + public static final int VK_RBUTTON = 0x2; + public static final int VK_RETURN = 0xd; + public static final int VK_RIGHT = 0x27; + public static final int VK_SCROLL = 0x91; + public static final int VK_SEPARATOR = 0x6C; + public static final int VK_SHIFT = 0x10; + public static final int VK_SPACE = 0x20; + public static final int VK_SUBTRACT = 0x6D; + public static final int VK_TAB = 0x9; + public static final int VK_UP = 0x26; + public static final int VK_ADD = 0x6B; + public static final int VK_APP1 = 0xc1; + public static final int VK_APP2 = 0xc2; + public static final int VK_APP3 = 0xc3; + public static final int VK_APP4 = 0xc4; + public static final int VK_APP5 = 0xc5; + public static final int VK_APP6 = 0xc6; + public static final String WC_LISTVIEW = "SysListView32"; + public static final String WC_TABCONTROL = "SysTabControl32"; + public static final String WC_TREEVIEW = "SysTreeView32"; + public static final int WH_GETMESSAGE = 0x3; + public static final int WH_MSGFILTER = 0xFFFFFFFF; + public static final int WHEEL_DELTA = 120; + public static final int WHEEL_PAGESCROLL = 0xFFFFFFFF; + public static final int WM_ACTIVATE = 0x6; + public static final int WM_ACTIVATEAPP = 0x1c; + public static final int WM_APP = 0x8000; + public static final int WM_CANCELMODE = 0x1f; + public static final int WM_CHANGEUISTATE = 0x0127; + public static final int WM_CHAR = 0x102; + public static final int WM_CLEAR = 0x303; + public static final int WM_CLOSE = 0x10; + public static final int WM_COMMAND = 0x111; + public static final int WM_CONTEXTMENU = 0x7b; + public static final int WM_COPY = 0x301; + public static final int WM_CTLCOLORBTN = 0x135; + public static final int WM_CTLCOLORDLG = 0x136; + public static final int WM_CTLCOLOREDIT = 0x133; + public static final int WM_CTLCOLORLISTBOX = 0x134; + public static final int WM_CTLCOLORMSGBOX = 0x132; + public static final int WM_CTLCOLORSCROLLBAR = 0x137; + public static final int WM_CTLCOLORSTATIC = 0x138; + public static final int WM_CUT = 0x300; + public static final int WM_DESTROY = 0x2; + public static final int WM_DRAWITEM = 0x2b; + public static final int WM_ENDSESSION = 0x16; + public static final int WM_ERASEBKGND = 0x14; + public static final int WM_GETDLGCODE = 0x87; + public static final int WM_GETFONT = 0x31; +// public static final int WM_GETICON = 0x7f; + public static final int WM_GETOBJECT = 0x003D; + public static final int WM_HELP = 0x53; + public static final int WM_HOTKEY = 0x0312; + public static final int WM_HSCROLL = 0x114; + public static final int WM_IME_CHAR = 0x286; + public static final int WM_IME_COMPOSITION = 0x10f; + public static final int WM_INITDIALOG = 0x110; + public static final int WM_INITMENUPOPUP = 0x117; + public static final int WM_KEYDOWN = 0x100; + public static final int WM_KEYFIRST = 0x100; + public static final int WM_KEYLAST = 0x108; + public static final int WM_KEYUP = 0x101; + public static final int WM_KILLFOCUS = 0x8; + public static final int WM_LBUTTONDBLCLK = 0x203; + public static final int WM_LBUTTONDOWN = 0x201; + public static final int WM_LBUTTONUP = 0x202; + public static final int WM_MBUTTONDBLCLK = 0x209; + public static final int WM_MBUTTONDOWN = 0x207; + public static final int WM_MBUTTONUP = 0x208; + public static final int WM_MEASUREITEM = 0x2c; + public static final int WM_MENUCHAR = 0x120; + public static final int WM_MENUSELECT = 0x11f; + public static final int WM_MOUSEACTIVATE = 0x21; + public static final int WM_MOUSEFIRST = 0x200; + public static final int WM_MOUSEHOVER = 0x2a1; + public static final int WM_MOUSELEAVE = 0x2a3; + public static final int WM_MOUSEMOVE = 0x200; + public static final int WM_MOUSEWHEEL = 0x20a; + public static final int WM_MOUSELAST = 0x20d; + public static final int WM_MOVE = 0x3; + public static final int WM_NCACTIVATE = 0x86; + public static final int WM_NCCALCSIZE = 0x83; + public static final int WM_NCHITTEST = 0x84; + public static final int WM_NOTIFY = 0x4e; + public static final int WM_NULL = 0x0; + public static final int WM_PAINT = 0xf; + public static final int WM_PALETTECHANGED = 0x311; + public static final int WM_PASTE = 0x302; + public static final int WM_PRINTCLIENT = 0x0318; + public static final int WM_QUERYENDSESSION = 0x11; + public static final int WM_QUERYNEWPALETTE = 0x30f; + public static final int WM_QUERYOPEN = 0x13; + public static final int WM_RBUTTONDBLCLK = 0x206; + public static final int WM_RBUTTONDOWN = 0x204; + public static final int WM_RBUTTONUP = 0x205; + public static final int WM_SETCURSOR = 0x20; + public static final int WM_SETFOCUS = 0x7; + public static final int WM_SETFONT = 0x30; + public static final int WM_SETICON = 0x80; + public static final int WM_SETREDRAW = 0xb; + public static final int WM_SETTINGCHANGE = 0x1A; + public static final int WM_SHOWWINDOW = 0x18; + public static final int WM_SIZE = 0x5; + public static final int WM_SYSCHAR = 0x106; + public static final int WM_SYSCOLORCHANGE = 0x15; + public static final int WM_SYSCOMMAND = 0x112; + public static final int WM_SYSKEYDOWN = 0x104; + public static final int WM_SYSKEYUP = 0x105; + public static final int WM_TIMER = 0x113; + public static final int WM_UNDO = 0x304; + public static final int WM_USER = 0x400; + public static final int WM_VSCROLL = 0x115; + public static final int WM_WINDOWPOSCHANGING = 0x46; + public static final int WS_BORDER = 0x800000; + public static final int WS_CAPTION = 0xc00000; + public static final int WS_CHILD = 0x40000000; + public static final int WS_CLIPCHILDREN = 0x2000000; + public static final int WS_CLIPSIBLINGS = 0x4000000; + public static final int WS_EX_CAPTIONOKBTN = 0x80000000; + public static final int WS_EX_CLIENTEDGE = 0x200; + public static final int WS_EX_DLGMODALFRAME = 0x1; + public static final int WS_EX_LAYOUTRTL = 0x00400000; + public static final int WS_EX_NOINHERITLAYOUT = 0x00100000; + public static final int WS_EX_STATICEDGE = 0x20000; + public static final int WS_EX_TOOLWINDOW = 0x80; + public static final int WS_EX_TOPMOST = 0x8; + public static final int WS_EX_TRANSPARENT = 0x20; + public static final int WS_HSCROLL = 0x100000; + public static final int WS_MAXIMIZEBOX = OS.IsWinCE ? 0x20000 : 0x10000; + public static final int WS_MINIMIZEBOX = OS.IsWinCE ? 0x10000 : 0x20000; + public static final int WS_OVERLAPPED = OS.IsWinCE ? WS_BORDER | WS_CAPTION : 0x0; + public static final int WS_OVERLAPPEDWINDOW = 0xcf0000; + public static final int WS_POPUP = 0x80000000; + public static final int WS_SYSMENU = 0x80000; + public static final int WS_TABSTOP = 0x10000; + public static final int WS_THICKFRAME = 0x40000; + public static final int WS_VISIBLE = 0x10000000; + public static final int WS_VSCROLL = 0x200000; + +/** Ansi/Unicode wrappers */ + +public static final int CallWindowProc (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam) { + if (IsUnicode) return CallWindowProcW (lpPrevWndFunc, hWnd, Msg, wParam, lParam); + return CallWindowProcA (lpPrevWndFunc, hWnd, Msg, wParam, lParam); +} + +public static final short CharUpper (short ch) { + if (IsUnicode) return CharUpperW (ch); + return CharUpperA (ch); +} + +public static final short CharLower (short ch) { + if (IsUnicode) return CharLowerW (ch); + return CharLowerA (ch); +} + +public static final boolean ChooseColor (CHOOSECOLOR lpcc) { + if (IsUnicode) return ChooseColorW (lpcc); + return ChooseColorA (lpcc); +} + +public static final boolean ChooseFont (CHOOSEFONT chooseFont) { + if (IsUnicode) return ChooseFontW (chooseFont); + return ChooseFontA (chooseFont); +} + +public static final int CreateAcceleratorTable (byte [] lpaccl, int cEntries) { + if (IsUnicode) return CreateAcceleratorTableW (lpaccl, cEntries); + return CreateAcceleratorTableA (lpaccl, cEntries); +} + +public static final int CreateDC (TCHAR lpszDriver, TCHAR lpszDevice, int lpszOutput, int lpInitData) { + if (IsUnicode) { + char [] lpszDriver1 = lpszDriver == null ? null : lpszDriver.chars; + char [] lpszDevice1 = lpszDevice == null ? null : lpszDevice.chars; + return CreateDCW (lpszDriver1, lpszDevice1, lpszOutput, lpInitData); + } + byte [] lpszDriver1 = lpszDriver == null ? null : lpszDriver.bytes; + byte [] lpszDevice1 = lpszDevice == null ? null : lpszDevice.bytes; + return CreateDCA (lpszDriver1, lpszDevice1, lpszOutput, lpInitData); +} + +public static final int CreateFontIndirect (int lplf) { + if (IsUnicode) return CreateFontIndirectW (lplf); + return CreateFontIndirectA (lplf); +} + +public static final int CreateFontIndirect (LOGFONT lplf) { + if (IsUnicode) return CreateFontIndirectW (lplf); + return CreateFontIndirectA (lplf); +} + +public static final int CreateWindowEx (int dwExStyle, TCHAR lpClassName, TCHAR lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam) { + if (IsUnicode) { + char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars; + char [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.chars; + return CreateWindowExW (dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); + } + byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes; + byte [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.bytes; + return CreateWindowExA (dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); +} + +public static final int DefWindowProc (int hWnd, int Msg, int wParam, int lParam) { + if (IsUnicode) return DefWindowProcW (hWnd, Msg, wParam, lParam); + return DefWindowProcA (hWnd, Msg, wParam, lParam); +} + +public static final int DispatchMessage (MSG lpmsg) { + if (IsUnicode) return DispatchMessageW (lpmsg); + return DispatchMessageA (lpmsg); +} + +public static final int DragQueryFile (int hDrop, int iFile, TCHAR lpszFile, int cch) { + if (IsUnicode) { + char [] lpszFile1 = lpszFile == null ? null : lpszFile.chars; + return DragQueryFileW (hDrop, iFile, lpszFile1, cch); + } + byte [] lpszFile1 = lpszFile == null ? null : lpszFile.bytes; + return DragQueryFileA (hDrop, iFile, lpszFile1, cch); +} + +public static final boolean DrawState (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags) { + if (IsUnicode) return DrawStateW (hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags); + return DrawStateA (hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags); +} + +public static final int DrawText (int hDC, TCHAR lpString, int nCount, RECT lpRect, int uFormat) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return DrawTextW (hDC, lpString1, nCount, lpRect, uFormat); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return DrawTextA (hDC, lpString1, nCount, lpRect, uFormat); +} + +public static final int EnumFontFamilies (int hdc, TCHAR lpszFamily, int lpEnumFontFamProc, int lParam) { + if (IsUnicode) { + char [] lpszFamily1 = lpszFamily == null ? null : lpszFamily.chars; + return EnumFontFamiliesW (hdc, lpszFamily1, lpEnumFontFamProc, lParam); + } + byte [] lpszFamily1 = lpszFamily == null ? null : lpszFamily.bytes; + return EnumFontFamiliesA (hdc, lpszFamily1, lpEnumFontFamProc, lParam); +} + +public static final boolean EnumSystemLocales (int lpLocaleEnumProc, int dwFlags) { + if (IsUnicode) return EnumSystemLocalesW (lpLocaleEnumProc, dwFlags); + return EnumSystemLocalesA (lpLocaleEnumProc, dwFlags); +} + +public static final boolean EnumSystemLanguageGroups (int pLangGroupEnumProc, int dwFlags, int lParam) { + if (IsUnicode) return EnumSystemLanguageGroupsW (pLangGroupEnumProc, dwFlags, lParam); + return EnumSystemLanguageGroupsA (pLangGroupEnumProc, dwFlags, lParam); +} + +public static final int ExpandEnvironmentStrings (TCHAR lpSrc, TCHAR lpDst, int nSize) { + if (IsUnicode) { + char [] lpSrc1 = lpSrc == null ? null : lpSrc.chars; + char [] lpDst1 = lpDst == null ? null : lpDst.chars; + return ExpandEnvironmentStringsW (lpSrc1, lpDst1, nSize); + } + byte [] lpSrc1 = lpSrc == null ? null : lpSrc.bytes; + byte [] lpDst1 = lpDst == null ? null : lpDst.bytes; + return ExpandEnvironmentStringsA (lpSrc1, lpDst1, nSize); +} + +public static final int ExtractIconEx (TCHAR lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons) { + if (IsUnicode) { + char [] lpszFile1 = lpszFile == null ? null : lpszFile.chars; + return ExtractIconExW (lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons); + } + byte [] lpszFile1 = lpszFile == null ? null : lpszFile.bytes; + return ExtractIconExA (lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons); +} + +public static final boolean ExtTextOut(int hdc, int X, int Y, int fuOptions, RECT lprc, TCHAR lpString, int cbCount, int[] lpDx) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return ExtTextOutW (hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return ExtTextOutA (hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx); +} + +public static final int FindWindow (TCHAR lpClassName, TCHAR lpWindowName) { + if (IsUnicode) { + char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars; + char [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.chars; + return FindWindowW (lpClassName1, lpWindowName1); + } + byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes; + byte [] lpWindowName1 = lpWindowName == null ? null : lpWindowName.bytes; + return FindWindowA (lpClassName1, lpWindowName1); +} + +public static final boolean GetCharABCWidths (int hdc, int iFirstChar, int iLastChar, int [] lpabc) { + if (IsUnicode) return GetCharABCWidthsW (hdc,iFirstChar, iLastChar, lpabc); + return GetCharABCWidthsA (hdc,iFirstChar, iLastChar, lpabc); +} + +public static final int GetCharacterPlacement (int hdc, TCHAR lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return GetCharacterPlacementW (hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return GetCharacterPlacementA (hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags); +} + +public static final boolean GetCharWidth (int hdc, int iFirstChar, int iLastChar, int [] lpabc) { + if (IsUnicode) return GetCharWidthW (hdc,iFirstChar, iLastChar, lpabc); + return GetCharWidthA (hdc,iFirstChar, iLastChar, lpabc); +} + +public static final boolean GetClassInfo (int hInstance, TCHAR lpClassName, WNDCLASS lpWndClass) { + if (IsUnicode) { + char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars; + return GetClassInfoW (hInstance, lpClassName1, lpWndClass); + } + byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes; + return GetClassInfoA (hInstance, lpClassName1, lpWndClass); +} + +public static final int GetClipboardFormatName (int format, TCHAR lpszFormatName, int cchMaxCount) { + if (IsUnicode) { + char [] lpszFormatName1 = lpszFormatName == null ? null : lpszFormatName.chars; + return GetClipboardFormatNameW (format, lpszFormatName1, cchMaxCount); + } + byte [] lpszFormatName1 = lpszFormatName == null ? null : lpszFormatName.bytes; + return GetClipboardFormatNameA (format, lpszFormatName1, cchMaxCount); +} + +public static final int GetKeyNameText (int lParam, TCHAR lpString, int nSize) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return GetKeyNameTextW (lParam, lpString1, nSize); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return GetKeyNameTextA (lParam, lpString1, nSize); +} + +public static final int GetLocaleInfo (int Locale, int LCType, TCHAR lpLCData, int cchData) { + if (IsUnicode) { + char [] lpLCData1 = lpLCData == null ? null : lpLCData.chars; + return GetLocaleInfoW (Locale, LCType, lpLCData1, cchData); + } + byte [] lpLCData1 = lpLCData == null ? null : lpLCData.bytes; + return GetLocaleInfoA (Locale, LCType, lpLCData1, cchData); +} + +public static final boolean GetMenuItemInfo (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) { + if (IsUnicode) return GetMenuItemInfoW (hMenu, uItem, fByPosition, lpmii); + return GetMenuItemInfoA (hMenu, uItem, fByPosition, lpmii); +} + +public static final boolean GetMessage (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax) { + if (IsUnicode) return GetMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); + return GetMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); +} + +public static final int GetModuleHandle (TCHAR lpModuleName) { + if (IsUnicode) { + char [] lpModuleName1 = lpModuleName == null ? null : lpModuleName.chars; + return GetModuleHandleW (lpModuleName1); + } + byte [] lpModuleName1 = lpModuleName == null ? null : lpModuleName.bytes; + return GetModuleHandleA (lpModuleName1); +} + +public static final int GetObject (int hgdiobj, int cbBuffer, BITMAP lpvObject) { + if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject); + return GetObjectA (hgdiobj, cbBuffer, lpvObject); +} + +public static final int GetObject (int hgdiobj, int cbBuffer, DIBSECTION lpvObject) { + if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject); + return GetObjectA (hgdiobj, cbBuffer, lpvObject); +} + +public static final int GetObject (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject) { + if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject); + return GetObjectA (hgdiobj, cbBuffer, lpvObject); +} + +public static final int GetObject (int hgdiobj, int cbBuffer, LOGFONT lpvObject) { + if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject); + return GetObjectA (hgdiobj, cbBuffer, lpvObject); +} + +public static final int GetObject (int hgdiobj, int cbBuffer, LOGPEN lpvObject) { + if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject); + return GetObjectA (hgdiobj, cbBuffer, lpvObject); +} + +public static final boolean GetOpenFileName (OPENFILENAME lpofn) { + if (IsUnicode) return GetOpenFileNameW (lpofn); + return GetOpenFileNameA (lpofn); +} + +public static final int GetProfileString (TCHAR lpAppName, TCHAR lpKeyName, TCHAR lpDefault, TCHAR lpReturnedString, int nSize) { + if (IsUnicode) { + char [] lpAppName1 = lpAppName == null ? null : lpAppName.chars; + char [] lpKeyName1 = lpKeyName == null ? null : lpKeyName.chars; + char [] lpDefault1 = lpDefault == null ? null : lpDefault.chars; + char [] lpReturnedString1 = lpReturnedString == null ? null : lpReturnedString.chars; + return GetProfileStringW (lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize); + } + byte [] lpAppName1 = lpAppName == null ? null : lpAppName.bytes; + byte [] lpKeyName1 = lpKeyName == null ? null : lpKeyName.bytes; + byte [] lpDefault1 = lpDefault == null ? null : lpDefault.bytes; + byte [] lpReturnedString1 = lpReturnedString == null ? null : lpReturnedString.bytes; + return GetProfileStringA (lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize); +} + +public static final boolean GetSaveFileName (OPENFILENAME lpofn) { + if (IsUnicode) return GetSaveFileNameW (lpofn); + return GetSaveFileNameA (lpofn); +} + +public static final boolean GetTextExtentPoint32 (int hdc, TCHAR lpString, int cbString, SIZE lpSize) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return GetTextExtentPoint32W (hdc, lpString1, cbString, lpSize); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return GetTextExtentPoint32A (hdc, lpString1, cbString, lpSize); +} + +public static final boolean GetTextMetrics (int hdc, TEXTMETRIC lptm) { + if (IsUnicode) return GetTextMetricsW (hdc, lptm); + return GetTextMetricsA (hdc, lptm); +} + +public static final boolean GetVersionEx (OSVERSIONINFO lpVersionInfo) { + if (IsUnicode) return GetVersionExW (lpVersionInfo); + return GetVersionExA (lpVersionInfo); +} + +public static final int GetWindowLong (int hWnd, int nIndex) { + if (IsUnicode) return GetWindowLongW (hWnd, nIndex); + return GetWindowLongA (hWnd, nIndex); +} + +public static final int GetWindowText (int hWnd, TCHAR lpString, int nMaxCount) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return GetWindowTextW (hWnd, lpString1, nMaxCount); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return GetWindowTextA (hWnd, lpString1, nMaxCount); +} + +public static final int GetWindowTextLength (int hWnd) { + if (IsUnicode) return GetWindowTextLengthW (hWnd); + return GetWindowTextLengthA (hWnd); +} + +public static final boolean ImmGetCompositionFont (int hIMC, LOGFONT lplf) { + if (IsUnicode) return ImmGetCompositionFontW (hIMC, lplf); + return ImmGetCompositionFontA (hIMC, lplf); +} + +public static final boolean ImmSetCompositionFont (int hIMC, LOGFONT lplf) { + if (IsUnicode) return ImmSetCompositionFontW (hIMC, lplf); + return ImmSetCompositionFontA (hIMC, lplf); +} + +public static final int ImmGetCompositionString (int hIMC, int dwIndex, TCHAR lpBuf, int dwBufLen) { + if (IsUnicode) { + char [] lpBuf1 = lpBuf == null ? null : lpBuf.chars; + return ImmGetCompositionStringW (hIMC, dwIndex, lpBuf1, dwBufLen); + } + byte [] lpBuf1 = lpBuf == null ? null : lpBuf.bytes; + return ImmGetCompositionStringA (hIMC, dwIndex, lpBuf1, dwBufLen); +} + +public static final boolean InsertMenu (int hMenu, int uPosition, int uFlags, int uIDNewItem, TCHAR lpNewItem) { + if (IsUnicode) { + char [] lpNewItem1 = lpNewItem == null ? null : lpNewItem.chars; + return InsertMenuW (hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1); + } + byte [] lpNewItem1 = lpNewItem == null ? null : lpNewItem.bytes; + return InsertMenuA (hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1); +} + +public static final boolean InsertMenuItem (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) { + if (IsUnicode) return InsertMenuItemW (hMenu, uItem, fByPosition, lpmii); + return InsertMenuItemA (hMenu, uItem, fByPosition, lpmii); +} + +public static final int LoadBitmap (int hInstance, int lpBitmapName) { + if (IsUnicode) return LoadBitmapW (hInstance, lpBitmapName); + return LoadBitmapA (hInstance, lpBitmapName); +} + +public static final int LoadCursor (int hInstance, int lpCursorName) { + if (IsUnicode) return LoadCursorW (hInstance, lpCursorName); + return LoadCursorA (hInstance, lpCursorName); +} + +public static final int LoadIcon (int hInstance, int lpIconName) { + if (IsUnicode) return LoadIconW (hInstance, lpIconName); + return LoadIconA (hInstance, lpIconName); +} + +public static final int LoadImage (int hinst, TCHAR lpszName, int uType, int cxDesired, int cyDesired, int fuLoad) { + if (IsUnicode) { + char [] lpszName1 = lpszName == null ? null : lpszName.chars; + return LoadImageW (hinst, lpszName1, uType, cxDesired, cyDesired, fuLoad); + } + byte [] lpszName1 = lpszName == null ? null : lpszName.bytes; + return LoadImageA (hinst, lpszName1, uType, cxDesired, cyDesired, fuLoad); +} + +public static final int LoadLibrary (TCHAR lpLibFileName) { + if (IsUnicode) { + char [] lpLibFileName1 = lpLibFileName == null ? null : lpLibFileName.chars; + return LoadLibraryW (lpLibFileName1); + } + byte [] lpLibFileName1 = lpLibFileName == null ? null : lpLibFileName.bytes; + return LoadLibraryA (lpLibFileName1); +} + +public static final int MapVirtualKey (int uCode, int uMapType) { + if (IsUnicode) return MapVirtualKeyW (uCode, uMapType); + return MapVirtualKeyA (uCode, uMapType); +} + +public static final int MessageBox (int hWnd, TCHAR lpText, TCHAR lpCaption, int uType) { + if (IsUnicode) { + char [] lpText1 = lpText == null ? null : lpText.chars; + char [] lpCaption1 = lpCaption == null ? null : lpCaption.chars; + return MessageBoxW (hWnd, lpText1, lpCaption1, uType); + } + byte [] lpText1 = lpText == null ? null : lpText.bytes; + byte [] lpCaption1 = lpCaption == null ? null : lpCaption.bytes; + return MessageBoxA (hWnd, lpText1, lpCaption1, uType); +} + +public static final void MoveMemory (int Destination, TCHAR Source, int Length) { + if (IsUnicode) { + char [] Source1 = Source == null ? null : Source.chars; + MoveMemory (Destination, Source1, Length); + } else { + byte [] Source1 = Source == null ? null : Source.bytes; + MoveMemory (Destination, Source1, Length); + } +} + +public static final void MoveMemory (TCHAR Destination, int Source, int Length) { + if (IsUnicode) { + char [] Destination1 = Destination == null ? null : Destination.chars; + MoveMemory (Destination1, Source, Length); + } else { + byte [] Destination1 = Destination == null ? null : Destination.bytes; + MoveMemory (Destination1, Source, Length); + } +} + +public static final void MoveMemory (int Destination, LOGFONT Source, int Length) { + if (IsUnicode) { + MoveMemoryW (Destination, Source, Length); + } else { + MoveMemoryA (Destination, Source, Length); + } +} + +public static final void MoveMemory (LOGFONT Destination, int Source, int Length) { + if (IsUnicode) { + MoveMemoryW (Destination, Source, Length); + } else { + MoveMemoryA (Destination, Source, Length); + } +} + +public static final void MoveMemory (int Destination, NMTTDISPINFO Source, int Length) { + if (IsUnicode) { + MoveMemoryW (Destination, Source, Length); + } else { + MoveMemoryA (Destination, Source, Length); + } +} + +public static final void MoveMemory (NMTTDISPINFO Destination, int Source, int Length) { + if (IsUnicode) { + MoveMemoryW (Destination, Source, Length); + } else { + MoveMemoryA (Destination, Source, Length); + } +} + +public static final boolean PeekMessage (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg) { + if (IsUnicode) return PeekMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); + return PeekMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); +} + +public static final boolean PostMessage (int hWnd, int Msg, int wParam, int lParam) { + if (IsUnicode) return PostMessageW (hWnd, Msg, wParam, lParam); + return PostMessageA (hWnd, Msg, wParam, lParam); +} + +public static final boolean PostThreadMessage (int idThread, int Msg, int wParam, int lParam) { + if (IsUnicode) return PostThreadMessageW (idThread, Msg, wParam, lParam); + return PostThreadMessageA (idThread, Msg, wParam, lParam); +} + +public static final boolean PrintDlg (PRINTDLG lppd) { + if (IsUnicode) return PrintDlgW (lppd); + return PrintDlgA (lppd); +} + +public static final int RegEnumKeyEx (int hKey, int dwIndex, TCHAR lpName, int [] lpcName, int [] lpReserved, TCHAR lpClass, int [] lpcClass, FILETIME lpftLastWriteTime) { + if (IsUnicode) { + char [] lpName1 = lpName == null ? null : lpName.chars; + char [] lpClass1 = lpClass == null ? null : lpClass.chars; + return RegEnumKeyExW (hKey, dwIndex, lpName1, lpcName, lpReserved, lpClass1, lpcClass, lpftLastWriteTime); + } + byte [] lpName1 = lpName == null ? null : lpName.bytes; + byte [] lpClass1 = lpClass == null ? null : lpClass.bytes; + return RegEnumKeyExA (hKey, dwIndex, lpName1, lpcName, lpReserved, lpClass1, lpcClass, lpftLastWriteTime); +} + +public static final int RegisterClass (WNDCLASS lpWndClass) { + if (IsUnicode) return RegisterClassW (lpWndClass); + return RegisterClassA (lpWndClass); +} + +public static final int RegisterClipboardFormat (TCHAR lpszFormat) { + if (IsUnicode) { + char [] lpszFormat1 = lpszFormat == null ? null : lpszFormat.chars; + return RegisterClipboardFormatW (lpszFormat1); + } + byte [] lpszFormat1 = lpszFormat == null ? null : lpszFormat.bytes; + return RegisterClipboardFormatA (lpszFormat1); +} + +public static final int RegOpenKeyEx (int hKey, TCHAR lpSubKey, int ulOptions, int samDesired, int[] phkResult) { + if (IsUnicode) { + char [] lpSubKey1 = lpSubKey == null ? null : lpSubKey.chars; + return RegOpenKeyExW (hKey, lpSubKey1, ulOptions, samDesired, phkResult); + } + byte [] lpSubKey1 = lpSubKey == null ? null : lpSubKey.bytes; + return RegOpenKeyExA (hKey, lpSubKey1, ulOptions, samDesired, phkResult); +} + +public static final int RegQueryInfoKey (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime){ + if (IsUnicode) return RegQueryInfoKeyW (hKey, lpClass, lpcbClass, lpReserved, lpSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime); + return RegQueryInfoKeyA (hKey, lpClass, lpcbClass, lpReserved, lpSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime); +} + +public static final int RegQueryValueEx (int hKey, TCHAR lpValueName, int lpReserved, int[] lpType, TCHAR lpData, int[] lpcbData) { + if (IsUnicode) { + char [] lpValueName1 = lpValueName == null ? null : lpValueName.chars; + char [] lpData1 = lpData == null ? null : lpData.chars; + return RegQueryValueExW (hKey, lpValueName1, lpReserved, lpType, lpData1, lpcbData); + } + byte [] lpValueName1 = lpValueName == null ? null : lpValueName.bytes; + byte [] lpData1 = lpData == null ? null : lpData.bytes; + return RegQueryValueExA (hKey, lpValueName1, lpReserved, lpType, lpData1, lpcbData); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TCHAR lParam) { + if (IsUnicode) { + char [] lParam1 = lParam == null ? null : lParam.chars; + return SendMessageW (hWnd, Msg, wParam, lParam1); + } + byte [] lParam1 = lParam == null ? null : lParam.bytes; + return SendMessageA (hWnd, Msg, wParam, lParam1); +} + +public static final int SendMessage (int hWnd, int Msg, int [] wParam, int [] lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int [] wParam, int lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, int [] lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, short [] lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, int lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, LVCOLUMN lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, LVITEM lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, REBARBANDINFO lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, RECT lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TBBUTTON lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TCITEM lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TOOLINFO lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final int SendMessage (int hWnd, int Msg, int wParam, TVITEM lParam) { + if (IsUnicode) return SendMessageW (hWnd, Msg, wParam, lParam); + return SendMessageA (hWnd, Msg, wParam, lParam); +} + +public static final boolean SetMenuItemInfo (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) { + if (IsUnicode) return SetMenuItemInfoW (hMenu, uItem, fByPosition, lpmii); + return SetMenuItemInfoA (hMenu, uItem, fByPosition, lpmii); +} + +public static final int SetWindowLong (int hWnd, int nIndex, int dwNewLong) { + if (IsUnicode) return SetWindowLongW (hWnd, nIndex, dwNewLong); + return SetWindowLongA (hWnd, nIndex, dwNewLong); +} + +public static final int SetWindowsHookEx (int idHook, int lpfn, int hMod, int dwThreadId) { + if (IsUnicode) return SetWindowsHookExW (idHook, lpfn, hMod, dwThreadId); + return SetWindowsHookExA (idHook, lpfn, hMod, dwThreadId); +} + +public static final boolean SetWindowText (int hWnd, TCHAR lpString) { + if (IsUnicode) { + char [] lpString1 = lpString == null ? null : lpString.chars; + return SetWindowTextW (hWnd, lpString1); + } + byte [] lpString1 = lpString == null ? null : lpString.bytes; + return SetWindowTextA (hWnd, lpString1); +} + +public static final int SHBrowseForFolder (BROWSEINFO lpbi) { + if (IsUnicode) return SHBrowseForFolderW (lpbi); + return SHBrowseForFolderA (lpbi); +} + +public static final boolean ShellExecuteEx (SHELLEXECUTEINFO lpExecInfo) { + if (IsUnicode) return ShellExecuteExW (lpExecInfo); + return ShellExecuteExA (lpExecInfo); +} + +public static final boolean SHGetPathFromIDList (int pidl, TCHAR pszPath) { + if (IsUnicode) { + char [] pszPath1 = pszPath == null ? null : pszPath.chars; + return SHGetPathFromIDListW (pidl, pszPath1); + } + byte [] pszPath1 = pszPath == null ? null : pszPath.bytes; + return SHGetPathFromIDListA (pidl, pszPath1); +} + +public static final int StartDoc (int hdc, DOCINFO lpdi) { + if (IsUnicode) return StartDocW (hdc, lpdi); + return StartDocA (hdc, lpdi); +} + +public static final boolean SystemParametersInfo (int uiAction, int uiParam, RECT pvParam, int fWinIni) { + if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni); + return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni); +} + +public static final boolean SystemParametersInfo (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni) { + if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni); + return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni); +} + +public static final boolean SystemParametersInfo (int uiAction, int uiParam, int[] pvParam, int fWinIni) { + if (IsUnicode) return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni); + return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni); +} + +public static final int TranslateAccelerator (int hWnd, int hAccTable, MSG lpMsg) { + if (IsUnicode) return TranslateAcceleratorW (hWnd, hAccTable, lpMsg); + return TranslateAcceleratorA (hWnd, hAccTable, lpMsg); +} + +public static final boolean UnregisterClass (TCHAR lpClassName, int hInstance) { + if (IsUnicode) { + char [] lpClassName1 = lpClassName == null ? null : lpClassName.chars; + return UnregisterClassW (lpClassName1, hInstance); + } + byte [] lpClassName1 = lpClassName == null ? null : lpClassName.bytes; + return UnregisterClassA (lpClassName1, hInstance); +} + +public static final short VkKeyScan (short ch) { + if (IsUnicode) return VkKeyScanW (ch); + return VkKeyScanA (ch); +} + +/** Natives */ +public static final native int AbortDoc (int hdc); +public static final native int ActivateKeyboardLayout(int hkl, int Flags); +public static final native boolean AdjustWindowRectEx (RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle); +public static final native boolean Arc (int hdc,int nLeftRect,int nTopRect,int nRightRect,int nBottomRect,int nXStartArc,int nYStartArc,int nXEndArc,int nYEndArc); +public static final native int BeginDeferWindowPos (int nNumWindows); +public static final native int BeginPaint (int hWnd, PAINTSTRUCT lpPaint); +public static final native boolean BitBlt (int hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,int hdcSrc,int nXSrc,int nYSrc,int dwRop); +public static final native boolean BringWindowToTop (int hWnd); +public static final native int Call (int address, DLLVERSIONINFO arg0); +public static final native int CallNextHookEx(int hhk, int nCode, int wParam, int lParam); +public static final native int CallWindowProcW (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam); +public static final native int CallWindowProcA (int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam); +public static final native short CharLowerW (short ch); +public static final native short CharLowerA (short ch); +public static final native short CharUpperW (short ch); +public static final native short CharUpperA (short ch); +public static final native boolean CheckMenuItem (int hmenu, int uIDCheckItem, int uCheck); +public static final native boolean ChooseColorW (CHOOSECOLOR lpcc); +public static final native boolean ChooseColorA (CHOOSECOLOR lpcc); +public static final native boolean ChooseFontW (CHOOSEFONT chooseFont); +public static final native boolean ChooseFontA (CHOOSEFONT chooseFont); +public static final native boolean ClientToScreen (int hWnd, POINT lpPoint); +public static final native boolean CloseClipboard (); +public static final native int CombineRgn (int hrgnDest, int hrgnSrc1, int hrgnSrc2, int fnCombineMode); +public static final native boolean CommandBar_AddAdornments (int hwndCB, int dwFlags, int dwReserved); +public static final native int CommandBar_Create (int hInst, int hwndParent, int idCmdBar); +public static final native void CommandBar_Destroy (int hwndCB); +public static final native boolean CommandBar_DrawMenuBar (int hwndCB, int iButton); +public static final native int CommandBar_Height (int hdnwCB); +public static final native boolean CommandBar_InsertMenubarEx (int hwndCB, int hInst, int pszMenu, int iButton); +public static final native boolean CommandBar_Show (int hwndCB, boolean fShow); +public static final native int CommDlgExtendedError (); +public static final native int CopyImage (int hImage, int uType, int cxDesired, int cyDesired, int fuFlags); +public static final native int CreateAcceleratorTableW (byte [] lpaccl, int cEntries); +public static final native int CreateAcceleratorTableA (byte [] lpaccl, int cEntries); +public static final native int CreateBitmap (int nWidth, int nHeight, int cPlanes, int cBitsPerPel, byte [] lpvBits); +public static final native boolean CreateCaret (int hWnd, int hBitmap, int nWidth, int nHeight); +public static final native int CreateCompatibleBitmap (int hdc, int nWidth, int nHeight); +public static final native int CreateCompatibleDC (int hdc); +public static final native int CreateCursor (int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte [] pvANDPlane, byte [] pvXORPlane); +public static final native int CreateDCW (char [] lpszDriver, char [] lpszDevice, int lpszOutput, int lpInitData); +public static final native int CreateDCA (byte [] lpszDriver, byte [] lpszDevice, int lpszOutput, int lpInitData); +public static final native int CreateDIBSection(int hdc, byte[] pbmi, int iUsage, int[] ppvBits, int hSection, int dwOffset); +public static final native int CreateFontIndirectW (int lplf); +public static final native int CreateFontIndirectA (int lplf); +public static final native int CreateFontIndirectW (LOGFONT lplf); +public static final native int CreateFontIndirectA (LOGFONT lplf); +public static final native int CreateIconIndirect (ICONINFO lplf); +public static final native int CreateMenu (); +public static final native int CreatePalette (byte[] logPalette); +public static final native int CreatePatternBrush (int colorRef); +public static final native int CreatePen (int fnPenStyle, int nWidth, int crColor); +public static final native int CreatePopupMenu (); +public static final native int CreateRectRgn (int left, int top, int right, int bottom); +public static final native int CreateSolidBrush (int colorRef); +public static final native int CreateWindowExW (int dwExStyle, char [] lpClassName, char [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam); +public static final native int CreateWindowExA (int dwExStyle, byte [] lpClassName, byte [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam); +public static final native int DeferWindowPos (int hWinPosInfo, int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags); +public static final native int DefWindowProcW (int hWnd, int Msg, int wParam, int lParam); +public static final native int DefWindowProcA (int hWnd, int Msg, int wParam, int lParam); +public static final native boolean DeleteDC (int hdc); +public static final native boolean DeleteMenu (int hMenu, int uPosition, int uFlags); +public static final native boolean DeleteObject (int hGdiObj); +public static final native boolean DestroyAcceleratorTable (int hAccel); +public static final native boolean DestroyCaret (); +public static final native boolean DestroyCursor (int hCursor); +public static final native boolean DestroyIcon (int hIcon); +public static final native boolean DestroyMenu (int hMenu); +public static final native boolean DestroyWindow (int hWnd); +public static final native int DispatchMessageW (MSG lpmsg); +public static final native int DispatchMessageA (MSG lpmsg); +public static final native boolean DragDetect (int hwnd, POINT pt); +public static final native void DragFinish (int hDrop); +public static final native int DragQueryFileA (int hDrop, int iFile, byte[] lpszFile, int cch); +public static final native int DragQueryFileW (int hDrop, int iFile, char[] lpszFile, int cch); +public static final native boolean DrawEdge (int hdc, RECT qrc, int edge, int grfFlags); +public static final native boolean DrawFocusRect (int hDC, RECT lpRect); +public static final native boolean DrawFrameControl (int hdc, RECT lprc, int uType, int uState); +public static final native boolean DrawIconEx (int hdc, int xLeft, int yTop, int hIcon, int cxWidth, int cyWidth, int istepIfAniCur, int hbrFlickerFreeDraw, int diFlags); +public static final native boolean DrawMenuBar (int hWnd); +public static final native boolean DrawStateW (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags); +public static final native boolean DrawStateA (int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags); +public static final native int DrawTextW (int hDC, char [] lpString, int nCount, RECT lpRect, int uFormat); +public static final native int DrawTextA (int hDC, byte [] lpString, int nCount, RECT lpRect, int uFormat); +public static final native boolean Ellipse (int hdc,int nLeftRect,int nTopRect,int nRightRect,int nBottomRect); +public static final native boolean EnableMenuItem (int hMenu, int uIDEnableItem, int uEnable); +public static final native boolean EnableScrollBar (int hWnd, int wSBflags, int wArrows); +public static final native boolean EnableWindow (int hWnd, boolean bEnable); +public static final native boolean EnumSystemLanguageGroupsW(int pLangGroupEnumProc, int dwFlags, int lParam); +public static final native boolean EnumSystemLanguageGroupsA(int pLangGroupEnumProc, int dwFlags, int lParam); +public static final native boolean EnumSystemLocalesW (int lpLocaleEnumProc, int dwFlags); +public static final native boolean EnumSystemLocalesA (int lpLocaleEnumProc, int dwFlags); +public static final native boolean EndDeferWindowPos (int hWinPosInfo); +public static final native int EndDoc (int hdc); +public static final native int EndPage (int hdc); +public static final native int EndPaint (int hWnd, PAINTSTRUCT lpPaint); +public static final native int EnumFontFamiliesW (int hdc, char [] lpszFamily, int lpEnumFontFamProc, int lParam); +public static final native int EnumFontFamiliesA (int hdc, byte [] lpszFamily, int lpEnumFontFamProc, int lParam); +public static final native boolean EqualRect (RECT lprc1, RECT lprc2); +public static final native boolean EqualRgn (int hSrcRgn1, int hSrcRgn2); +public static final native int ExpandEnvironmentStringsW (char [] lpSrc, char [] lsDst, int nSize); +public static final native int ExpandEnvironmentStringsA (byte [] lpSrc, byte [] lsDst, int nSize); +public static final native boolean ExtTextOutW(int hdc, int X, int Y, int fuOptions, RECT lprc, char[] lpString, int cbCount, int[] lpDx); +public static final native boolean ExtTextOutA(int hdc, int X, int Y, int fuOptions, RECT lprc, byte[] lpString, int cbCount, int[] lpDx); +public static final native int ExtractIconExW (char [] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons); +public static final native int ExtractIconExA (byte [] lpszFile, int nIconIndex, int [] phiconLarge, int [] phiconSmall, int nIcons); +public static final native int FillRect(int hDC, RECT lprc, int hbr); +public static final native int FindWindowA (byte [] lpClassName, byte [] lpWindowName); +public static final native int FindWindowW (char [] lpClassName, char [] lpWindowName); +public static final native boolean FreeLibrary (int hLibModule); +public static final native int GetACP (); +public static final native int GetActiveWindow (); +public static final native int GetBkColor (int hDC); +public static final native int GetCapture (); +public static final native boolean GetCaretPos (POINT lpPoint); +public static final native boolean GetCharABCWidthsA (int hdc, int iFirstChar, int iLastChar, int [] lpabc); +public static final native boolean GetCharABCWidthsW (int hdc, int iFirstChar, int iLastChar, int [] lpabc); +public static final native int GetCharacterPlacementW(int hdc, char[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags); +public static final native int GetCharacterPlacementA(int hdc, byte[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags); +public static final native boolean GetCharWidthA (int hdc, int iFirstChar, int iLastChar, int [] lpBuffer); +public static final native boolean GetCharWidthW (int hdc, int iFirstChar, int iLastChar, int [] lpBuffer); +public static final native boolean GetClassInfoW (int hInstance, char [] lpClassName, WNDCLASS lpWndClass); +public static final native boolean GetClassInfoA (int hInstance, byte [] lpClassName, WNDCLASS lpWndClass); +public static final native boolean GetClientRect (int hWnd, RECT lpRect); +public static final native int GetClipboardData (int uFormat); +public static final native int GetClipboardFormatNameA (int format, byte[] lpszFormatName, int cchMaxCount); +public static final native int GetClipboardFormatNameW (int format, char[] lpszFormatName, int cchMaxCount); +public static final native int GetClipBox (int hdc, RECT lprc); +public static final native int GetClipRgn (int hdc, int hrgn); +public static final native int GetCurrentObject (int hdc, int uObjectType); +public static final native int GetCurrentProcessId (); +public static final native int GetCurrentThreadId (); +public static final native int GetCursor (); +public static final native boolean GetCursorPos (POINT lpPoint); +public static final native int GetDC (int hwnd); +public static final native int GetDCEx (int hWnd, int hrgnClip, int flags); +public static final native int GetDesktopWindow (); +public static final native int GetDeviceCaps (int hdc, int nIndex); +public static final native int GetDialogBaseUnits (); +public static final native int GetDIBColorTable (int hdc, int uStartIndex, int cEntries, byte[] pColors); +public static final native int GetDIBits (int hdc, int hbmp, int uStartScan, int cScanLines, int lpvBits, byte[] lpbi, int uUsage); +public static final native int GetDlgItem (int hDlg, int nIDDlgItem); +public static final native int GetDoubleClickTime (); +public static final native int GetFocus (); +public static final native int GetFontLanguageInfo(int hdc); +public static final native boolean GetIconInfo (int hIcon, ICONINFO piconinfo); +public static final native int GetKeyboardLayoutList(int nBuff, int[] lpList); +public static final native int GetKeyboardLayout(int idThread);public static final native short GetKeyState (int nVirtKey); +public static final native boolean GetKeyboardState (byte [] lpKeyState); +public static final native int GetKeyNameTextW(int lParam, char [] lpString, int nSize); +public static final native int GetKeyNameTextA(int lParam, byte [] lpString, int nSize); +public static final native int GetLastActivePopup (int hWnd); +public static final native int GetLastError (); +/* returns the instance handle to the swt library */ +public static final native int GetLibraryHandle (); +public static final native int GetLocaleInfoW (int Locale, int LCType, char [] lpLCData, int cchData); +public static final native int GetLocaleInfoA (int Locale, int LCType, byte [] lpLCData, int cchData); +public static final native int GetMenu (int hWnd); +public static final native int GetMenuDefaultItem (int hMenu, int fByPos, int gmdiFlags); +public static final native boolean GetMenuInfo (int hmenu, MENUINFO lpcmi); +public static final native int GetMenuItemCount (int hMenu); +public static final native boolean GetMenuItemInfoW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native boolean GetMenuItemInfoA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native boolean GetMessageW (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax); +public static final native boolean GetMessageA (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax); +public static final native int GetMessagePos (); +public static final native int GetMessageTime (); +public static final native int GetTextCharset(int hdc); +public static final native int GetTickCount (); +public static final native int GetModuleHandleW (char [] lpModuleName); +public static final native int GetModuleHandleA (byte [] lpModuleName); +public static final native int GetNearestPaletteIndex(int hPal, int crColor); +public static final native int GetObjectA (int hgdiobj, int cbBuffer, BITMAP lpvObject); +public static final native int GetObjectW (int hgdiobj, int cbBuffer, BITMAP lpvObject); +public static final native int GetObjectA (int hgdiobj, int cbBuffer, DIBSECTION lpvObject); +public static final native int GetObjectW (int hgdiobj, int cbBuffer, DIBSECTION lpvObject); +public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject); +public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGBRUSH lpvObject); +public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGFONT lpvObject); +public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGFONT lpvObject); +public static final native int GetObjectA (int hgdiobj, int cbBuffer, LOGPEN lpvObject); +public static final native int GetObjectW (int hgdiobj, int cbBuffer, LOGPEN lpvObject); +public static final native boolean GetOpenFileNameW (OPENFILENAME lpofn); +public static final native boolean GetOpenFileNameA (OPENFILENAME lpofn); +public static final native int GetPaletteEntries (int hPalette, int iStartIndex, int nEntries, byte[] logPalette); +public static final native int GetParent (int hWnd); +public static final native int GetPixel (int hdc, int x, int y); +public static final native int GetProcAddress (int hModule, byte [] lpProcName); +public static final native int GetProcessHeap (); +public static final native int GetProfileStringW (char [] lpAppName, char [] lpKeyName, char [] lpDefault, char [] lpReturnedString, int nSize); +public static final native int GetProfileStringA (byte [] lpAppName, byte [] lpKeyName, byte [] lpDefault, byte [] lpReturnedString, int nSize); +public static final native int GetRegionData (int hRgn, int dwCount, int [] lpRgnData); +public static final native int GetRgnBox (int hrgn, RECT lprc); +public static final native int GetROP2 (int hdc); +public static final native boolean GetSaveFileNameW (OPENFILENAME lpofn); +public static final native boolean GetSaveFileNameA (OPENFILENAME lpofn); +public static final native boolean GetScrollInfo (int hwnd, int flags, SCROLLINFO info); +public static final native int GetStockObject (int fnObject); +public static final native int GetSysColor (int nIndex); +public static final native int GetSysColorBrush (int nIndex); +public static final native int GetSystemMenu (int hWnd, boolean bRevert); +public static final native int GetSystemMetrics (int nIndex); +public static final native int GetSystemPaletteEntries(int hdc, int iStartIndex, int nEntries, byte[] lppe); +public static final native int GetTextColor (int hDC); +public static final native boolean GetTextExtentPoint32W (int hdc, char [] lpString, int cbString, SIZE lpSize); +public static final native boolean GetTextExtentPoint32A (int hdc, byte [] lpString, int cbString, SIZE lpSize); +public static final native boolean GetTextMetricsW (int hdc, TEXTMETRIC lptm); +public static final native boolean GetTextMetricsA (int hdc, TEXTMETRIC lptm); +public static final native boolean GetUpdateRect (int hWnd, RECT lpRect, boolean bErase); +public static final native int GetUpdateRgn (int hWnd, int hRgn, boolean bErase); +public static final native boolean GetVersionExW (OSVERSIONINFO lpVersionInfo); +public static final native boolean GetVersionExA (OSVERSIONINFO lpVersionInfo); +public static final native int GetWindow (int hWnd, int uCmd); +public static final native int GetWindowLongW (int hWnd, int nIndex); +public static final native int GetWindowLongA (int hWnd, int nIndex); +public static final native boolean GetWindowPlacement (int hWnd, WINDOWPLACEMENT lpwndpl); +public static final native boolean GetWindowRect (int hWnd, RECT lpRect); +public static final native int GetWindowTextW (int hWnd, char [] lpString, int nMaxCount); +public static final native int GetWindowTextA (int hWnd, byte [] lpString, int nMaxCount); +public static final native int GetWindowTextLengthW (int hWnd); +public static final native int GetWindowTextLengthA (int hWnd); +public static final native int GetWindowThreadProcessId (int hWnd, int [] lpdwProcessId); +public static final native int GlobalAlloc (int uFlags, int dwBytes); +public static final native int GlobalFree (int hMem); +public static final native int GlobalLock (int hMem); +public static final native int GlobalSize (int hMem); +public static final native boolean GlobalUnlock (int hMem); +public static final native boolean GradientFill(int hdc, int pVertex, int dwNumVertex, int pMesh, int dwNumMesh, int dwMode); +public static final native int HeapAlloc (int hHeap, int dwFlags, int dwBytes); +public static final native boolean HeapFree (int hHeap, int dwFlags, int lpMem); +public static final native boolean HideCaret (int hWnd); +public static final native int ImageList_Add (int himl, int hbmImage, int hbmMask); +public static final native int ImageList_AddMasked (int himl, int hbmImage, int crMask); +public static final native int ImageList_Create (int cx, int cy, int flags, int cInitial, int cGrow); +public static final native boolean ImageList_Destroy (int himl); +public static final native int ImageList_GetIcon (int himl, int i, int flags); +public static final native boolean ImageList_GetIconSize (int himl, int [] cx, int [] cy); +public static final native int ImageList_GetImageCount (int himl); +public static final native boolean ImageList_Remove (int himl, int i); +public static final native boolean ImageList_Replace (int himl, int i, int hbmImage, int hbmMask); +public static final native int ImageList_ReplaceIcon (int himl, int i, int hicon); +public static final native boolean ImageList_SetIconSize (int himl, int cx, int cy); +public static final native int ImmAssociateContext (int hWnd, int hIMC); +public static final native int ImmCreateContext (); +public static final native boolean ImmDestroyContext (int hIMC); +public static final native boolean ImmGetCompositionFontW (int hIMC, LOGFONT lplf); +public static final native boolean ImmGetCompositionFontA (int hIMC, LOGFONT lplf); +public static final native int ImmGetCompositionStringW (int hIMC, int dwIndex, char [] lpBuf, int dwBufLen); +public static final native int ImmGetCompositionStringA (int hIMC, int dwIndex, byte [] lpBuf, int dwBufLen); +public static final native int ImmGetContext (int hWnd); +public static final native boolean ImmGetConversionStatus (int hIMC, int [] lpfdwConversion, int [] lpfdwSentence); +public static final native int ImmGetDefaultIMEWnd (int hWnd); +public static final native boolean ImmGetOpenStatus (int hIMC); +public static final native boolean ImmReleaseContext (int hWnd, int hIMC); +public static final native boolean ImmSetCompositionFontW (int hIMC, LOGFONT lplf); +public static final native boolean ImmSetCompositionFontA (int hIMC, LOGFONT lplf); +public static final native boolean ImmSetCompositionWindow (int hIMC, COMPOSITIONFORM lpCompForm); +public static final native boolean ImmSetConversionStatus (int hIMC, int fdwConversion, int dwSentence); +public static final native boolean ImmSetOpenStatus (int hIMC, boolean fOpen); +public static final native void InitCommonControls (); +public static final native boolean InitCommonControlsEx (INITCOMMONCONTROLSEX lpInitCtrls); +public static final native boolean InsertMenuW (int hMenu, int uPosition, int uFlags, int uIDNewItem, char [] lpNewItem); +public static final native boolean InsertMenuA (int hMenu, int uPosition, int uFlags, int uIDNewItem, byte [] lpNewItem); +public static final native boolean InsertMenuItemW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native boolean InsertMenuItemA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native boolean InvalidateRect(int hWnd, RECT lpRect, boolean bErase); +public static final native boolean InvalidateRgn (int hWnd, int hRgn, boolean bErase); +public static final native boolean IsDBCSLeadByte (byte TestChar); +public static final native boolean IsIconic (int hWnd); +public static final native boolean IsPPC(); +public static final native boolean IsSP(); +public static final native boolean IsWindowEnabled (int hWnd); +public static final native boolean IsWindowVisible (int hWnd); +public static final native boolean IsZoomed (int hWnd); +public static final native boolean KillTimer (int hWnd, int uIDEvent); +public static final native boolean LineTo (int hdc,int x1, int x2); +public static final native int LoadBitmapW (int hInstance, int lpBitmapName); +public static final native int LoadBitmapA (int hInstance, int lpBitmapName); +public static final native int LoadCursorW (int hInstance, int lpCursorName); +public static final native int LoadCursorA (int hInstance, int lpCursorName); +public static final native int LoadIconW (int hInstance, int lpIconName); +public static final native int LoadIconA (int hInstance, int lpIconName); +public static final native int LoadImageW (int hinst, char [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad); +public static final native int LoadImageA (int hinst, byte [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad); +public static final native int LoadLibraryW (char [] lpLibFileName); +public static final native int LoadLibraryA (byte [] lpLibFileName); +public static final native int MapVirtualKeyW (int uCode, int uMapType); +public static final native int MapVirtualKeyA (int uCode, int uMapType); +public static final native int MapWindowPoints (int hWndFrom, int hWndTo, POINT lpPoints, int cPoints); +public static final native int MapWindowPoints (int hWndFrom, int hWndTo, RECT lpPoints, int cPoints); +public static final native boolean MessageBeep (int uType); +public static final native int MessageBoxW (int hWnd, char [] lpText, char [] lpCaption, int uType); +public static final native int MessageBoxA (int hWnd, byte [] lpText, byte [] lpCaption, int uType); +public static final native void MoveMemory (char[] Destination, int SourcePtr, int Length); +public static final native void MoveMemory (byte [] Destination, int Source, int Length); +public static final native void MoveMemory (byte [] Destination, ACCEL Source, int Length); +public static final native void MoveMemory (byte [] Destination, BITMAPINFOHEADER Source, int Length); +public static final native void MoveMemory (int [] Destination, int Source, int Length); +public static final native void MoveMemory (int Destination, byte [] Source, int Length); +public static final native void MoveMemory (int Destination, char [] Source, int Length); +public static final native void MoveMemory (int Destination, int [] Source, int Length); +public static final native void MoveMemory (int Destination, GRADIENT_RECT Source, int Length); +public static final native void MoveMemoryW (int Destination, LOGFONT Source, int Length); +public static final native void MoveMemoryA (int Destination, LOGFONT Source, int Length); +public static final native void MoveMemory (int Destination, MEASUREITEMSTRUCT Source, int Length); +public static final native void MoveMemoryW (int Destination, NMTTDISPINFO Source, int Length); +public static final native void MoveMemoryA (int Destination, NMTTDISPINFO Source, int Length); +public static final native void MoveMemory (int Destination, RECT Source, int Length); +public static final native void MoveMemory (int Destination, TRIVERTEX Source, int Length); +public static final native void MoveMemory (int Destination, WINDOWPOS Source, int Length); +public static final native void MoveMemory (BITMAPINFOHEADER Destination, byte [] Source, int Length); +public static final native void MoveMemory (DRAWITEMSTRUCT Destination, int Source, int Length); +public static final native void MoveMemory (HDITEM Destination, int Source, int Length); +public static final native void MoveMemory (HELPINFO Destination, int Source, int Length); +public static final native void MoveMemoryW (LOGFONT Destination, int Source, int Length); +public static final native void MoveMemoryA (LOGFONT Destination, int Source, int Length); +public static final native void MoveMemory (MEASUREITEMSTRUCT Destination, int Source, int Length); +public static final native void MoveMemory (NMHDR Destination, int Source, int Length); +public static final native void MoveMemory (NMLVCUSTOMDRAW Destination, int Source, int Length); +public static final native void MoveMemory (NMTVCUSTOMDRAW Destination, int Source, int Length); +public static final native void MoveMemory (int Destination, NMLVCUSTOMDRAW Source, int Length); +public static final native void MoveMemory (int Destination, NMTVCUSTOMDRAW Source, int Length); +public static final native void MoveMemory (NMHEADER Destination, int Source, int Length); +public static final native void MoveMemory (NMLISTVIEW Destination, int Source, int Length); +public static final native void MoveMemory (NMREBARCHEVRON Destination, int Source, int Length); +public static final native void MoveMemory (NMTOOLBAR Destination, int Source, int Length); +public static final native void MoveMemoryW (NMTTDISPINFO Destination, int Source, int Length); +public static final native void MoveMemoryA (NMTTDISPINFO Destination, int Source, int Length); +public static final native void MoveMemory (TVITEM Destination, int Source, int Length); +public static final native void MoveMemory (WINDOWPOS Destination, int Source, int Length); +public static final native void MoveMemory (MSG Destination, int Source, int Length); +public static final native void MoveMemory(int Destination, DROPFILES Source, int Length); +public static final native void MoveMemory(double[] Destination, int SourcePtr, int Length); +public static final native void MoveMemory(float[] Destination, int SourcePtr, int Length); +public static final native void MoveMemory(short[] Destination, int SourcePtr, int Length); +public static final native void MoveMemory(int DestinationPtr, double[] Source, int Length); +public static final native void MoveMemory(int DestinationPtr, float[] Source, int Length); +public static final native void MoveMemory(int DestinationPtr, short[] Source, int Length); +public static final native boolean MoveToEx (int hdc,int x1, int x2, int lPoint); +public static final native int MsgWaitForMultipleObjectsEx (int nCount, int pHandles, int dwMilliseconds, int dwWakeMask, int dwFlags); +public static final native int MultiByteToWideChar (int CodePage, int dwFlags, byte [] lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar); +public static final native int MultiByteToWideChar (int CodePage, int dwFlags, int lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar); +public static final native int OleInitialize (int pvReserved); +public static final native void OleUninitialize (); +public static final native boolean OpenClipboard (int hWndNewOwner); +public static final native boolean PatBlt (int hdc,int x1, int x2,int w, int h, int rop); +public static final native boolean PeekMessageW (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg); +public static final native boolean PeekMessageA (MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg); +public static final native boolean Pie (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nXStartArc, int nYStartArc, int nXEndArc, int nYEndArc); +public static final native boolean Polygon (int hdc, int [] points, int nPoints); +public static final native boolean Polyline (int hdc,int[] points, int nPoints); +public static final native boolean PostMessageW (int hWnd, int Msg, int wParam, int lParam); +public static final native boolean PostMessageA (int hWnd, int Msg, int wParam, int lParam); +public static final native boolean PostThreadMessageW (int idThread, int Msg, int wParam, int lParam); +public static final native boolean PostThreadMessageA (int idThread, int Msg, int wParam, int lParam); +public static final native boolean PrintDlgW (PRINTDLG lppd); +public static final native boolean PrintDlgA (PRINTDLG lppd); +public static final native boolean PtInRect (RECT rect, POINT pt); +public static final native boolean PtInRegion (int hrgn, int X, int Y); +public static final native int RealizePalette(int hDC); +public static final native boolean Rectangle (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect); +public static final native boolean RectInRegion (int hrgn, RECT lprc); +public static final native boolean RedrawWindow (int hWnd, RECT lprcUpdate, int hrgnUpdate, int flags); +public static final native int RegCloseKey (int hKey); +public static final native int RegisterClassW (WNDCLASS lpWndClass); +public static final native int RegisterClassA (WNDCLASS lpWndClass); +public static final native int RegEnumKeyExW (int hKey, int dwIndex, char [] lpName, int [] lpcName, int [] lpReserved, char [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime); +public static final native int RegisterClipboardFormatA (byte[] lpszFormat); +public static final native int RegisterClipboardFormatW (char[] lpszFormat); +public static final native int RegOpenKeyExW (int hKey, char[] lpSubKey, int ulOptions, int samDesired, int[] phkResult); +public static final native int RegQueryInfoKeyW (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime); +public static final native int RegQueryValueExW (int hKey, char[] lpValueName, int lpReserved, int[] lpType, char [] lpData, int[] lpcbData); +public static final native int RegEnumKeyExA (int hKey, int dwIndex, byte [] lpName, int [] lpcName, int [] lpReserved, byte [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime); +public static final native int RegOpenKeyExA (int hKey, byte[] lpSubKey, int ulOptions, int samDesired, int[] phkResult); +public static final native int RegQueryInfoKeyA (int hKey, int lpClass, int[] lpcbClass, int lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int lpftLastWriteTime); +public static final native int RegQueryValueExA (int hKey, byte[] lpValueName, int lpReserved, int[] lpType, byte [] lpData, int[] lpcbData); +public static final native boolean ReleaseCapture (); +public static final native int ReleaseDC (int hWnd, int hDC); +public static final native boolean RemoveMenu (int hMenu, int uPosition, int uFlags); +public static final native boolean RoundRect (int hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidth, int nHeight); +public static final native boolean ScreenToClient (int hWnd, POINT lpPoint); +public static final native int ScrollWindowEx (int hWnd, int dx, int dy, RECT prcScroll, RECT prcClip, int hrgnUpdate, RECT prcUpdate, int flags); +public static final native int SelectClipRgn (int hdc, int hrgn); +public static final native int SelectObject(int hDC, int HGDIObj); +public static final native int SelectPalette(int hDC, int hpal, boolean bForceBackground); +public static final native int SendMessageW (int hWnd, int Msg, int [] wParam, int [] lParam); +public static final native int SendMessageW (int hWnd, int Msg, int [] wParam, int lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, char [] lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, int [] lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, short [] lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, int lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVCOLUMN lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, LVITEM lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, REBARBANDINFO lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, RECT lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TBBUTTON lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TCITEM lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TOOLINFO lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam); +public static final native int SendMessageW (int hWnd, int Msg, int wParam, TVITEM lParam); +public static final native int SendMessageA (int hWnd, int Msg, int [] wParam, int [] lParam); +public static final native int SendMessageA (int hWnd, int Msg, int [] wParam, int lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, byte [] lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, int [] lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, short [] lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, int lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVCOLUMN lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVHITTESTINFO lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, LVITEM lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, REBARBANDINFO lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, RECT lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TBBUTTON lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TBBUTTONINFO lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TCITEM lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TOOLINFO lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVHITTESTINFO lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVINSERTSTRUCT lParam); +public static final native int SendMessageA (int hWnd, int Msg, int wParam, TVITEM lParam); +public static final native int SetActiveWindow (int hWnd); +public static final native int SetBkColor (int hdc, int colorRef); +public static final native int SetBkMode (int hdc, int mode); +public static final native int SetCapture (int hWnd); +public static final native boolean SetCaretPos (int X, int Y); +public static final native int SetClipboardData (int uFormat, int hMem); +public static final native int SetCursor (int hCursor); +public static final native boolean SetCursorPos (int X, int Y); +public static final native int SetDIBColorTable (int hdc, int uStartIndex, int cEntries, byte[] pColors); +public static final native int SetFocus (int hWnd); +public static final native boolean SetForegroundWindow (int hWnd); +public static final native int SetLayout (int hdc, int dwLayout); +public static final native boolean SetMenu (int hWnd, int hMenu); +public static final native boolean SetMenuDefaultItem (int hMenu, int uItem, int fByPos); +public static final native boolean SetMenuInfo (int hmenu, MENUINFO lpcmi); +public static final native boolean SetMenuItemInfoW (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native boolean SetMenuItemInfoA (int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii); +public static final native int SetPaletteEntries (int hPal, int iStart, int cEntries, byte[] lppe); +public static final native int SetParent (int hWndChild, int hWndNewParent); +public static final native int SetPixel (int hdc, int X, int Y, int crColor); +public static final native boolean SetRect(RECT lprc, int xLeft, int yTop, int xRight, int yBottom); +public static final native boolean SetRectRgn (int hrgn, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect); +public static final native int SetROP2 (int hdc, int fnDrawMode); +public static final native boolean SetScrollInfo (int hwnd, int flags, SCROLLINFO info, boolean fRedraw); +public static final native int SetStretchBltMode(int hdc, int iStretchMode); +public static final native int SetTextAlign(int hdc, int fMode); +public static final native int SetTextColor (int hdc, int colorRef); +public static final native int SetTimer (int hWnd, int nIDEvent, int Elapse, int lpTimerFunc); +public static final native int SetWindowLongW (int hWnd, int nIndex, int dwNewLong); +public static final native int SetWindowLongA (int hWnd, int nIndex, int dwNewLong); +public static final native boolean SetWindowPlacement (int hWnd, WINDOWPLACEMENT lpwndpl); +public static final native boolean SetWindowPos(int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags); +public static final native boolean SetWindowTextW (int hWnd, char [] lpString); +public static final native boolean SetWindowTextA (int hWnd, byte [] lpString); +public static final native int SetWindowsHookExW (int idHook, int lpfn, int hMod, int dwThreadId); +public static final native int SetWindowsHookExA (int idHook, int lpfn, int hMod, int dwThreadId); +public static final native int SHBrowseForFolderW (BROWSEINFO lpbi); +public static final native int SHBrowseForFolderA (BROWSEINFO lpbi); +public static final native boolean SHCreateMenuBar(SHMENUBARINFO pmb); +public static final native boolean SHHandleWMSettingChange (int hwnd, int wParam, int lParam, SHACTIVATEINFO psai); +public static final native int SHRecognizeGesture(SHRGINFO shrg); +public static final native void SHSendBackToFocusWindow (int uMsg, int wp, int lp); +public static final native boolean SHSipPreference (int hwnd, int st); +public static final native boolean ShellExecuteExW (SHELLEXECUTEINFO lpExecInfo); +public static final native boolean ShellExecuteExA (SHELLEXECUTEINFO lpExecInfo); +public static final native int SHGetMalloc (int [] ppMalloc); +public static final native boolean SHGetPathFromIDListW (int pidl, char [] pszPath); +public static final native boolean SHGetPathFromIDListA (int pidl, byte [] pszPath); +public static final native boolean SHSetAppKeyWndAssoc(byte bVk, int hwnd); +public static final native boolean ShowCaret (int hWnd); +public static final native boolean ShowOwnedPopups (int hWnd, boolean fShow); +public static final native boolean ShowScrollBar (int hWnd, int wBar, boolean bShow); +public static final native boolean ShowWindow (int hWnd, int nCmdShow); +public static final native boolean SipGetInfo (SIPINFO pSipInfo); +public static final native int StartDocW (int hdc, DOCINFO lpdi); +public static final native int StartDocA (int hdc, DOCINFO lpdi); +public static final native int StartPage (int hdc); +public static final native boolean StretchBlt (int hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, int hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, int dwRop); +public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, RECT pvParam, int fWinIni); +public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, RECT pvParam, int fWinIni); +public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni); +public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni); +public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, int[] pvParam, int fWinIni); +public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, int[] pvParam, int fWinIni); +public static final native int ToAscii (int uVirtKey, int uScanCode, byte [] lpKeyState, short [] lpChar, int uFlags); +public static final native int ToUnicode(int wVirtKey, int wScanCode, byte [] lpKeyState, char [] pwszBuff, int cchBuff, int wFlags); +public static final native boolean TrackMouseEvent(TRACKMOUSEEVENT lpEventTrack); +public static final native boolean TrackPopupMenu (int hMenu, int uFlags, int x, int y, int nReserved, int hWnd, RECT prcRect); +public static final native int TranslateAcceleratorW (int hWnd, int hAccTable, MSG lpMsg); +public static final native int TranslateAcceleratorA (int hWnd, int hAccTable, MSG lpMsg); +public static final native boolean TranslateCharsetInfo(int lpSrc, int [] lpCs, int dwFlags); +public static final native boolean TranslateMessage (MSG lpmsg); +public static final native boolean TransparentImage (int hdcDest, int DstX, int DstY, int DstCx, int DstCy,int hSrc, int SrcX, int SrcY, int SrcCx, int SrcCy, int TransparentColor);public static final native boolean UnhookWindowsHookEx(int hhk); +public static final native boolean UnregisterClassW (char [] lpClassName, int hInstance); +public static final native boolean UnregisterClassA (byte [] lpClassName, int hInstance); +public static final native boolean UpdateWindow (int hWnd); +public static final native boolean ValidateRect (int hWnd, RECT lpRect); +public static final native short VkKeyScanW (short ch); +public static final native short VkKeyScanA (short ch); +public static final native int VtblCall (int ppVtbl, int fnNumber, int arg0); +public static final native boolean WaitMessage (); +public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, byte [] lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar); +public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, int lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar); +public static final native int WindowFromDC (int lpPoint); +public static final native int WindowFromPoint (POINT lpPoint); +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java index 3a5a502142..96d1df70ce 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-public class OSVERSIONINFO {
- public int dwOSVersionInfoSize;
- public int dwMajorVersion;
- public int dwMinorVersion;
- public int dwBuildNumber;
- public int dwPlatformId;
-// TCHAR szCSDVersion [128];
-// public char [] szCSDVersion = new char [128];
- public static final int sizeofW = 276;
- public static final int sizeofA = 148;
- public static /*final*/ int sizeof = OS.IsUnicode ? sizeofW : sizeofA;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ + +public class OSVERSIONINFO { + public int dwOSVersionInfoSize; + public int dwMajorVersion; + public int dwMinorVersion; + public int dwBuildNumber; + public int dwPlatformId; +// TCHAR szCSDVersion [128]; +// public char [] szCSDVersion = new char [128]; + public static final int sizeofW = 276; + public static final int sizeofA = 148; + public static /*final*/ int sizeof = OS.IsUnicode ? sizeofW : sizeofA; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java index 851d9c6c75..813e287c2a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class PAINTSTRUCT {
- public int hdc;
- public boolean fErase;
-// public RECT rcPaint;
- public int left, top, right, bottom;
- public boolean fRestore;
- public boolean fIncUpdate;
-// public byte rgbReserved[32];
- public int pad0, pad1, pad2, pad3, pad4, pad5, pad6, pad7;
- public static final int sizeof = 64;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class PAINTSTRUCT { + public int hdc; + public boolean fErase; +// public RECT rcPaint; + public int left, top, right, bottom; + public boolean fRestore; + public boolean fIncUpdate; +// public byte rgbReserved[32]; + public int pad0, pad1, pad2, pad3, pad4, pad5, pad6, pad7; + public static final int sizeof = 64; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/POINT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/POINT.java index d971241f7c..69eaae7a1a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/POINT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/POINT.java @@ -1,13 +1,13 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class POINT {
- public int x;
- public int y;
- public static final int sizeof = 8;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class POINT { + public int x; + public int y; + public static final int sizeof = 8; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java index 5a6dbfc59e..b9ac1eb9a7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java @@ -1,30 +1,30 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class PRINTDLG {
- public int lStructSize; // DWORD
- public int hwndOwner; // HWND
- public int hDevMode; // HGLOBAL
- public int hDevNames; // HGLOBAL
- public int hDC; // HDC
- public int Flags; // DWORD
- public short nFromPage; // WORD
- public short nToPage; // WORD
- public short nMinPage; // WORD
- public short nMaxPage; // WORD
- public short nCopies; // WORD
- public int hInstance; // HINSTANCE
- public int lCustData; // LPARAM
- public int lpfnPrintHook; // LPPRINTHOOKPROC
- public int lpfnSetupHook; // LPSETUPHOOKPROC
- public int lpPrintTemplateName; // LPCTSTR
- public int lpSetupTemplateName; // LPCTSTR
- public int hPrintTemplate; // HGLOBAL
- public int hSetupTemplate; // HGLOBAL
- public static final int sizeof = 66;
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class PRINTDLG { + public int lStructSize; // DWORD + public int hwndOwner; // HWND + public int hDevMode; // HGLOBAL + public int hDevNames; // HGLOBAL + public int hDC; // HDC + public int Flags; // DWORD + public short nFromPage; // WORD + public short nToPage; // WORD + public short nMinPage; // WORD + public short nMaxPage; // WORD + public short nCopies; // WORD + public int hInstance; // HINSTANCE + public int lCustData; // LPARAM + public int lpfnPrintHook; // LPPRINTHOOKPROC + public int lpfnSetupHook; // LPSETUPHOOKPROC + public int lpPrintTemplateName; // LPCTSTR + public int lpSetupTemplateName; // LPCTSTR + public int hPrintTemplate; // HGLOBAL + public int hSetupTemplate; // HGLOBAL + public static final int sizeof = 66; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java index 7d1de8ffe2..700a2fd678 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java @@ -1,32 +1,32 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class REBARBANDINFO {
- public int cbSize;
- public int fMask;
- public int fStyle;
- public int clrFore;
- public int clrBack;
- public int lpText;
- public int cch;
- public int iImage;
- public int hwndChild;
- public int cxMinChild;
- public int cyMinChild;
- public int cx;
- public int hbmBack;
- public int wID;
- public int cyChild;
- public int cyMaxChild;
- public int cyIntegral;
- public int cxIdeal;
- public int lParam;
- public int cxHeader;
- /* Note in WinCE. The field cxHeader is not defined. */
- public static final int sizeof = OS.IsWinCE ? 76 : 80;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class REBARBANDINFO { + public int cbSize; + public int fMask; + public int fStyle; + public int clrFore; + public int clrBack; + public int lpText; + public int cch; + public int iImage; + public int hwndChild; + public int cxMinChild; + public int cyMinChild; + public int cx; + public int hbmBack; + public int wID; + public int cyChild; + public int cyMaxChild; + public int cyIntegral; + public int cxIdeal; + public int lParam; + public int cxHeader; + /* Note in WinCE. The field cxHeader is not defined. */ + public static final int sizeof = OS.IsWinCE ? 76 : 80; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/RECT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/RECT.java index f781cb98e1..07d86bfae8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/RECT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/RECT.java @@ -1,15 +1,15 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class RECT {
- public int left;
- public int top;
- public int right;
- public int bottom;
- public static final int sizeof = 16;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class RECT { + public int left; + public int top; + public int right; + public int bottom; + public static final int sizeof = 16; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SCROLLINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SCROLLINFO.java index 4d5ca7dc31..c51bb55a0e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SCROLLINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SCROLLINFO.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class SCROLLINFO {
- public int cbSize;
- public int fMask;
- public int nMin;
- public int nMax;
- public int nPage;
- public int nPos;
- public int nTrackPos;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class SCROLLINFO { + public int cbSize; + public int fMask; + public int nMin; + public int nMax; + public int nPage; + public int nPos; + public int nTrackPos; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java index a09489c7ed..5896efa8da 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java @@ -1,35 +1,35 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class SHELLEXECUTEINFO {
-
- public int cbSize;
- public int fMask;
- public int hwnd;
- public int lpVerb;
- public int lpFile;
- public int lpParameters;
- public int lpDirectory;
- public int nShow;
- public int hInstApp;
-
- // Optional members
- public int lpIDList;
- public int lpClass;
- public int hkeyClass;
- public int dwHotKey;
-// union {
-// HANDLE hIcon;
-// HANDLE hMonitor;
-// };
- public int hIcon;
- public int hProcess;
-
- public static final int sizeof = 60;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class SHELLEXECUTEINFO { + + public int cbSize; + public int fMask; + public int hwnd; + public int lpVerb; + public int lpFile; + public int lpParameters; + public int lpDirectory; + public int nShow; + public int hInstApp; + + // Optional members + public int lpIDList; + public int lpClass; + public int hkeyClass; + public int dwHotKey; +// union { +// HANDLE hIcon; +// HANDLE hMonitor; +// }; + public int hIcon; + public int hProcess; + + public static final int sizeof = 60; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java index 95ae3b7016..7658786ff2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java @@ -1,19 +1,19 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class SHMENUBARINFO {
- public int cbSize;
- public int hwndParent;
- public int dwFlags;
- public int nToolBarId;
- public int hInstRes;
- public int nBmpId;
- public int cBmpImages;
- public int hwndMB;
- public static final int sizeof = OS.IsSP ? 36 : 32;
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class SHMENUBARINFO { + public int cbSize; + public int hwndParent; + public int dwFlags; + public int nToolBarId; + public int hInstRes; + public int nBmpId; + public int cBmpImages; + public int hwndMB; + public static final int sizeof = OS.IsSP ? 36 : 32; }
\ No newline at end of file diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIZE.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIZE.java index 3bd291b081..56ab8a7f74 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIZE.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIZE.java @@ -1,13 +1,13 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class SIZE {
- public int cx;
- public int cy;
- public static final int sizeof = 8;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class SIZE { + public int cx; + public int cy; + public static final int sizeof = 8; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTON.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTON.java index 879cfe22dc..d0a4c17f6e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTON.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTON.java @@ -1,17 +1,17 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TBBUTTON {
- public int iBitmap;
- public int idCommand;
- public byte fsState;
- public byte fsStyle;
- public int dwData;
- public int iString;
- public static final int sizeof = 20;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TBBUTTON { + public int iBitmap; + public int idCommand; + public byte fsState; + public byte fsStyle; + public int dwData; + public int iString; + public static final int sizeof = 20; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java index 3ec0c847f5..bd230f6685 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TBBUTTONINFO {
- public int cbSize;
- public int dwMask;
- public int idCommand;
- public int iImage;
- public byte fsState;
- public byte fsStyle;
- public short cx;
- public int lParam;
- public int pszText;
- public int cchText;
- public static final int sizeof = 32;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TBBUTTONINFO { + public int cbSize; + public int dwMask; + public int idCommand; + public int iImage; + public byte fsState; + public byte fsStyle; + public short cx; + public int lParam; + public int pszText; + public int cchText; + public static final int sizeof = 32; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java index 61b750d559..53612097f6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java @@ -1,111 +1,111 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-/**
- * This class implements the conversions between unicode characters
- * and the <em>platform supported</em> representation for characters.
- * <p>
- * Note that, unicode characters which can not be found in the platform
- * encoding will be converted to an arbitrary platform specific character.
- * </p>
- */
-
-public class TCHAR {
-
-int codePage;
-char [] chars;
-byte [] bytes;
-int byteCount;
-
-public final static int sizeof = OS.IsUnicode ? 2 : 1;
-
-public TCHAR (int codePage, int length) {
- this.codePage = codePage;
- if (OS.IsUnicode) {
- chars = new char [length];
- } else {
- bytes = new byte [byteCount = length];
- }
-}
-
-public TCHAR (int codePage, char ch, boolean terminate) {
- this (codePage, String.valueOf (ch), terminate);
-}
-
-public TCHAR (int codePage, String string, boolean terminate) {
- this.codePage = codePage;
- int charCount = string.length ();
- char [] chars = new char [charCount + (terminate ? 1 : 0)];
- string.getChars (0, charCount, chars, 0);
- if (OS.IsUnicode) {
- this.chars = chars;
- } else {
- int cp = codePage != 0 ? codePage : OS.CP_ACP;
- bytes = new byte [byteCount = charCount * 2 + (terminate ? 1 : 0)];
- byteCount = OS.WideCharToMultiByte (cp, 0, chars, charCount, bytes, byteCount, null, null);
- if (terminate) byteCount++;
- }
-}
-
-public int length () {
- if (OS.IsUnicode) {
- return chars.length;
- } else {
- return byteCount;
- }
-}
-
-public int strlen () {
- if (OS.IsUnicode) {
- for (int i=0; i<chars.length; i++) {
- if (chars [i] == '\0') return i;
- }
- return chars.length;
- } else {
- for (int i=0; i<byteCount; i++) {
- if (bytes [i] == '\0') return i;
- }
- return byteCount;
- }
-}
-
-public int tcharAt (int index) {
- if (OS.IsUnicode) {
- return chars [index];
- } else {
- int ch = bytes [index] & 0xFF;
- if (OS.IsDBCSLeadByte ((byte) ch)) {
- ch = ch << 8 | (bytes [index + 1] & 0xFF);
- }
- return ch;
- }
-}
-
-public String toString () {
- return toString (0, length ());
-}
-
-public String toString (int start, int length) {
- if (OS.IsUnicode) {
- return new String (chars, start, length);
- } else {
- byte [] bytes = this.bytes;
- if (start != 0) {
- bytes = new byte [length];
- System.arraycopy (this.bytes, start, bytes, 0, length);
- }
- char [] chars = new char [length];
- int cp = codePage != 0 ? codePage : OS.CP_ACP;
- int charCount = OS.MultiByteToWideChar (cp, OS.MB_PRECOMPOSED, bytes, length, chars, length);
- return new String (chars, 0, charCount);
- }
-}
-
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ + +/** + * This class implements the conversions between unicode characters + * and the <em>platform supported</em> representation for characters. + * <p> + * Note that, unicode characters which can not be found in the platform + * encoding will be converted to an arbitrary platform specific character. + * </p> + */ + +public class TCHAR { + +int codePage; +char [] chars; +byte [] bytes; +int byteCount; + +public final static int sizeof = OS.IsUnicode ? 2 : 1; + +public TCHAR (int codePage, int length) { + this.codePage = codePage; + if (OS.IsUnicode) { + chars = new char [length]; + } else { + bytes = new byte [byteCount = length]; + } +} + +public TCHAR (int codePage, char ch, boolean terminate) { + this (codePage, String.valueOf (ch), terminate); +} + +public TCHAR (int codePage, String string, boolean terminate) { + this.codePage = codePage; + int charCount = string.length (); + char [] chars = new char [charCount + (terminate ? 1 : 0)]; + string.getChars (0, charCount, chars, 0); + if (OS.IsUnicode) { + this.chars = chars; + } else { + int cp = codePage != 0 ? codePage : OS.CP_ACP; + bytes = new byte [byteCount = charCount * 2 + (terminate ? 1 : 0)]; + byteCount = OS.WideCharToMultiByte (cp, 0, chars, charCount, bytes, byteCount, null, null); + if (terminate) byteCount++; + } +} + +public int length () { + if (OS.IsUnicode) { + return chars.length; + } else { + return byteCount; + } +} + +public int strlen () { + if (OS.IsUnicode) { + for (int i=0; i<chars.length; i++) { + if (chars [i] == '\0') return i; + } + return chars.length; + } else { + for (int i=0; i<byteCount; i++) { + if (bytes [i] == '\0') return i; + } + return byteCount; + } +} + +public int tcharAt (int index) { + if (OS.IsUnicode) { + return chars [index]; + } else { + int ch = bytes [index] & 0xFF; + if (OS.IsDBCSLeadByte ((byte) ch)) { + ch = ch << 8 | (bytes [index + 1] & 0xFF); + } + return ch; + } +} + +public String toString () { + return toString (0, length ()); +} + +public String toString (int start, int length) { + if (OS.IsUnicode) { + return new String (chars, start, length); + } else { + byte [] bytes = this.bytes; + if (start != 0) { + bytes = new byte [length]; + System.arraycopy (this.bytes, start, bytes, 0, length); + } + char [] chars = new char [length]; + int cp = codePage != 0 ? codePage : OS.CP_ACP; + int charCount = OS.MultiByteToWideChar (cp, OS.MB_PRECOMPOSED, bytes, length, chars, length); + return new String (chars, 0, charCount); + } +} + +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java index 493d3af46e..5666f5124f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TCITEM {
- public int mask;
- public int dwState;
- public int dwStateMask;
- public int pszText;
- public int cchTextMax;
- public int iImage;
- public int lParam;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TCITEM { + public int mask; + public int dwState; + public int dwStateMask; + public int pszText; + public int cchTextMax; + public int iImage; + public int lParam; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TEXTMETRIC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TEXTMETRIC.java index 76bb358585..ae85423e17 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TEXTMETRIC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TEXTMETRIC.java @@ -1,35 +1,35 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TEXTMETRIC {
- public int tmHeight;
- public int tmAscent;
- public int tmDescent;
- public int tmInternalLeading;
- public int tmExternalLeading;
- public int tmAveCharWidth;
- public int tmMaxCharWidth;
- public int tmWeight;
- public int tmOverhang;
- public int tmDigitizedAspectX;
- public int tmDigitizedAspectY;
-// TCHAR tmFirstChar;
-// TCHAR tmLastChar;
-// TCHAR tmDefaultChar;
-// TCHAR tmBreakChar;
-// public char tmFirstChar;
-// public char tmLastChar;
-// public char tmDefaultChar;
-// public char tmBreakChar;
- public byte tmItalic;
- public byte tmUnderlined;
- public byte tmStruckOut;
- public byte tmPitchAndFamily;
- public byte tmCharSet;
- public static final int sizeof = OS.IsUnicode ? 60 : 56;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TEXTMETRIC { + public int tmHeight; + public int tmAscent; + public int tmDescent; + public int tmInternalLeading; + public int tmExternalLeading; + public int tmAveCharWidth; + public int tmMaxCharWidth; + public int tmWeight; + public int tmOverhang; + public int tmDigitizedAspectX; + public int tmDigitizedAspectY; +// TCHAR tmFirstChar; +// TCHAR tmLastChar; +// TCHAR tmDefaultChar; +// TCHAR tmBreakChar; +// public char tmFirstChar; +// public char tmLastChar; +// public char tmDefaultChar; +// public char tmBreakChar; + public byte tmItalic; + public byte tmUnderlined; + public byte tmStruckOut; + public byte tmPitchAndFamily; + public byte tmCharSet; + public static final int sizeof = OS.IsUnicode ? 60 : 56; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java index ee05dcb2a6..32fa1a831f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java @@ -1,20 +1,20 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TOOLINFO {
- public int cbSize;
- public int uFlags;
- public int hwnd;
- public int uId;
-// public RECT rect;
- public int left, top, right, bottom;
- public int hinst;
- public int lpszText;
- public int lParam;
- public static int sizeof = 44;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TOOLINFO { + public int cbSize; + public int uFlags; + public int hwnd; + public int uId; +// public RECT rect; + public int left, top, right, bottom; + public int hinst; + public int lpszText; + public int lParam; + public static int sizeof = 44; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java index 41baf18ae6..a7491bf172 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-public class TRACKMOUSEEVENT {
- public int cbSize;
- public int dwFlags;
- public int hwndTrack;
- public int dwHoverTime;
- public static final int sizeof = 16;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ + +public class TRACKMOUSEEVENT { + public int cbSize; + public int dwFlags; + public int hwndTrack; + public int dwHoverTime; + public static final int sizeof = 16; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRIVERTEX.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRIVERTEX.java index 6674ba3313..48d8fa278e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRIVERTEX.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRIVERTEX.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TRIVERTEX {
- public int x;
- public int y;
- public short Red;
- public short Green;
- public short Blue;
- public short Alpha;
- public static final int sizeof = 16;
-}
-
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TRIVERTEX { + public int x; + public int y; + public short Red; + public short Green; + public short Blue; + public short Alpha; + public static final int sizeof = 16; +} + diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java index ee04f57d21..b8256e3261 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java @@ -1,16 +1,16 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TVHITTESTINFO {
-// POINT pt;
- public int x;
- public int y;
- public int flags;
- public int hItem;
- public static int sizeof = 16;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TVHITTESTINFO { +// POINT pt; + public int x; + public int y; + public int flags; + public int hItem; + public static int sizeof = 16; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java index 18119bb8c0..7b644e8156 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java @@ -1,24 +1,24 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TVINSERTSTRUCT {
- public int hParent;
- public int hInsertAfter;
-// public TVITEM item;
- public int mask;
- public int hItem;
- public int state;
- public int stateMask;
- public int pszText;
- public int cchTextMax;
- public int iImage;
- public int iSelectedImage;
- public int cChildren;
- public int lParam;
- public static final int sizeof = 48;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TVINSERTSTRUCT { + public int hParent; + public int hInsertAfter; +// public TVITEM item; + public int mask; + public int hItem; + public int state; + public int stateMask; + public int pszText; + public int cchTextMax; + public int iImage; + public int iSelectedImage; + public int cChildren; + public int lParam; + public static final int sizeof = 48; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java index 2a8c778c98..d12ffd9619 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class TVITEM {
- public int mask;
- public int hItem;
- public int state;
- public int stateMask;
- public int pszText;
- public int cchTextMax;
- public int iImage;
- public int iSelectedImage;
- public int cChildren;
- public int lParam;
- public static final int sizeof = 40;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class TVITEM { + public int mask; + public int hItem; + public int state; + public int stateMask; + public int pszText; + public int cchTextMax; + public int iImage; + public int iSelectedImage; + public int cChildren; + public int lParam; + public static final int sizeof = 40; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java index 7bd5f7213c..1ac1d05e0b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java @@ -1,25 +1,25 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class WINDOWPLACEMENT {
- public int length;
- public int flags;
- public int showCmd;
-// POINT ptMinPosition;
- public int ptMinPosition_x;
- public int ptMinPosition_y;
-// POINT ptMaxPosition;
- public int ptMaxPosition_x;
- public int ptMaxPosition_y;
-// RECT rcNormalPosition;
- public int left;
- public int top;
- public int right;
- public int bottom;
- public static final int sizeof = 44;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class WINDOWPLACEMENT { + public int length; + public int flags; + public int showCmd; +// POINT ptMinPosition; + public int ptMinPosition_x; + public int ptMinPosition_y; +// POINT ptMaxPosition; + public int ptMaxPosition_x; + public int ptMaxPosition_y; +// RECT rcNormalPosition; + public int left; + public int top; + public int right; + public int bottom; + public static final int sizeof = 44; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java index a5205285f1..e375726036 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java @@ -1,18 +1,18 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class WINDOWPOS {
- public int hwnd;
- public int hwndInsertAfter;
- public int x;
- public int y;
- public int cx;
- public int cy;
- public int flags;
- public static final int sizeof = 28;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class WINDOWPOS { + public int hwnd; + public int hwndInsertAfter; + public int x; + public int y; + public int cx; + public int cy; + public int flags; + public static final int sizeof = 28; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java index 5f4b1bf92f..40f5419346 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java @@ -1,21 +1,21 @@ -package org.eclipse.swt.internal.win32;
-
-/*
+package org.eclipse.swt.internal.win32; + +/* * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
- */
-public class WNDCLASS {
- public int style;
- public int lpfnWndProc;
- public int cbClsExtra;
- public int cbWndExtra;
- public int hInstance;
- public int hIcon;
- public int hCursor;
- public int hbrBackground;
- public int lpszMenuName;
- public int lpszClassName;
- public static final int sizeof = 40;
-}
+ * http://www.eclipse.org/legal/cpl-v10.html + */ +public class WNDCLASS { + public int style; + public int lpfnWndProc; + public int cbClsExtra; + public int cbWndExtra; + public int hInstance; + public int hIcon; + public int hCursor; + public int hbrBackground; + public int lpszMenuName; + public int lpszClassName; + public static final int sizeof = 40; +} |