Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Nemkin2018-02-17 17:12:10 +0000
committerLars Vogel2018-03-28 15:48:40 +0000
commit36a2cde49563bc13e65b5b03e811641de522f240 (patch)
treea5bd7f5cd71541d8cfeb2f6feba5678fabb8f0fa /bundles/org.eclipse.swt/Eclipse SWT PI/win32/org
parent84c9e305cb087110cb300a5e58f86583cf80914d (diff)
downloadeclipse.platform.swt-36a2cde49563bc13e65b5b03e811641de522f240.tar.gz
eclipse.platform.swt-36a2cde49563bc13e65b5b03e811641de522f240.tar.xz
eclipse.platform.swt-36a2cde49563bc13e65b5b03e811641de522f240.zip
Bug 531097 - [Win32] Remove unused PI definitionsI20180328-2000
Remove obsolete and/or unused PI functions, structures and constants. Remove WinCE-specific definitions in native code. Change-Id: I85bf17b026ae66d70050edd459ca706e873a3162 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/org')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DWM_BLURBEHIND.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/EXTLOGPEN.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMRGINFO.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java737
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOA.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEX.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXA.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXW.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOW.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHRGINFO.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIPINFO.java38
15 files changed, 6 insertions, 1028 deletions
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
deleted file mode 100644
index 9ce6f9d3d2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class DLLVERSIONINFO {
- public int cbSize;
- public int dwMajorVersion;
- public int dwMinorVersion;
- public int dwBuildNumber;
- public int dwPlatformID;
- public static final int sizeof = OS.DLLVERSIONINFO_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DWM_BLURBEHIND.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DWM_BLURBEHIND.java
deleted file mode 100644
index 6949dd167e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DWM_BLURBEHIND.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class DWM_BLURBEHIND {
- public int dwFlags;
- public boolean fEnable;
- /** @field cast=(HRGN) */
- public long /*int*/ hRgnBlur;
- public boolean fTransitionOnMaximized;
- public static final int sizeof = OS.DWM_BLURBEHIND_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/EXTLOGPEN.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/EXTLOGPEN.java
deleted file mode 100644
index e487d277a2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/EXTLOGPEN.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class EXTLOGPEN {
- public int elpPenStyle;
- public int elpWidth;
- public int elpBrushStyle;
- public int elpColor;
- public long /*int*/ elpHatch;
- public int elpNumEntries;
- public int[] elpStyleEntry = new int[1];
- public static final int sizeof = OS.EXTLOGPEN_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMRGINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMRGINFO.java
deleted file mode 100644
index a8fd8acbf1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMRGINFO.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class NMRGINFO extends NMHDR {
-// POINT ptAction;
- /** @field accessor=ptAction.x */
- public int x;
- /** @field accessor=ptAction.y */
- public int y;
- public int dwItemSpec;
- public static int sizeof = OS.NMRGINFO_sizeof ();
-}
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 e77117a3a4..ffc7ce7a1b 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
@@ -24,17 +24,10 @@ public class OS extends C {
*/
public static final boolean IsDBLocale;
public static final boolean IsUnicode = true;
- public static final int WIN32_MAJOR, WIN32_MINOR, WIN32_VERSION;
+ public static final int WIN32_VERSION;
public static final String NO_MANIFEST = "org.eclipse.swt.internal.win32.OS.NO_MANIFEST";
- /*
- * 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;
/* Forward references */
public static final int HEAP_ZERO_MEMORY = 0x8;
public static final int ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x00000008;
@@ -43,33 +36,11 @@ public class OS extends C {
public static final int SM_IMMENABLED = 0x52;
public static final int MAX_PATH = 260;
- /* Get the Windows version and the flags */
static {
- /*
- * 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 OSVERSIONINFOW ();
- info.dwOSVersionInfoSize = OSVERSIONINFOW.sizeof;
- if (!OS.GetVersionExW ((OSVERSIONINFOW)info)) {
- info = new OSVERSIONINFOA ();
- info.dwOSVersionInfoSize = OSVERSIONINFOA.sizeof;
- OS.GetVersionExA ((OSVERSIONINFOA)info);
- }
- OSVERSIONINFO.sizeof = info.dwOSVersionInfoSize;
+ /* Get the Windows version */
+ int dwVersion = OS.GetVersion ();
+ WIN32_VERSION = VERSION (dwVersion & 0xff, (dwVersion >> 8) & 0xff);
- WIN32_MAJOR = info.dwMajorVersion;
- WIN32_MINOR = info.dwMinorVersion;
- WIN32_VERSION = VERSION (WIN32_MAJOR, WIN32_MINOR);
/* Load the manifest to force the XP Theme */
if (System.getProperty (NO_MANIFEST) == null) {
TCHAR buffer = new TCHAR (0, MAX_PATH);
@@ -104,18 +75,6 @@ public class OS extends C {
IsDBLocale = OS.GetSystemMetrics (SM_IMMENABLED) != 0;
}
- /*
- * 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 ABS_DOWNDISABLED = 8;
public static final int ABS_DOWNHOT = 6;
@@ -135,8 +94,6 @@ public class OS extends C {
public static final int ABS_UPPRESSED = 3;
public static final int AC_SRC_OVER = 0;
public static final int AC_SRC_ALPHA = 1;
-// public static final int ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x00000008;
-// public static final int ACTCTX_FLAG_SET_PROCESS_DEFAULT = 0x00000010;
public static final int ALTERNATE = 1;
public static final int ASSOCF_NOTRUNCATE = 0x00000020;
public static final int ASSOCF_INIT_IGNOREUNKNOWN = 0x400;
@@ -144,15 +101,6 @@ public class OS extends C {
public static final int ASSOCSTR_DEFAULTICON = 15;
public static final int ASSOCSTR_FRIENDLYAPPNAME = 4;
public static final int ASSOCSTR_FRIENDLYDOCNAME = 3;
- public static final int AW_SLIDE = 0x00040000;
- public static final int AW_ACTIVATE = 0x00020000;
- public static final int AW_BLEND = 0x00080000;
- public static final int AW_HIDE = 0x00010000;
- public static final int AW_CENTER = 0x00000010;
- public static final int AW_HOR_POSITIVE = 0x00000001;
- public static final int AW_HOR_NEGATIVE = 0x00000002;
- public static final int AW_VER_POSITIVE = 0x00000004;
- public static final int AW_VER_NEGATIVE = 0x00000008;
public static final int ATTR_INPUT = 0x00;
public static final int ATTR_TARGET_CONVERTED = 0x01;
public static final int ATTR_CONVERTED = 0x02;
@@ -292,10 +240,6 @@ public class OS extends C {
public static final int CB_SETHORIZONTALEXTENT = 0x015e;
public static final int CB_SETITEMHEIGHT = 0x0153;
public static final int CB_SHOWDROPDOWN = 0x14f;
- public static final int CBXS_NORMAL = 1;
- public static final int CBXS_HOT = 2;
- public static final int CBXS_PRESSED = 3;
- public static final int CBXS_DISABLED = 4;
public static final int CCHDEVICENAME = 32;
public static final int CCHFORMNAME = 32;
public static final int CCHILDREN_SCROLLBAR = 5;
@@ -406,9 +350,7 @@ public class OS extends C {
public static final int CP_ACP = 0x0;
public static final int CP_UTF8 = 65001;
public static final int CP_DROPDOWNBUTTON = 1;
- public static final int CP_INSTALLED = 0x1;
public static final int CPS_COMPLETE = 0x1;
- public static final int CS_BYTEALIGNWINDOW = 0x2000;
public static final int CS_DBLCLKS = 0x8;
public static final int CS_DROPSHADOW = 0x20000;
public static final int CS_GLOBALCLASS = 0x4000;
@@ -417,9 +359,6 @@ public class OS extends C {
public static final int CS_OWNDC = 0x20;
public static final int CW_USEDEFAULT = 0x80000000;
public static final String DATETIMEPICK_CLASS = "SysDateTimePick32"; //$NON-NLS-1$
- public static final int DATE_LONGDATE = 0x00000002;
- public static final int DATE_SHORTDATE = 0x00000001;
- public static final int DATE_YEARMONTH = 0x00000008; //#if(WINVER >= 0x0500)
public static final int DCX_CACHE = 0x2;
public static final int DCX_CLIPCHILDREN = 0x8;
public static final int DCX_CLIPSIBLINGS = 0x10;
@@ -462,10 +401,7 @@ public class OS extends C {
public static final short DMDUP_SIMPLEX = 1;
public static final short DMDUP_VERTICAL = 2;
public static final short DMDUP_HORIZONTAL = 3;
- 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_BOTTOM = 0x8;
public static final int DT_CALCRECT = 0x400;
public static final int DT_CENTER = 0x1;
@@ -496,9 +432,6 @@ public class OS extends C {
public static final int DTS_SHORTDATEFORMAT = 0x0000;
public static final int DTS_TIMEFORMAT = 0x0009;
public static final int DTS_UPDOWN = 0x0001;
- public static final int DWM_BB_ENABLE = 0x1;
- public static final int DWM_BB_BLURREGION = 0x2;
- public static final int DWM_BB_TRANSITIONONMAXIMIZED = 0x4;
public static final int E_POINTER = 0x80004003;
public static final int EBP_NORMALGROUPBACKGROUND = 5;
public static final int EBP_NORMALGROUPCOLLAPSE = 6;
@@ -510,9 +443,6 @@ public class OS extends C {
public static final int EBP_HEADERBACKGROUND = 1;
public static final int EC_LEFTMARGIN = 0x1;
public static final int EC_RIGHTMARGIN = 0x2;
- 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_RAISED = (BDR_RAISEDOUTER | BDR_RAISEDINNER);
public static final int EDGE_SUNKEN = (BDR_SUNKENOUTER | BDR_SUNKENINNER);
public static final int EDGE_ETCHED = (BDR_SUNKENOUTER | BDR_RAISEDINNER);
@@ -626,7 +556,6 @@ public class OS extends C {
public static final int GCS_COMPATTR = 0x0010;
public static final int GCS_COMPCLAUSE = 0x0020;
public static final int GCS_CURSORPOS = 0x0080;
- public static final int GDT_VALID = 0;
public static final int GET_FEATURE_FROM_PROCESS = 0x2;
public static final int GF_BEGIN = 1;
public static final int GF_INERTIA = 2;
@@ -646,14 +575,8 @@ public class OS extends C {
public static final int GMEM_FIXED = 0x0;
public static final int GMEM_MOVEABLE = 0x2;
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 GUI_16BITTASK = 0x20;
public static final int GUI_CARETBLINKING = 0x1;
public static final int GUI_INMENUMODE = 0x4;
@@ -808,10 +731,6 @@ public class OS extends C {
public static final int ILC_COLOR8 = 0x8;
public static final int ILC_MASK = 0x1;
public static final int ILC_MIRROR = 0x2000;
- public static final int ILD_NORMAL = 0x0;
- public static final int ILD_SELECTED = 0x4;
- 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;
@@ -819,7 +738,6 @@ public class OS extends C {
public static final int IME_CMODE_ROMAN = 0x10;
public static final int IME_ESC_HANJA_MODE = 0x1008;
public static final int IMEMOUSE_LDOWN = 1;
- public static final int INFINITE = 0xffffffff;
public static final int INPUT_KEYBOARD = 1;
public static final int INPUT_MOUSE = 0;
public static final int INTERNET_MAX_URL_LENGTH = 2084;
@@ -837,7 +755,6 @@ public class OS extends C {
public static final int LANG_NEUTRAL = 0x0;
public static final int LANG_USER_DEFAULT = 1 << 10;
public static final int LAYOUT_RTL = 0x1;
- public static final int LAYOUT_BITMAPORIENTATIONPRESERVED = 0x8;
public static final int LBN_DBLCLK = 0x2;
public static final int LBN_SELCHANGE = 0x1;
public static final int LBS_EXTENDEDSEL = 0x800;
@@ -889,37 +806,11 @@ public class OS extends C {
public static final int LM_GETITEM = 0x703;
public static final int LCID_SUPPORTED = 0x2;
public static final int LOCALE_IDEFAULTANSICODEPAGE = 0x1004;
- public static final int LOCALE_IDATE = 0x00000021;
- public static final int LOCALE_ITIME = 0x00000023;
- public static final int LOCALE_RETURN_NUMBER = 0x20000000; // #if(WINVER >= 0x0400)
- public static final int LOCALE_S1159 = 0x00000028;
- public static final int LOCALE_S2359 = 0x00000029;
public static final int LOCALE_SDECIMAL = 14;
public static final int LOCALE_SISO3166CTRYNAME = 0x5a;
public static final int LOCALE_SISO639LANGNAME = 0x59;
- public static final int LOCALE_SLONGDATE = 0x00000020;
- public static final int LOCALE_SSHORTDATE = 0x0000001F;
public static final int LOCALE_STIMEFORMAT = 0x00001003;
- public static final int LOCALE_SYEARMONTH = 0x00001006; // #if(WINVER >= 0x0500)
- public static final int LOCALE_SDAYNAME1 = 0x0000002A; // long name for Monday
- public static final int LOCALE_SDAYNAME2 = 0x0000002B; // long name for Tuesday
- public static final int LOCALE_SDAYNAME3 = 0x0000002C; // long name for Wednesday
- public static final int LOCALE_SDAYNAME4 = 0x0000002D; // long name for Thursday
- public static final int LOCALE_SDAYNAME5 = 0x0000002E; // long name for Friday
- public static final int LOCALE_SDAYNAME6 = 0x0000002F; // long name for Saturday
- public static final int LOCALE_SDAYNAME7 = 0x00000030; // long name for Sunday
- public static final int LOCALE_SMONTHNAME1 = 0x00000038; // long name for January
- public static final int LOCALE_SMONTHNAME2 = 0x00000039; // long name for February
- public static final int LOCALE_SMONTHNAME3 = 0x0000003A; // long name for March
- public static final int LOCALE_SMONTHNAME4 = 0x0000003B; // long name for April
- public static final int LOCALE_SMONTHNAME5 = 0x0000003C; // long name for May
- public static final int LOCALE_SMONTHNAME6 = 0x0000003D; // long name for June
- public static final int LOCALE_SMONTHNAME7 = 0x0000003E; // long name for July
- public static final int LOCALE_SMONTHNAME8 = 0x0000003F; // long name for August
- public static final int LOCALE_SMONTHNAME9 = 0x00000040; // long name for September
- public static final int LOCALE_SMONTHNAME10 = 0x00000041; // long name for October
- public static final int LOCALE_SMONTHNAME11 = 0x00000042; // long name for November
- public static final int LOCALE_SMONTHNAME12 = 0x00000043; // long name for December
+ public static final int LOCALE_SYEARMONTH = 0x00001006;
public static final int LOCALE_USER_DEFAULT = 1024;
public static final int LOGPIXELSX = 0x58;
public static final int LOGPIXELSY = 0x5a;
@@ -1047,9 +938,7 @@ public class OS extends C {
public static final int LWA_COLORKEY = 0x00000001;
public static final int LWA_ALPHA = 0x00000002;
public static final int MAX_LINKID_TEXT = 48;
-// public static final int MAX_PATH = 260;
public static final int MA_NOACTIVATE = 0x3;
-// public static final int MANIFEST_RESOURCE_ID = 2;
public static final int MB_ABORTRETRYIGNORE = 0x2;
public static final int MB_APPLMODAL = 0x0;
public static final int MB_ICONERROR = 0x10;
@@ -1147,7 +1036,6 @@ public class OS extends C {
public static final int MSGF_SCROLLBAR = 5;
public static final int MSGF_SIZE = 4;
public static final int MSGF_USER = 4096;
- public static final int MWMO_INPUTAVAILABLE = 0x4;
public static final int MWT_LEFTMULTIPLY = 2;
public static final int NI_COMPOSITIONSTR = 0x15;
public static final int NID_READY = 0x80;
@@ -1182,7 +1070,6 @@ public class OS extends C {
public static final int NOTIFYICONDATAA_V2_SIZE = NOTIFYICONDATAA_V2_SIZE ();
public static final int NOTIFYICONDATAW_V2_SIZE = NOTIFYICONDATAW_V2_SIZE ();
public static final int NOTIFYICONDATA_V2_SIZE = IsUnicode ? NOTIFYICONDATAW_V2_SIZE : NOTIFYICONDATAA_V2_SIZE;
- 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;
@@ -1251,10 +1138,6 @@ public class OS extends C {
public static final int PD_RETURNDEFAULT = 0x00000400;
public static final int PD_SELECTION = 0x1;
public static final int PD_USEDEVMODECOPIESANDCOLLATE = 0x40000;
- public static final int PT_CLOSEFIGURE = 1;
- public static final int PT_LINETO = 2;
- public static final int PT_BEZIERTO = 4;
- public static final int PT_MOVETO = 6;
public static final int PFM_TABSTOPS = 0x10;
public static final int PHYSICALHEIGHT = 0x6f;
public static final int PHYSICALOFFSETX = 0x70;
@@ -1356,14 +1239,12 @@ public class OS extends C {
public static final int RB_SETBANDINFO = 0x40b;
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"; //$NON-NLS-1$
public static final int REG_DWORD = 4;
public static final int REG_OPTION_VOLATILE = 0x1;
@@ -1402,9 +1283,6 @@ public class OS extends C {
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_MOVE = 0xf010;
public static final int SC_HSCROLL = 0xf080;
@@ -1422,19 +1300,10 @@ public class OS extends C {
public static final int SCRBS_DISABLED = 4;
public static final int SEM_FAILCRITICALERRORS = 0x1;
public static final int SET_FEATURE_ON_PROCESS = 0x2;
- public static final int SF_RTF = 0x2;
public static final int SHADEBLENDCAPS = 120;
- public static final int SHCMBF_HIDDEN = 0x2;
- public static final int SHCMBM_OVERRIDEKEY = 0x400 + 403;
- public static final int SHCMBM_SETSUBMENU = 0x590;
- public static final int SHGFP_TYPE_CURRENT = 0;
- public static final int SHCMBM_GETSUBMENU = 0x591;
public static final int SHGFI_ICON = 0x000000100;
public static final int SHGFI_SMALLICON= 0x1;
public static final int SHGFI_USEFILEATTRIBUTES = 0x000000010;
- 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 SIGDN_FILESYSPATH = 0x80058000;
public static final int SIF_ALL = 0x17;
public static final int SIF_DISABLENOSCROLL = 0x8;
@@ -1479,8 +1348,6 @@ public class OS extends C {
public static final int SM_CYVSCROLL = 0x14;
public static final int SM_DIGITIZER = 94;
public static final int SM_MAXIMUMTOUCHES= 95;
-// public static final int SM_DBCSENABLED = 0x2A;
-// public static final int SM_IMMENABLED = 0x52;
public static final int SPI_GETFONTSMOOTHINGTYPE = 0x200A;
public static final int SPI_GETHIGHCONTRAST = 66;
public static final int SPI_GETWORKAREA = 0x30;
@@ -1509,7 +1376,6 @@ public class OS extends C {
public static final int SSA_GLYPHS = 0x00000080;
public static final int SSA_METAFILE = 0x00000800;
public static final int SSA_LINK = 0x00001000;
- public static final int STANDARD_RIGHTS_READ = 0x20000;
public static final int STARTF_USESHOWWINDOW = 0x1;
public static final int STATE_SYSTEM_INVISIBLE = 0x00008000;
public static final int STATE_SYSTEM_OFFSCREEN = 0x00010000;
@@ -1543,7 +1409,6 @@ public class OS extends C {
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 SYSRGN = 0x4;
public static final int SYSTEM_FONT = 0xd;
public static final int S_OK = 0x0;
@@ -1686,7 +1551,6 @@ public class OS extends C {
public static final int TF_LS_DOT = 2;
public static final int TF_LS_DASH = 3;
public static final int TF_LS_SQUIGGLE = 4;
- public static final int TIME_NOSECONDS = 0x2;
public static final int TIS_NORMAL = 1;
public static final int TIS_HOT = 2;
public static final int TIS_SELECTED = 3;
@@ -1733,15 +1597,6 @@ public class OS extends C {
public static final int TREIS_NORMAL = 1;
public static final int TREIS_SELECTED = 3;
public static final int TREIS_SELECTEDNOTFOCUS = 5;
- public static final int TS_MIN = 0;
- public static final int TS_TRUE = 1;
- public static final int TS_DRAW = 2;
- public static final int TS_NORMAL = 1;
- public static final int TS_HOT = 2;
- public static final int TS_PRESSED = 3;
- public static final int TS_DISABLED = 4;
- public static final int TS_CHECKED = 5;
- public static final int TS_HOTCHECKED = 6;
public static final int TTDT_AUTOMATIC = 0;
public static final int TTDT_RESHOW = 1;
public static final int TTDT_AUTOPOP = 2;
@@ -1900,11 +1755,9 @@ public class OS extends C {
public static final int TVS_TRACKSELECT = 0x200;
public static final int UDM_GETACCEL = 0x046C;
public static final int UDM_GETRANGE32 = 0x0470;
- public static final int UDM_GETPOS = 0x468;
public static final int UDM_GETPOS32 = 0x0472;
public static final int UDM_SETACCEL = 0x046B;
public static final int UDM_SETRANGE32 = 0x046f;
- public static final int UDM_SETPOS = 0x467;
public static final int UDM_SETPOS32 = 0x0471;
public static final int UDN_DELTAPOS = -722;
public static final int UDS_ALIGNLEFT = 0x008;
@@ -1994,12 +1847,6 @@ public class OS extends C {
public static final int VK_XBUTTON1 = 0x05;
public static final int VK_XBUTTON2 = 0x06;
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 int VT_BOOL = 11;
public static final int VT_LPWSTR = 31;
public static final short VARIANT_TRUE = -1;
@@ -2050,7 +1897,6 @@ public class OS extends C {
public static final int WM_GESTURE = 0x0119;
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_GETMINMAXINFO = 0x0024;
public static final int WM_HELP = 0x53;
@@ -2203,17 +2049,14 @@ public static final native int CRYPT_OBJID_BLOB_sizeof ();
public static final native int DEVMODEA_sizeof ();
public static final native int DEVMODEW_sizeof ();
public static final native int DIBSECTION_sizeof ();
-public static final native int DLLVERSIONINFO_sizeof ();
public static final native int DOCHOSTUIINFO_sizeof ();
public static final native int DOCINFO_sizeof ();
public static final native int DRAWITEMSTRUCT_sizeof ();
public static final native int DROPFILES_sizeof ();
public static final native int DTTOPTS_sizeof ();
-public static final native int DWM_BLURBEHIND_sizeof ();
public static final native int EMR_sizeof ();
public static final native int EMREXTCREATEFONTINDIRECTW_sizeof ();
public static final native int EXTLOGFONTW_sizeof ();
-public static final native int EXTLOGPEN_sizeof ();
public static final native int FILETIME_sizeof ();
public static final native int FLICK_DATA_sizeof ();
public static final native int FLICK_POINT_sizeof ();
@@ -2261,7 +2104,6 @@ public static final native int NMLVFINDITEM_sizeof ();
public static final native int NMLVODSTATECHANGE_sizeof ();
public static final native int NMREBARCHEVRON_sizeof ();
public static final native int NMREBARCHILDSIZE_sizeof ();
-public static final native int NMRGINFO_sizeof ();
public static final native int NMTBHOTITEM_sizeof ();
public static final native int NMTREEVIEW_sizeof ();
public static final native int NMTOOLBAR_sizeof ();
@@ -2281,10 +2123,6 @@ public static final native int NOTIFYICONDATAA_V2_SIZE ();
public static final native int NOTIFYICONDATAW_V2_SIZE ();
public static final native int OFNOTIFY_sizeof ();
public static final native int OPENFILENAME_sizeof ();
-public static final native int OSVERSIONINFOA_sizeof ();
-public static final native int OSVERSIONINFOW_sizeof ();
-public static final native int OSVERSIONINFOEXA_sizeof ();
-public static final native int OSVERSIONINFOEXW_sizeof ();
public static final native int OUTLINETEXTMETRICA_sizeof ();
public static final native int OUTLINETEXTMETRICW_sizeof ();
public static final native int PAINTSTRUCT_sizeof ();
@@ -2309,14 +2147,10 @@ public static final native int SCRIPT_STATE_sizeof ();
public static final native int SCRIPT_STRING_ANALYSIS_sizeof ();
public static final native int SCROLLBARINFO_sizeof ();
public static final native int SCROLLINFO_sizeof ();
-public static final native int SHACTIVATEINFO_sizeof ();
public static final native int SHDRAGIMAGE_sizeof();
public static final native int SHELLEXECUTEINFO_sizeof ();
public static final native int SHFILEINFOA_sizeof ();
public static final native int SHFILEINFOW_sizeof ();
-public static final native int SHMENUBARINFO_sizeof ();
-public static final native int SHRGINFO_sizeof ();
-public static final native int SIPINFO_sizeof ();
public static final native int SIZE_sizeof ();
public static final native int STARTUPINFO_sizeof ();
public static final native int SYSTEMTIME_sizeof ();
@@ -2495,11 +2329,6 @@ public static final int DragQueryFile (long /*int*/ hDrop, int iFile, TCHAR lpsz
return DragQueryFileA (hDrop, iFile, lpszFile1, cch);
}
-public static final boolean DrawState (long /*int*/ hdc, long /*int*/ hbr, long /*int*/ lpOutputFunc, long /*int*/ lData, long /*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 (long /*int*/ hDC, TCHAR lpString, int nCount, RECT lpRect, int uFormat) {
if (IsUnicode) {
char [] lpString1 = lpString == null ? null : lpString.chars;
@@ -2518,11 +2347,6 @@ public static final int EnumFontFamilies (long /*int*/ hdc, TCHAR lpszFamily, lo
return EnumFontFamiliesA (hdc, lpszFamily1, lpEnumFontFamProc, lParam);
}
-public static final int EnumFontFamiliesEx (long /*int*/ hdc, LOGFONT lpLogfont, long /*int*/ lpEnumFontFamExProc, long /*int*/ lParam, int dwFlags) {
- if (IsUnicode) return EnumFontFamiliesExW (hdc, (LOGFONTW)lpLogfont, lpEnumFontFamExProc, lParam, dwFlags);
- return EnumFontFamiliesExA (hdc, (LOGFONTA)lpLogfont, lpEnumFontFamExProc, lParam, dwFlags);
-}
-
public static final boolean EnumSystemLocales (long /*int*/ lpLocaleEnumProc, int dwFlags) {
if (IsUnicode) return EnumSystemLocalesW (lpLocaleEnumProc, dwFlags);
return EnumSystemLocalesA (lpLocaleEnumProc, dwFlags);
@@ -2562,17 +2386,6 @@ public static final boolean ExtTextOut(long /*int*/ hdc, int X, int Y, int fuOpt
return ExtTextOutA (hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx);
}
-public static final long /*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 int FormatMessage (int dwFlags, long /*int*/ lpSource, int dwMessageId, int dwLanguageId, long /*int*/ [] lpBuffer, int nSize, long /*int*/ Arguments) {
if (IsUnicode) {
return FormatMessageW (dwFlags, lpSource, dwMessageId, dwLanguageId, lpBuffer, nSize, Arguments);
@@ -2626,26 +2439,6 @@ public static final int GetClipboardFormatName (int format, TCHAR lpszFormatName
return GetClipboardFormatNameA (format, lpszFormatName1, cchMaxCount);
}
-public static final int GetDateFormat (int Locale, int dwFlags, SYSTEMTIME lpDate, TCHAR lpFormat, TCHAR lpDateStr, int cchDate) {
- if (IsUnicode) {
- char [] lpString1 = lpFormat == null ? null : lpFormat.chars;
- char [] lpString2 = lpDateStr == null ? null : lpDateStr.chars;
- return GetDateFormatW (Locale, dwFlags, lpDate, lpString1, lpString2, cchDate);
- }
- byte [] lpString1 = lpFormat == null ? null : lpFormat.bytes;
- byte [] lpString2 = lpDateStr == null ? null : lpDateStr.bytes;
- return GetDateFormatA (Locale, dwFlags, lpDate, lpString1, lpString2, cchDate);
-}
-
-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;
@@ -2698,11 +2491,6 @@ public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, DIBSECTIO
return GetObjectA (hgdiobj, cbBuffer, lpvObject);
}
-public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, EXTLOGPEN lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, LOGBRUSH lpvObject) {
if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
return GetObjectA (hgdiobj, cbBuffer, lpvObject);
@@ -2713,11 +2501,6 @@ public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, LOGFONT l
return GetObjectA (hgdiobj, cbBuffer, (LOGFONTA)lpvObject);
}
-public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, LOGPEN lpvObject) {
- if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
- return GetObjectA (hgdiobj, cbBuffer, lpvObject);
-}
-
public static final int GetObject (long /*int*/ hgdiobj, int cbBuffer, long /*int*/ lpvObject) {
if (IsUnicode) return GetObjectW (hgdiobj, cbBuffer, lpvObject);
return GetObjectA (hgdiobj, cbBuffer, lpvObject);
@@ -2780,27 +2563,6 @@ public static final boolean GetTextMetrics (long /*int*/ hdc, TEXTMETRIC lptm) {
return GetTextMetricsA (hdc, (TEXTMETRICA)lptm);
}
-public static final int GetTimeFormat (int Locale, int dwFlags, SYSTEMTIME lpTime, TCHAR lpFormat, TCHAR lpTimeStr, int cchTime) {
- if (IsUnicode) {
- char [] lpString1 = lpFormat == null ? null : lpFormat.chars;
- char [] lpString2 = lpTimeStr == null ? null : lpTimeStr.chars;
- return GetTimeFormatW (Locale, dwFlags, lpTime, lpString1, lpString2, cchTime);
- }
- byte [] lpString1 = lpFormat == null ? null : lpFormat.bytes;
- byte [] lpString2 = lpTimeStr == null ? null : lpTimeStr.bytes;
- return GetTimeFormatA (Locale, dwFlags, lpTime, lpString1, lpString2, cchTime);
-}
-
-public static final boolean GetVersionEx (OSVERSIONINFO lpVersionInfo) {
- if (IsUnicode) return GetVersionExW ((OSVERSIONINFOW)lpVersionInfo);
- return GetVersionExA ((OSVERSIONINFOA)lpVersionInfo);
-}
-
-public static final boolean GetVersionEx (OSVERSIONINFOEX lpVersionInfo) {
- if (IsUnicode) return GetVersionExW ((OSVERSIONINFOEXW)lpVersionInfo);
- return GetVersionExA ((OSVERSIONINFOEXA)lpVersionInfo);
-}
-
public static final int GetWindowLong (long /*int*/ hWnd, int nIndex) {
if (IsUnicode) return GetWindowLongW (hWnd, nIndex);
return GetWindowLongA (hWnd, nIndex);
@@ -2902,15 +2664,6 @@ public static final boolean InternetSetCookie (TCHAR lpszUrl, TCHAR lpszCookieNa
return InternetSetCookieA (url, cookieName, cookieData);
}
-public static final boolean InsertMenu (long /*int*/ hMenu, int uPosition, int uFlags, long /*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 (long /*int*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii) {
if (IsUnicode) return InsertMenuItemW (hMenu, uItem, fByPosition, lpmii);
return InsertMenuItemA (hMenu, uItem, fByPosition, lpmii);
@@ -2931,38 +2684,11 @@ public static final long /*int*/ LoadIcon (long /*int*/ hInstance, long /*int*/
return LoadIconA (hInstance, lpIconName);
}
-public static final long /*int*/ LoadImage (long /*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 long /*int*/ LoadImage (long /*int*/ hinst, long /*int*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad) {
if (IsUnicode) return LoadImageW (hinst, lpszName, uType, cxDesired, cyDesired, fuLoad);
return LoadImageA (hinst, lpszName, uType, cxDesired, cyDesired, fuLoad);
}
-public static final long /*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 LoadString (long /*int*/ hinst, int uID, TCHAR lpBuffer, int nBufferMax) {
- if (IsUnicode) {
- char [] lpBuffer1 = lpBuffer == null ? null : lpBuffer.chars;
- return LoadStringW (hinst, uID, lpBuffer1, nBufferMax);
- }
- byte [] lpBuffer1 = lpBuffer == null ? null : lpBuffer.bytes;
- return LoadStringA (hinst, uID, lpBuffer1, nBufferMax);
-}
-
public static final int MapVirtualKey (int uCode, int uMapType) {
if (IsUnicode) return MapVirtualKeyW (uCode, uMapType);
return MapVirtualKeyA (uCode, uMapType);
@@ -3147,11 +2873,6 @@ public static final int RegOpenKeyEx (long /*int*/ hKey, TCHAR lpSubKey, int ulO
return RegOpenKeyExA (hKey, lpSubKey1, ulOptions, samDesired, phkResult);
}
-public static final int RegQueryInfoKey (long /*int*/ hKey, long /*int*/ lpClass, int[] lpcbClass, long /*int*/ lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, long /*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 (long /*int*/ hKey, TCHAR lpValueName, long /*int*/ lpReserved, int[] lpType, TCHAR lpData, int[] lpcbData) {
if (IsUnicode) {
char [] lpValueName1 = lpValueName == null ? null : lpValueName.chars;
@@ -3427,15 +3148,6 @@ public static final boolean Shell_NotifyIcon (int dwMessage, NOTIFYICONDATA lpDa
return Shell_NotifyIconA (dwMessage, (NOTIFYICONDATAA)lpData);
}
-public static final int SHGetFolderPath (long /*int*/ hwndOwner, int nFolder, long /*int*/ hToken, int dwFlags, TCHAR pszPath) {
- if (IsUnicode) {
- char [] pszPath1 = pszPath == null ? null : pszPath.chars;
- return SHGetFolderPathW (hwndOwner, nFolder, hToken, dwFlags, pszPath1);
- }
- byte [] pszPath1 = pszPath == null ? null : pszPath.bytes;
- return SHGetFolderPathA (hwndOwner, nFolder, hToken, dwFlags, pszPath1);
-}
-
public static final boolean SHGetPathFromIDList (long /*int*/ pidl, TCHAR pszPath) {
if (IsUnicode) {
char [] pszPath1 = pszPath == null ? null : pszPath.chars;
@@ -3523,11 +3235,6 @@ public static final native boolean AllowSetForegroundWindow (int dwProcessId);
* @param blendFunction flags=struct
*/
public static final native boolean AlphaBlend(long /*int*/ hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, long /*int*/ hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, BLENDFUNCTION blendFunction);
-/**
- * @method flags=dynamic
- * @param hwnd cast=(HWND)
- */
-public static final native boolean AnimateWindow(long /*int*/ hwnd, int dwTime, int dwFlags);
/** @param hdc cast=(HDC) */
public static final native boolean Arc (long /*int*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nXStartArc, int nYStartArc, int nXEndArc, int nYEndArc);
/** @method flags=dynamic */
@@ -3535,11 +3242,6 @@ public static final native int AssocQueryStringA(int flags, int str, byte[] pszA
/** @method flags=dynamic */
public static final native int AssocQueryStringW(int flags, int str, char[] pszAssoc, char[] pszExtra, char[] pszOut, int[] pcchOut);
/**
- * @param idAttach cast=(DWORD)
- * @param idAttachTo cast=(DWORD)
- */
-public static final native boolean AttachThreadInput (int idAttach, int idAttachTo, boolean fAttach);
-/**
* @method flags=dynamic
* @param hdcTarget cast=(HDC)
* @param phdc cast=(HDC*)
@@ -3559,16 +3261,8 @@ public static final native boolean BitBlt (long /*int*/ hdcDest, int nXDest, int
public static final native boolean BringWindowToTop (long /*int*/ hWnd);
/** @method flags=dynamic */
public static final native int BufferedPaintInit ();
-/**
- * @method flags=dynamic
- * @param hBufferedPaint cast=(HPAINTBUFFER)
- */
-public static final native int BufferedPaintSetAlpha (long /*int*/ hBufferedPaint, RECT prc, byte alpha);
/** @method flags=dynamic */
public static final native int BufferedPaintUnInit ();
-public static final native int Call (long /*int*/ address);
-/** @param address cast=(DLLGETVERSIONPROC) */
-public static final native int Call (long /*int*/ address, DLLVERSIONINFO arg0);
/**
* @param hhk cast=(HHOOK)
* @param wParam cast=(WPARAM)
@@ -3603,12 +3297,6 @@ public static final native long /*int*/ CharLowerA (long /*int*/ ch);
public static final native long /*int*/ CharUpperW (long /*int*/ ch);
/** @param ch cast=(LPSTR) */
public static final native long /*int*/ CharUpperA (long /*int*/ ch);
-/**
- * @param hmenu cast=(HMENU)
- * @param uIDCheckItem cast=(UINT)
- * @param uCheck cast=(UINT)
- */
-public static final native boolean CheckMenuItem (long /*int*/ hmenu, int uIDCheckItem, int uCheck);
/** @param lpcc cast=(LPCHOOSECOLORW) */
public static final native boolean ChooseColorW (CHOOSECOLOR lpcc);
public static final native boolean ChooseColorA (CHOOSECOLOR lpcc);
@@ -3659,34 +3347,6 @@ public static final native int CoInternetSetFeatureEnabled (int FeatureEntry, in
* @param hrgnSrc2 cast=(HRGN)
*/
public static final native int CombineRgn (long /*int*/ hrgnDest, long /*int*/ hrgnSrc1, long /*int*/ hrgnSrc2, int fnCombineMode);
-/** @param hwndCB cast=(HWND) */
-public static final native boolean CommandBar_AddAdornments (long /*int*/ hwndCB, int dwFlags, int dwReserved);
-/**
- * @param hInst cast=(HINSTANCE)
- * @param hwndParent cast=(HWND)
- */
-public static final native long /*int*/ CommandBar_Create (long /*int*/ hInst, long /*int*/ hwndParent, int idCmdBar);
-/** @param hwndCB cast=(HWND) */
-public static final native void CommandBar_Destroy (long /*int*/ hwndCB);
-/**
- * @param hwndCB cast=(HWND)
- * @param iButton cast=(WORD)
- */
-public static final native boolean CommandBar_DrawMenuBar (long /*int*/ hwndCB, int iButton);
-/** @param hdnwCB cast=(HWND) */
-public static final native int CommandBar_Height (long /*int*/ hdnwCB);
-/**
- * @param hwndCB cast=(HWND)
- * @param hInst cast=(HINSTANCE)
- * @param pszMenu cast=(LPTSTR)
- * @param iButton cast=(WORD)
- */
-public static final native boolean CommandBar_InsertMenubarEx (long /*int*/ hwndCB, long /*int*/ hInst, long /*int*/ pszMenu, int iButton);
-/**
- * @param hwndCB cast=(HWND)
- * @param fShow cast=(BOOL)
- */
-public static final native boolean CommandBar_Show (long /*int*/ hwndCB, boolean fShow);
public static final native int CommDlgExtendedError ();
/** @param hImage cast=(HANDLE) */
public static final native long /*int*/ CopyImage (long /*int*/ hImage, int uType, int cxDesired, int cyDesired, int fuFlags);
@@ -3912,8 +3572,6 @@ public static final native int DocumentPropertiesW (long /*int*/ hWnd, long /*in
* @param pDevModeInput cast=(PDEVMODE)
*/
public static final native int DocumentPropertiesA (long /*int*/ hWnd, long /*int*/ hPrinter, byte[] pDeviceName, long /*int*/ pDevModeOutput, long /*int*/ pDevModeInput, int fMode);
-/** @param hdc cast=(HDC) */
-public static final native boolean DPtoLP (long /*int*/ hdc, POINT lpPoints, int nCount);
/**
* @param hwnd cast=(HWND)
* @param pt flags=struct
@@ -3931,8 +3589,6 @@ public static final native int DragQueryFileA (long /*int*/ hDrop, int iFile, by
* @param lpszFile cast=(LPWSTR)
*/
public static final native int DragQueryFileW (long /*int*/ hDrop, int iFile, char[] lpszFile, int cch);
-/** @param hwnd cast=(HWND) */
-public static final native boolean DrawAnimatedRects (long /*int*/ hwnd, int idAni, RECT lprcFrom, RECT lprcTo);
/** @param hdc cast=(HDC) */
public static final native boolean DrawEdge (long /*int*/ hdc, RECT qrc, int edge, int grfFlags);
/** @param hDC cast=(HDC) */
@@ -3948,22 +3604,6 @@ public static final native boolean DrawIconEx (long /*int*/ hdc, int xLeft, int
/** @param hWnd cast=(HWND) */
public static final native boolean DrawMenuBar (long /*int*/ hWnd);
/**
- * @param hdc cast=(HDC)
- * @param hbr cast=(HBRUSH)
- * @param lpOutputFunc cast=(DRAWSTATEPROC)
- * @param lData cast=(LPARAM)
- * @param wData cast=(WPARAM)
- */
-public static final native boolean DrawStateW (long /*int*/ hdc, long /*int*/ hbr, long /*int*/ lpOutputFunc, long /*int*/ lData, long /*int*/ wData, int x, int y, int cx, int cy, int fuFlags);
-/**
- * @param hdc cast=(HDC)
- * @param hbr cast=(HBRUSH)
- * @param lpOutputFunc cast=(DRAWSTATEPROC)
- * @param lData cast=(LPARAM)
- * @param wData cast=(WPARAM)
- */
-public static final native boolean DrawStateA (long /*int*/ hdc, long /*int*/ hbr, long /*int*/ lpOutputFunc, long /*int*/ lData, long /*int*/ wData, int x, int y, int cx, int cy, int fuFlags);
-/**
* @param hDC cast=(HDC)
* @param lpString cast=(LPWSTR),flags=no_out critical
*/
@@ -3982,27 +3622,7 @@ public static final native int DrawTextA (long /*int*/ hDC, byte [] lpString, in
*/
public static final native int DrawThemeBackground (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT pRect, RECT pClipRect);
/** @method flags=dynamic */
-public static final native int DrawThemeEdge (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT pDestRect, int uEdge, int uFlags, RECT pContentRect);
-/** @method flags=dynamic */
-public static final native int DrawThemeIcon (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT pRect, long /*int*/ himl, int iImageIndex);
-/** @method flags=dynamic */
-public static final native int DrawThemeParentBackground (long /*int*/ hwnd, long /*int*/ hdc, RECT prc);
-/** @method flags=dynamic */
public static final native int DrawThemeText (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, char[] pszText, int iCharCount, int dwTextFlags, int dwTextFlags2, RECT pRect);
-/** @method flags=dynamic */
-public static final native int DrawThemeTextEx (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, char[] pszText, int iCharCount, int dwFlags, RECT pRect, DTTOPTS pOptions);
-/**
- * @method flags=dynamic
- * @param hWnd cast=(HWND)
- */
-public static final native int DwmEnableBlurBehindWindow (long /*int*/ hWnd, DWM_BLURBEHIND pBlurBehind);
-/**
- * @method flags=dynamic
- * @param hWnd cast=(HWND)
- */
-public static final native int DwmExtendFrameIntoClientArea (long /*int*/ hWnd, MARGINS pMarInset);
-/** @method flags=dynamic */
-public static final native int DwmIsCompositionEnabled (boolean[] pfEnabled);
/** @param hdc cast=(HDC) */
public static final native boolean Ellipse (long /*int*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
/** @param hMenu cast=(HMENU) */
@@ -4040,8 +3660,6 @@ public static final native int EndDoc (long /*int*/ hdc);
public static final native int EndPage (long /*int*/ hdc);
/** @param hWnd cast=(HWND) */
public static final native int EndPaint (long /*int*/ hWnd, PAINTSTRUCT lpPaint);
-/** @param hdc cast=(HDC) */
-public static final native boolean EndPath(long /*int*/ hdc);
/**
* @method flags=dynamic
* @param hdc cast=(HDC)
@@ -4072,29 +3690,10 @@ public static final native int EnumFontFamiliesW (long /*int*/ hdc, char [] lpsz
*/
public static final native int EnumFontFamiliesA (long /*int*/ hdc, byte [] lpszFamily, long /*int*/ lpEnumFontFamProc, long /*int*/ lParam);
/**
- * @param hdc cast=(HDC)
- * @param lpLogfont cast=(LPLOGFONTW)
- * @param lpEnumFontFamExProc cast=(FONTENUMPROCW)
- * @param lParam cast=(LPARAM)
- */
-public static final native int EnumFontFamiliesExW (long /*int*/ hdc, LOGFONTW lpLogfont, long /*int*/ lpEnumFontFamExProc, long /*int*/ lParam, int dwFlags);
-/**
- * @param hdc cast=(HDC)
- * @param lpLogfont cast=(LPLOGFONTA)
- * @param lpEnumFontFamExProc cast=(FONTENUMPROCA)
- * @param lParam cast=(LPARAM)
- */
-public static final native int EnumFontFamiliesExA (long /*int*/ hdc, LOGFONTA lpLogfont, long /*int*/ lpEnumFontFamExProc, long /*int*/ lParam, int dwFlags);
-/**
* @param lprc1 cast=(CONST RECT *),flags=no_out
* @param lprc2 cast=(CONST RECT *),flags=no_out
*/
public static final native boolean EqualRect (RECT lprc1, RECT lprc2);
-/**
- * @param hSrcRgn1 cast=(HRGN)
- * @param hSrcRgn2 cast=(HRGN)
- */
-public static final native boolean EqualRgn (long /*int*/ hSrcRgn1, long /*int*/ hSrcRgn2);
/** @param hdc cast=(HDC) */
public static final native int ExcludeClipRect (long /*int*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
public static final native int ExpandEnvironmentStringsW (char [] lpSrc, char [] lsDst, int nSize);
@@ -4142,18 +3741,6 @@ public static final native boolean FileTimeToSystemTime (FILETIME lpFileTime, SY
* @param hbr cast=(HBRUSH)
*/
public static final native int FillRect (long /*int*/ hDC, RECT lprc, long /*int*/ hbr);
-/** @param hdc cast=(HDC) */
-public static final native boolean FillPath (long /*int*/ hdc);
-/**
- * @param lpClassName cast=(LPSTR)
- * @param lpWindowName cast=(LPSTR)
- */
-public static final native long /*int*/ FindWindowA (byte [] lpClassName, byte [] lpWindowName);
-/**
- * @param lpClassName cast=(LPWSTR)
- * @param lpWindowName cast=(LPWSTR)
- */
-public static final native long /*int*/ FindWindowW (char [] lpClassName, char [] lpWindowName);
/**
* @param lpSource cast=(LPCVOID)
* @param lpBuffer cast=(LPSTR)
@@ -4166,15 +3753,12 @@ public static final native int FormatMessageA (int dwFlags, long /*int*/ lpSourc
* @param Arguments cast=(va_list*)
*/
public static final native int FormatMessageW (int dwFlags, long /*int*/ lpSource, int dwMessageId, int dwLanguageId, long /*int*/ [] lpBuffer, int nSize, long /*int*/ Arguments);
-/** @param hLibModule cast=(HMODULE) */
-public static final native boolean FreeLibrary (long /*int*/ hLibModule);
/** @param dwLimit cast=(DWORD) */
public static final native int GdiSetBatchLimit (int dwLimit);
public static final native int GET_WHEEL_DELTA_WPARAM(long /*int*/ wParam);
public static final native int GET_X_LPARAM(long /*int*/ lp);
public static final native int GET_Y_LPARAM(long /*int*/ lp);
public static final native int GetACP ();
-public static final native short GetAsyncKeyState (int nVirtKey);
public static final native long /*int*/ GetActiveWindow ();
/** @param hDC cast=(HDC) */
public static final native int GetBkColor (long /*int*/ hDC);
@@ -4252,20 +3836,6 @@ public static final native int GetCurrentThreadId ();
public static final native int GetCurrentProcessExplicitAppUserModelID(long /*int*/[] AppID);
public static final native long /*int*/ GetCursor ();
public static final native boolean GetCursorPos (POINT lpPoint);
-/**
- * @param Locale cast=(LCID)
- * @param dwFlags cast=(DWORD)
- * @param lpFormat cast=(LPWSTR)
- * @param lpDateStr cast=(LPWSTR)
- */
-public static final native int GetDateFormatW(int Locale, int dwFlags, SYSTEMTIME lpDate, char [] lpFormat, char [] lpDateStr, int cchDate);
-/**
- * @param Locale cast=(LCID)
- * @param dwFlags cast=(DWORD)
- * @param lpFormat cast=(LPSTR)
- * @param lpDateStr cast=(LPSTR)
- */
-public static final native int GetDateFormatA(int Locale, int dwFlags, SYSTEMTIME lpDate, byte [] lpFormat, byte [] lpDateStr, int cchDate);
/** @param hwnd cast=(HWND) */
public static final native long /*int*/ GetDC (long /*int*/ hwnd);
/**
@@ -4325,10 +3895,6 @@ public static final native long /*int*/ GetKeyboardLayout (int idThread);
public static final native short GetKeyState (int nVirtKey);
/** @param lpKeyState cast=(PBYTE) */
public static final native boolean GetKeyboardState (byte [] lpKeyState);
-/** @param lpString cast=(LPWSTR) */
-public static final native int GetKeyNameTextW (int lParam, char [] lpString, int nSize);
-/** @param lpString cast=(LPSTR) */
-public static final native int GetKeyNameTextA (int lParam, byte [] lpString, int nSize);
/** @param hWnd cast=(HWND) */
public static final native long /*int*/ GetLastActivePopup (long /*int*/ hWnd);
public static final native int GetLastError ();
@@ -4386,16 +3952,7 @@ public static final native int GetMessageTime ();
*/
public static final native int GetMetaRgn (long /*int*/ hdc, long /*int*/ hrgn);
/** @method flags=dynamic */
-public static final native int GetThemeBitmap (long /*int*/ hTheme, int iPartId, int iStateId, int iPropId, int dwFlags, long /*int*/[] hBitmap);
-/** @method flags=dynamic */
-public static final native int GetThemeColor (long /*int*/ hTheme, int iPartId, int iStateId, int iPropId, int[] pColor);
-/** @method flags=dynamic */
public static final native int GetThemeTextExtent (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, char[] pszText, int iCharCount, int dwTextFlags, RECT pBoundingRect, RECT pExtentRect);
-/** @param hdc cast=(HDC) */
-public static final native int GetTextCharset (long /*int*/ hdc);
-public static final native int GetTickCount ();
-/** @param hdc cast=(HDC) */
-public static final native int GetMapMode (long /*int*/ hdc);
/**
* @param hModule cast=(HMODULE)
* @param lpFilename cast=(LPWSTR)
@@ -4451,16 +4008,6 @@ public static final native int GetObjectW (long /*int*/ hgdiobj, int cbBuffer, D
* @param hgdiobj cast=(HGDIOBJ)
* @param lpvObject flags=no_in
*/
-public static final native int GetObjectA (long /*int*/ hgdiobj, int cbBuffer, EXTLOGPEN lpvObject);
-/**
- * @param hgdiobj cast=(HGDIOBJ)
- * @param lpvObject flags=no_in
- */
-public static final native int GetObjectW (long /*int*/ hgdiobj, int cbBuffer, EXTLOGPEN lpvObject);
-/**
- * @param hgdiobj cast=(HGDIOBJ)
- * @param lpvObject flags=no_in
- */
public static final native int GetObjectA (long /*int*/ hgdiobj, int cbBuffer, LOGBRUSH lpvObject);
/**
* @param hgdiobj cast=(HGDIOBJ)
@@ -4479,16 +4026,6 @@ public static final native int GetObjectA (long /*int*/ hgdiobj, int cbBuffer, L
public static final native int GetObjectW (long /*int*/ hgdiobj, int cbBuffer, LOGFONTW lpvObject);
/**
* @param hgdiobj cast=(HGDIOBJ)
- * @param lpvObject flags=no_in
- */
-public static final native int GetObjectA (long /*int*/ hgdiobj, int cbBuffer, LOGPEN lpvObject);
-/**
- * @param hgdiobj cast=(HGDIOBJ)
- * @param lpvObject flags=no_in
- */
-public static final native int GetObjectW (long /*int*/ hgdiobj, int cbBuffer, LOGPEN lpvObject);
-/**
- * @param hgdiobj cast=(HGDIOBJ)
* @param lpvObject cast=(LPVOID),flags=no_in
*/
public static final native int GetObjectA (long /*int*/ hgdiobj, int cbBuffer, long /*int*/ lpvObject);
@@ -4505,12 +4042,6 @@ public static final native int GetOutlineTextMetricsW (long /*int*/ hdc, int cbD
/** @param hdc cast=(HDC) */
public static final native int GetOutlineTextMetricsA (long /*int*/ hdc, int cbData, OUTLINETEXTMETRICA lpOTM);
/**
- * @param hdc cast=(HDC)
- * @param lpPoints cast=(LPPOINT)
- * @param lpTypes cast=(LPBYTE)
- */
-public static final native int GetPath (long /*int*/ hdc, int[] lpPoints, byte[] lpTypes, int nSize);
-/**
* @param hPalette cast=(HPALETTE)
* @param logPalette cast=(LPPALETTEENTRY),flags=no_in critical
*/
@@ -4533,14 +4064,7 @@ public static final native boolean OpenPrinterW (char[] pPrinterName, long /*int
* @param pDefault cast=(LPPRINTER_DEFAULTS)
*/
public static final native boolean OpenPrinterA (byte[] pPrinterName, long /*int*/ [] phPrinter, long /*int*/ pDefault);
-/**
- * @param hModule cast=(HMODULE)
- * @param lpProcName cast=(LPCTSTR)
- */
-public static final native long /*int*/ GetProcAddress (long /*int*/ hModule, byte [] lpProcName);
public static final native long /*int*/ GetProcessHeap ();
-/** @param ProcessHeaps cast=(PHANDLE) */
-public static final native int GetProcessHeaps (int NumberOfHeaps, long /*int*/[] ProcessHeaps);
/**
* @param lpAppName cast=(LPWSTR)
* @param lpKeyName cast=(LPWSTR)
@@ -4632,39 +4156,6 @@ public static final native boolean GetTextMetricsW (long /*int*/ hdc, TEXTMETRIC
* @param lptm flags=no_in
*/
public static final native boolean GetTextMetricsA (long /*int*/ hdc, TEXTMETRICA lptm);
-/** @method flags=dynamic */
-public static final native int GetThemeInt (long /*int*/ hTheme, int iPartId, int iStateId, int iPropId, int[] piVal);
-/** @method flags=dynamic */
-public static final native int GetThemeMargins (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, int iPropId, RECT prc, MARGINS pMargins);
-/** @method flags=dynamic */
-public static final native int GetThemeBackgroundContentRect (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT pBoundingRect, RECT pContentRect);
-/**
- * @method flags=dynamic
- * @param pContentRect flags=no_out
- */
-public static final native int GetThemeBackgroundExtent (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT pContentRect, RECT pExtentRect);
-/** @method flags=dynamic */
-public static final native int GetThemePartSize (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, RECT prc, int eSize, SIZE psz);
-/** @method flags=dynamic */
-public static final native int GetThemeMetric (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, int iPropId, int[] piVal);
-/** @method flags=dynamic */
-public static final native int GetThemeRect (long /*int*/ hTheme, int iPartId, int iStateId, int iPropId, RECT pRect);
-/** @method flags=dynamic */
-public static final native int GetThemeSysSize (long /*int*/ hTheme, int iSizeID);
-/**
- * @param Locale cast=(LCID)
- * @param dwFlags cast=(DWORD)
- * @param lpFormat cast=(LPWSTR)
- * @param lpTimeStr cast=(LPWSTR)
- */
-public static final native int GetTimeFormatW(int Locale, int dwFlags, SYSTEMTIME lpTime, char [] lpFormat, char [] lpTimeStr, int cchTime);
-/**
- * @param Locale cast=(LCID)
- * @param dwFlags cast=(DWORD)
- * @param lpFormat cast=(LPSTR)
- * @param lpTimeStr cast=(LPSTR)
- */
-public static final native int GetTimeFormatA(int Locale, int dwFlags, SYSTEMTIME lpTime, byte [] lpFormat, byte [] lpTimeStr, int cchTime);
/**
* @method flags=dynamic
* @param hTouchInput cast=(HTOUCHINPUT)
@@ -4683,12 +4174,7 @@ public static final native boolean GetUpdateRect (long /*int*/ hWnd, RECT lpRect
* @param hRgn cast=(HRGN)
*/
public static final native int GetUpdateRgn (long /*int*/ hWnd, long /*int*/ hRgn, boolean bErase);
-/** @param lpVersionInfo cast=(LPOSVERSIONINFOW) */
-public static final native boolean GetVersionExW (OSVERSIONINFOEXW lpVersionInfo);
-/** @param lpVersionInfo cast=(LPOSVERSIONINFOA) */
-public static final native boolean GetVersionExA (OSVERSIONINFOEXA lpVersionInfo);
-public static final native boolean GetVersionExW (OSVERSIONINFOW lpVersionInfo);
-public static final native boolean GetVersionExA (OSVERSIONINFOA lpVersionInfo);
+public static final native int GetVersion ();
/** @param hWnd cast=(HWND) */
public static final native long /*int*/ GetWindow (long /*int*/ hWnd, int uCmd);
/** @param hWnd cast=(HWND) */
@@ -4727,20 +4213,10 @@ public static final native int GetWindowTextLengthW (long /*int*/ hWnd);
/** @param hWnd cast=(HWND) */
public static final native int GetWindowTextLengthA (long /*int*/ hWnd);
/**
- * @method flags=dynamic
- * @param hWnd cast=(HWND)
- */
-public static final native long /*int*/ GetWindowTheme (long /*int*/ hWnd);
-/**
* @param hWnd cast=(HWND)
* @param lpdwProcessId cast=(LPDWORD)
*/
public static final native int GetWindowThreadProcessId (long /*int*/ hWnd, int [] lpdwProcessId);
-/**
- * @param hdc cast=(HDC)
- * @param lpXform cast=(LPXFORM)
- */
-public static final native boolean GetWorldTransform (long /*int*/ hdc, float[] lpXform);
public static final native double GID_ROTATE_ANGLE_FROM_ARGUMENT(long dwArgument);
/** @param lpString cast=(LPCWSTR) */
public static final native int GlobalAddAtomW (char [] lpString);
@@ -4773,19 +4249,9 @@ public static final native long /*int*/ HeapAlloc (long /*int*/ hHeap, int dwFla
* @param lpMem cast=(LPVOID)
*/
public static final native boolean HeapFree (long /*int*/ hHeap, int dwFlags, long /*int*/ lpMem);
-/**
- * @param hHeap cast=(HANDLE)
- * @param lpMem cast=(LPCVOID)
- */
-public static final native boolean HeapValidate (long /*int*/ hHeap, int dwFlags, long /*int*/ lpMem);
/** @param hWnd cast=(HWND) */
public static final native boolean HideCaret (long /*int*/ hWnd);
/**
- * @method flags=dynamic
- * @param ptTest flags=struct
- */
-public static final native int HitTestThemeBackground (long /*int*/ hTheme, long /*int*/ hdc, int iPartId, int iStateId, int dwOptions, RECT pRect, long /*int*/ hrgn, POINT ptTest, short[] pwHitTestCode);
-/**
* @param lpsz cast=(LPOLESTR)
* @param lpiid cast=(LPIID)
*/
@@ -4814,21 +4280,8 @@ public static final native boolean ImageList_DragLeave (long /*int*/ hwndLock);
public static final native boolean ImageList_DragMove (int x, int y);
/** @param fShow cast=(BOOL) */
public static final native boolean ImageList_DragShowNolock (boolean fShow);
-/**
- * @param himl cast=(HIMAGELIST)
- * @param hdcDst cast=(HDC)
- * @param fStyle cast=(UINT)
- */
-public static final native boolean ImageList_Draw (long /*int*/ himl, int i, long /*int*/ hdcDst, int x, int y, int fStyle);
public static final native void ImageList_EndDrag ();
/**
- * @param ppt cast=(POINT *)
- * @param pptHotspot cast=(POINT *)
- */
-public static final native long /*int*/ ImageList_GetDragImage (POINT ppt, POINT pptHotspot);
-/** @param himl cast=(HIMAGELIST) */
-public static final native long /*int*/ ImageList_GetIcon (long /*int*/ himl, int i, int flags);
-/**
* @param himl cast=(HIMAGELIST)
* @param cx cast=(int *)
* @param cy cast=(int *)
@@ -4859,8 +4312,6 @@ public static final native long /*int*/ ImmAssociateContext (long /*int*/ hWnd,
public static final native long /*int*/ ImmCreateContext ();
/** @param hIMC cast=(HIMC) */
public static final native boolean ImmDestroyContext (long /*int*/ hIMC);
-/** @method flags=dynamic */
-public static final native boolean ImmDisableTextFrameService (int idThread);
/**
* @param hKL cast=(HKL)
* @param hIMC cast=(HIMC)
@@ -4935,11 +4386,6 @@ public static final native boolean ImmSetConversionStatus (long /*int*/ hIMC, in
public static final native boolean ImmSetOpenStatus (long /*int*/ hIMC, boolean fOpen);
public static final native void InitCommonControls ();
public static final native boolean InitCommonControlsEx (INITCOMMONCONTROLSEX lpInitCtrls);
-public static final native boolean InSendMessage ();
-/** @param hMenu cast=(HMENU) */
-public static final native boolean InsertMenuW (long /*int*/ hMenu, int uPosition, int uFlags, long /*int*/ uIDNewItem, char [] lpNewItem);
-/** @param hMenu cast=(HMENU) */
-public static final native boolean InsertMenuA (long /*int*/ hMenu, int uPosition, int uFlags, long /*int*/ uIDNewItem, byte [] lpNewItem);
/**
* @param hMenu cast=(HMENU)
* @param lpmii cast=(LPMENUITEMINFOW)
@@ -4996,27 +4442,12 @@ public static final native boolean InvalidateRgn (long /*int*/ hWnd, long /*int*
/** @method flags=dynamic */
public static final native boolean IsAppThemed ();
/**
- * @param lp cast=(LPVOID)
- * @param ucb cast=(UINT_PTR)
- */
-public static final native boolean IsBadReadPtr (long /*int*/ lp, int ucb);
-/**
- * @param lp cast=(LPVOID)
- * @param ucb cast=(UINT_PTR)
- */
-public static final native boolean IsBadWritePtr (long /*int*/ lp, int ucb);
-public static final native boolean IsDBCSLeadByte (byte TestChar);
-/**
* @method flags=dynamic
* @param hWnd cast=(HWND)
*/
public static final native boolean IsHungAppWindow (long /*int*/ hWnd);
/** @param hWnd cast=(HWND) */
public static final native boolean IsIconic (long /*int*/ hWnd);
-/** @method flags=no_gen */
-public static final native boolean IsPPC ();
-/** @method flags=no_gen */
-public static final native boolean IsSP ();
/**
* @method flags=dynamic
* @param hWnd cast=(HWND)
@@ -5067,40 +4498,14 @@ public static final native long /*int*/ LoadIconA (long /*int*/ hInstance, long
* @param hinst cast=(HINSTANCE)
* @param lpszName cast=(LPWSTR)
*/
-public static final native long /*int*/ LoadImageW (long /*int*/ hinst, char [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-/**
- * @param hinst cast=(HINSTANCE)
- * @param lpszName cast=(LPSTR)
- */
-public static final native long /*int*/ LoadImageA (long /*int*/ hinst, byte [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-/**
- * @param hinst cast=(HINSTANCE)
- * @param lpszName cast=(LPWSTR)
- */
public static final native long /*int*/ LoadImageW (long /*int*/ hinst, long /*int*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
/**
* @param hinst cast=(HINSTANCE)
* @param lpszName cast=(LPSTR)
*/
public static final native long /*int*/ LoadImageA (long /*int*/ hinst, long /*int*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
-/**
- * @param hinst cast=(HINSTANCE)
- * @param lpBuffer cast=(LPWSTR)
- */
-public static final native int LoadStringW (long /*int*/ hinst, int uID, char [] lpBuffer, int nBufferMax);
-/**
- * @param hinst cast=(HINSTANCE)
- * @param lpBuffer cast=(LPSTR)
- */
-public static final native int LoadStringA (long /*int*/ hinst, int uID, byte [] lpBuffer, int nBufferMax);
-/** @param lpLibFileName cast=(LPWSTR) */
-public static final native long /*int*/ LoadLibraryW (char [] lpLibFileName);
-/** @param lpLibFileName cast=(LPSTR) */
-public static final native long /*int*/ LoadLibraryA (byte [] lpLibFileName);
/** @param hMem cast=(HLOCAL) */
public static final native long /*int*/ LocalFree (long /*int*/ hMem);
-/** @param hWndLock cast=(HWND) */
-public static final native boolean LockWindowUpdate (long /*int*/ hWndLock);
public static final native int LODWORD (long l);
public static final native int LOWORD (long /*int*/ l);
/** @param hdc cast=(HDC) */
@@ -5123,8 +4528,6 @@ public static final native int MapWindowPoints (long /*int*/ hWndFrom, long /*in
* @param lpPoints cast=(LPPOINT)
*/
public static final native int MapWindowPoints (long /*int*/ hWndFrom, long /*int*/ hWndTo, RECT lpPoints, int cPoints);
-/** @method flags=dynamic */
-public static final native boolean MCIWndRegisterClass ();
public static final native boolean MessageBeep (int uType);
/**
* @param hWnd cast=(HWND)
@@ -5342,11 +4745,6 @@ public static final native void MoveMemory (DOCHOSTUIINFO Destination, long /*in
public static final native void MoveMemory (DRAWITEMSTRUCT Destination, long /*int*/ Source, int Length);
/**
* @param Destination cast=(PVOID),flags=no_in
- * @param Source cast=(CONST VOID *)
- */
-public static final native void MoveMemory (EXTLOGPEN Destination, long /*int*/ Source, int Length);
-/**
- * @param Destination cast=(PVOID),flags=no_in
* @param Source cast=(CONST VOID *),flags=no_out
*/
public static final native void MoveMemory (FLICK_DATA Destination, long /*int*/ [] Source, int Length);
@@ -5414,11 +4812,6 @@ public static final native void MoveMemory (NMHDR Destination, long /*int*/ Sour
* @param Destination cast=(PVOID),flags=no_in
* @param Source cast=(CONST VOID *)
*/
-public static final native void MoveMemory (NMRGINFO Destination, long /*int*/ Source, int Length);
-/**
- * @param Destination cast=(PVOID),flags=no_in
- * @param Source cast=(CONST VOID *)
- */
public static final native void MoveMemory (NMCUSTOMDRAW Destination, long /*int*/ Source, int Length);
/**
* @param Destination cast=(PVOID),flags=no_in
@@ -5474,11 +4867,6 @@ public static final native void MoveMemory (long /*int*/ Destination, NMTVCUSTOM
* @param Destination cast=(PVOID)
* @param Source cast=(CONST VOID *),flags=no_out
*/
-public static final native void MoveMemory (long /*int*/ Destination, NMTTCUSTOMDRAW Source, int Length);
-/**
- * @param Destination cast=(PVOID)
- * @param Source cast=(CONST VOID *),flags=no_out
- */
public static final native void MoveMemory (long /*int*/ Destination, NMLVDISPINFO Source, int Length);
/**
* @param Destination cast=(PVOID)
@@ -5499,11 +4887,6 @@ public static final native void MoveMemory (NMTVDISPINFO Destination, long /*int
* @param Destination cast=(PVOID),flags=no_in
* @param Source cast=(CONST VOID *)
*/
-public static final native void MoveMemory (NMLVFINDITEM Destination, long /*int*/ Source, int Length);
-/**
- * @param Destination cast=(PVOID),flags=no_in
- * @param Source cast=(CONST VOID *)
- */
public static final native void MoveMemory (NMLVODSTATECHANGE Destination, long /*int*/ Source, int Length);
/**
* @param Destination cast=(PVOID),flags=no_in
@@ -5550,12 +4933,6 @@ public static final native void MoveMemory (NMTTDISPINFOW Destination, long /*in
* @param Source cast=(CONST VOID *)
*/
public static final native void MoveMemory (NMTTDISPINFOA Destination, long /*int*/ Source, int Length);
-public static final native void MoveMemory (RECT Destination, long /*int*/[] Source, int Length);
-/**
- * @param Destination cast=(PVOID),flags=no_in
- * @param Source cast=(CONST VOID *)
- */
-public static final native void MoveMemory (SHDRAGIMAGE Destination, long /*int*/ Source, int Length);
/**
* @param Destination cast=(PVOID),flags=no_in
* @param Source cast=(CONST VOID *)
@@ -5590,11 +4967,6 @@ public static final native void MoveMemory (TOUCHINPUT Destination, long /*int*/
* @param Destination cast=(PVOID),flags=no_in
* @param Source cast=(CONST VOID *)
*/
-public static final native void MoveMemory (TVITEM Destination, long /*int*/ Source, int Length);
-/**
- * @param Destination cast=(PVOID),flags=no_in
- * @param Source cast=(CONST VOID *)
- */
public static final native void MoveMemory (WINDOWPOS Destination, long /*int*/ Source, int Length);
/**
* @param Destination cast=(PVOID),flags=no_in
@@ -5667,14 +5039,6 @@ public static final native void MoveMemory (long /*int*/ Destination, GESTURECON
*/
public static final native boolean MoveToEx (long /*int*/ hdc, int x1, int x2, long /*int*/ lPoint);
/**
- * @param nCount cast=(DWORD)
- * @param pHandles cast=(LPHANDLE)
- * @param dwMilliseconds cast=(DWORD)
- * @param dwWakeMask cast=(DWORD)
- * @param dwFlags cast=(DWORD)
- */
-public static final native int MsgWaitForMultipleObjectsEx (int nCount, long /*int*/ pHandles, int dwMilliseconds, int dwWakeMask, int dwFlags);
-/**
* @param lpMultiByteStr cast=(LPCSTR),flags=no_out critical
* @param lpWideCharStr cast=(LPWSTR),flags=no_in critical
*/
@@ -5862,36 +5226,6 @@ public static final native int RegOpenKeyExW (long /*int*/ hKey, char[] lpSubKey
public static final native int RegOpenKeyExA (long /*int*/ hKey, byte[] lpSubKey, int ulOptions, int samDesired, long /*int*/[] phkResult);
/**
* @param hKey cast=(HKEY)
- * @param lpClass cast=(LPWSTR)
- * @param lpcbClass cast=(LPDWORD)
- * @param lpReserved cast=(LPDWORD)
- * @param lpSubKeys cast=(LPDWORD)
- * @param lpcbMaxSubKeyLen cast=(LPDWORD)
- * @param lpcbMaxClassLen cast=(LPDWORD)
- * @param lpcValues cast=(LPDWORD)
- * @param lpcbMaxValueNameLen cast=(LPDWORD)
- * @param lpcbMaxValueLen cast=(LPDWORD)
- * @param lpcbSecurityDescriptor cast=(LPDWORD)
- * @param lpftLastWriteTime cast=(PFILETIME)
- */
-public static final native int RegQueryInfoKeyW (long /*int*/ hKey, long /*int*/ lpClass, int[] lpcbClass, long /*int*/ lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, long /*int*/ lpftLastWriteTime);
-/**
- * @param hKey cast=(HKEY)
- * @param lpClass cast=(LPSTR)
- * @param lpcbClass cast=(LPDWORD)
- * @param lpReserved cast=(LPDWORD)
- * @param lpSubKeys cast=(LPDWORD)
- * @param lpcbMaxSubKeyLen cast=(LPDWORD)
- * @param lpcbMaxClassLen cast=(LPDWORD)
- * @param lpcValues cast=(LPDWORD)
- * @param lpcbMaxValueNameLen cast=(LPDWORD)
- * @param lpcbMaxValueLen cast=(LPDWORD)
- * @param lpcbSecurityDescriptor cast=(LPDWORD)
- * @param lpftLastWriteTime cast=(PFILETIME)
- */
-public static final native int RegQueryInfoKeyA (long /*int*/ hKey, long /*int*/ lpClass, int[] lpcbClass, long /*int*/ lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, long /*int*/ lpftLastWriteTime);
-/**
- * @param hKey cast=(HKEY)
* @param lpValueName cast=(LPWSTR)
* @param lpReserved cast=(LPDWORD)
* @param lpType cast=(LPDWORD)
@@ -6126,7 +5460,6 @@ public static final native long /*int*/ SelectPalette (long /*int*/ hDC, long /*
/** @param pInputs cast=(LPINPUT) */
public static final native int SendInput (int nInputs, long /*int*/ pInputs, int cbSize);
/**
- * @method flags=no_gen
* @param hWnd cast=(HWND)
* @param wParam cast=(WPARAM)
* @param lParam cast=(LPARAM)
@@ -6545,8 +5878,6 @@ public static final native boolean SetBrushOrgEx (long /*int*/ hdc, int nXOrg, i
/** @param hWnd cast=(HWND) */
public static final native long /*int*/ SetCapture (long /*int*/ hWnd);
public static final native boolean SetCaretPos (int X, int Y);
-/** @param hMem cast=(HANDLE) */
-public static final native long /*int*/ SetClipboardData (int uFormat, long /*int*/ hMem);
/** @method flags=dynamic */
public static final native int SetCurrentProcessExplicitAppUserModelID (char[] AppID);
/** @param hCursor cast=(HCURSOR) */
@@ -6591,13 +5922,6 @@ public static final native boolean SetLayeredWindowAttributes(long /*int*/ hwnd,
* @param dwLayout cast=(DWORD)
*/
public static final native int SetLayout (long /*int*/ hdc, int dwLayout);
-/** @param hdc cast=(HDC) */
-public static final native int SetMapMode (long /*int*/ hdc, int fnMapMode);
-/**
- * @param hdc cast=(HDC)
- * @param dwFlag cast=(DWORD)
- */
-public static final native int SetMapperFlags (long /*int*/ hdc, int dwFlag);
/**
* @param hWnd cast=(HWND)
* @param hMenu cast=(HMENU)
@@ -6657,8 +5981,6 @@ public static final native boolean SetPropW (long /*int*/ hWnd, long /*int*/ lpS
* @param hData cast=(HANDLE)
*/
public static final native boolean SetPropA (long /*int*/ hWnd, long /*int*/ lpString, long /*int*/ hData);
-/** @param hdc cast=(HDC) */
-public static final native int SetTextAlign (long /*int*/ hdc, int fMode);
/**
* @param hdc cast=(HDC)
* @param colorRef cast=(COLORREF)
@@ -6669,10 +5991,6 @@ public static final native int SetTextColor (long /*int*/ hdc, int colorRef);
* @param lpTimerFunc cast=(TIMERPROC)
*/
public static final native long /*int*/ SetTimer (long /*int*/ hWnd, long /*int*/ nIDEvent, int Elapse, long /*int*/ lpTimerFunc);
-/** @param hdc cast=(HDC) */
-public static final native boolean SetViewportExtEx (long /*int*/ hdc, int nXExtent, int nYExtent, SIZE lpSize);
-/** @param hdc cast=(HDC) */
-public static final native boolean SetViewportOrgEx (long /*int*/ hdc, int X, int Y, POINT lpPoint);
/** @param hWnd cast=(HWND) */
public static final native int SetWindowLongW (long /*int*/ hWnd, int nIndex, int dwNewLong);
/** @param hWnd cast=(HWND) */
@@ -6688,8 +6006,6 @@ public static final native long /*int*/ SetWindowLongPtrW (long /*int*/ hWnd, in
*/
public static final native long /*int*/ SetWindowLongPtrA (long /*int*/ hWnd, int nIndex, long /*int*/ dwNewLong);
/** @param hdc cast=(HDC) */
-public static final native boolean SetWindowExtEx (long /*int*/ hdc, int nXExtent, int nYExtent, SIZE lpSize);
-/** @param hdc cast=(HDC) */
public static final native boolean SetWindowOrgEx (long /*int*/ hdc, int X, int Y, POINT lpPoint);
/** @param hWnd cast=(HWND) */
public static final native boolean SetWindowPlacement (long /*int*/ hWnd, WINDOWPLACEMENT lpwndpl);
@@ -6738,8 +6054,6 @@ public static final native boolean SetWorldTransform(long /*int*/ hdc, float[] l
/** @param lpbi cast=(LPBROWSEINFOW) */
public static final native long /*int*/ SHBrowseForFolderW (BROWSEINFO lpbi);
public static final native long /*int*/ SHBrowseForFolderA (BROWSEINFO lpbi);
-/** @param pmb cast=(PSHMENUBARINFO) */
-public static final native boolean SHCreateMenuBar (SHMENUBARINFO pmb);
/**
* @param pszPath cast=(LPCWSTR)
* @param psfi cast=(SHFILEINFOW *)
@@ -6750,24 +6064,6 @@ public static final native long /*int*/ SHGetFileInfoW (char [] pszPath, int dwF
* @param psfi cast=(SHFILEINFOA *)
*/
public static final native long /*int*/ SHGetFileInfoA (byte [] pszPath, int dwFileAttributes, SHFILEINFOA psfi, int cbFileInfo, int uFlags);
-/**
- * @param hwndOwner cast=(HWND)
- * @param hToken cast=(HANDLE)
- * @param pszPath cast=(LPWSTR)
- */
-public static final native int SHGetFolderPathW (long /*int*/ hwndOwner, int nFolder, long /*int*/ hToken, int dwFlags, char[] pszPath);
-/**
- * @param hwndOwner cast=(HWND)
- * @param hToken cast=(HANDLE)
- * @param pszPath cast=(LPSTR)
- */
-public static final native int SHGetFolderPathA (long /*int*/ hwndOwner, int nFolder, long /*int*/ hToken, int dwFlags, byte[] pszPath);
-/** @param hwnd cast=(HWND) */
-public static final native boolean SHHandleWMSettingChange (long /*int*/ hwnd, long /*int*/ wParam, long /*int*/ lParam, SHACTIVATEINFO psai);
-public static final native int SHRecognizeGesture (SHRGINFO shrg);
-public static final native void SHSendBackToFocusWindow (int uMsg, long /*int*/ wp, long /*int*/ lp);
-/** @param hwnd cast=(HWND) */
-public static final native boolean SHSipPreference (long /*int*/ hwnd, int st);
/** @param lpExecInfo cast=(LPSHELLEXECUTEINFOW) */
public static final native boolean ShellExecuteExW (SHELLEXECUTEINFO lpExecInfo);
public static final native boolean ShellExecuteExA (SHELLEXECUTEINFO lpExecInfo);
@@ -6791,21 +6087,14 @@ public static final native int SHCreateItemInKnownFolder (byte [] kfid, int dwKF
public static final native int SHCreateItemFromRelativeName (long /*int*/ psiParent, char [] pszName, long /*int*/ pbc, byte [] riid, long /*int*/ [] ppv);
/** @method flags=dynamic */
public static final native int SHCreateItemFromParsingName (char [] pszName, long /*int*/ pbc, byte [] riid, long /*int*/ [] ppv);
-/**
- * @param bVk cast=(BYTE)
- * @param hwnd cast=(HWND)
- */
-public static final native boolean SHSetAppKeyWndAssoc (byte bVk, long /*int*/ hwnd);
/** @param hWnd cast=(HWND) */
public static final native boolean ShowCaret (long /*int*/ hWnd);
-public static final native int ShowCursor (boolean bShow);
/** @param hWnd cast=(HWND) */
public static final native boolean ShowOwnedPopups (long /*int*/ hWnd, boolean fShow);
/** @param hWnd cast=(HWND) */
public static final native boolean ShowScrollBar (long /*int*/ hWnd, int wBar, boolean bShow);
/** @param hWnd cast=(HWND) */
public static final native boolean ShowWindow (long /*int*/ hWnd, int nCmdShow);
-public static final native boolean SipGetInfo (SIPINFO pSipInfo);
/**
* @param hdc cast=(HDC)
* @param lpdi cast=(LPDOCINFOW)
@@ -6875,12 +6164,6 @@ public static final native boolean TranslateMDISysAccel (long /*int*/ hWndClient
public static final native boolean TranslateMessage (MSG lpmsg);
/** @method flags=dynamic */
public static final native boolean TransparentBlt (long /*int*/ hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int hHeightDest, long /*int*/ hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, int crTransparent);
-/**
- * @param hdcDest cast=(HDC)
- * @param hSrc cast=(HANDLE)
- * @param TransparentColor cast=(COLORREF)
- */
-public static final native boolean TransparentImage (long /*int*/ hdcDest, int DstX, int DstY, int DstCx, int DstCy,long /*int*/ hSrc, int SrcX, int SrcY, int SrcCx, int SrcCy, int TransparentColor);
/** @param hhk cast=(HHOOK) */
public static final native boolean UnhookWindowsHookEx (long /*int*/ hhk);
/**
@@ -6896,14 +6179,6 @@ public static final native boolean UnregisterClassA (byte [] lpClassName, long /
/**
* @method flags=dynamic
* @param hwnd cast=(HWND)
- * @param hdcDst cast=(HDC)
- * @param hdcSrc cast=(HDC)
- * @param crKey cast=(COLORREF)
- */
-public static final native boolean UpdateLayeredWindow (long /*int*/ hwnd, long /*int*/ hdcDst, POINT pptDst, SIZE psize, long /*int*/ hdcSrc, POINT pptSrc, int crKey, BLENDFUNCTION pblend, int dwFlags);
-/**
- * @method flags=dynamic
- * @param hwnd cast=(HWND)
*/
public static final native boolean UnregisterTouchWindow (long /*int*/ hwnd);
/** @param hWnd cast=(HWND) */
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
deleted file mode 100644
index 1250a4178c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public abstract class OSVERSIONINFO {
- public int dwOSVersionInfoSize;
- public int dwMajorVersion;
- public int dwMinorVersion;
- public int dwBuildNumber;
- public int dwPlatformId;
- public static /*final*/ int sizeof = OS.IsUnicode ? OS.OSVERSIONINFOW_sizeof () : OS.OSVERSIONINFOA_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOA.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOA.java
deleted file mode 100644
index 6d0a40f33e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOA.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class OSVERSIONINFOA extends OSVERSIONINFO {
- public byte[] szCSDVersion = new byte[128];
- public static final int sizeof = OS.OSVERSIONINFOA_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEX.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEX.java
deleted file mode 100644
index 5d5e2e17c6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEX.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public abstract class OSVERSIONINFOEX extends OSVERSIONINFO {
- public short wServicePackMajor;
- public short wServicePackMinor;
- public short wSuiteMask;
- public byte wProductType;
- public byte wReserved;
- public static /*final*/ int sizeof = OS.IsUnicode ? OS.OSVERSIONINFOEXW_sizeof () : OS.OSVERSIONINFOEXA_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXA.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXA.java
deleted file mode 100644
index ef2e66778c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXA.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class OSVERSIONINFOEXA extends OSVERSIONINFOEX {
- public byte[] szCSDVersion = new byte[128];
- public static final int sizeof = OS.OSVERSIONINFOEXA_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXW.java
deleted file mode 100644
index 43ae5d848f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXW.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class OSVERSIONINFOEXW extends OSVERSIONINFOEX {
- public char[] szCSDVersion = new char[128];
- public static final int sizeof = OS.OSVERSIONINFOEXW_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOW.java
deleted file mode 100644
index 82d063c45c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOW.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class OSVERSIONINFOW extends OSVERSIONINFO {
- public char[] szCSDVersion = new char[128];
- public static final int sizeof = OS.OSVERSIONINFOW_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java
deleted file mode 100644
index 72b5ae18e6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class SHACTIVATEINFO {
- public int cbSize;
- /** @field cast=(HWND) */
- public long /*int*/ hwndLastFocus;
- public int fSipUp; // :1
- public int fSipOnDeactivation; // :1
- public int fActive; // :1
- public int fReserved; // :29
- public static final int sizeof = OS.SHACTIVATEINFO_sizeof ();
-}
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
deleted file mode 100644
index 8d95e82e77..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class SHMENUBARINFO {
- public int cbSize;
- /** @field cast=(HWND) */
- public long /*int*/ hwndParent;
- public int dwFlags;
- public int nToolBarId;
- /** @field cast=(HINSTANCE) */
- public long /*int*/ hInstRes;
- public int nBmpId;
- public int cBmpImages;
- /** @field cast=(HWND) */
- public long /*int*/ hwndMB;
- public static final int sizeof = OS.SHMENUBARINFO_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHRGINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHRGINFO.java
deleted file mode 100644
index 9d56a93dc0..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHRGINFO.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class SHRGINFO {
- public int cbSize;
- /** @field cast=(HWND) */
- public long /*int*/ hwndClient;
-// POINT ptDown
- /** @field accessor=ptDown.x */
- public int ptDown_x;
- /** @field accessor=ptDown.y */
- public int ptDown_y;
- public int dwFlags;
- public static final int sizeof = OS.SHRGINFO_sizeof ();
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIPINFO.java
deleted file mode 100644
index c285eebc3e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIPINFO.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.win32;
-
-public class SIPINFO {
- public int cbSize;
- public int fdwFlags;
-// RECT rcVisibleDesktop
- /** @field accessor=rcVisibleDesktop.left */
- public int rcVisibleDesktop_left;
- /** @field accessor=rcVisibleDesktop.top */
- public int rcVisibleDesktop_top;
- /** @field accessor=rcVisibleDesktop.right */
- public int rcVisibleDesktop_right;
- /** @field accessor=rcVisibleDesktop.bottom */
- public int rcVisibleDesktop_bottom;
-// RECT rcSipRect
- /** @field accessor=rcSipRect.left */
- public int rcSipRect_left;
- /** @field accessor=rcSipRect.top */
- public int rcSipRect_top;
- /** @field accessor=rcSipRect.right */
- public int rcSipRect_right;
- /** @field accessor=rcSipRect.bottom */
- public int rcSipRect_bottom;
- public int dwImDataSize;
- /** @field cast=(void *) */
- public long /*int*/ pvImData;
- public static final int sizeof = OS.SIPINFO_sizeof ();
-}

Back to the top