summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/win32
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2008-09-10 22:29:32 +0000
committerSilenio Quarti <silenio>2008-09-10 22:29:32 +0000
commit413df0b80a4f1b945800abb2995d143f91b2cc7b (patch)
treefef9ec66ec8c875c896360192056b9693f303c0a /bundles/org.eclipse.swt/Eclipse SWT PI/win32
parentfb54b179716df01f7ae4594017f0015fa77f2df3 (diff)
downloadeclipse.platform.swt-413df0b80a4f1b945800abb2995d143f91b2cc7b.tar.gz
eclipse.platform.swt-413df0b80a4f1b945800abb2995d143f91b2cc7b.tar.xz
eclipse.platform.swt-413df0b80a4f1b945800abb2995d143f91b2cc7b.zip
new JNI gen tool
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/BitmapData.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java843
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/GdiplusStartupInput.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/PointF.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java209
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC.java10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java9
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BP_PAINTPARAMS.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BUTTON_IMAGELIST.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMBOBOXINFO.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java15
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DWM_BLURBEHIND.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GUITHREADINFO.java12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDHITTESTINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDLAYOUT.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HIGHCONTRAST.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUBARINFO.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MINMAXINFO.java10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MONITORINFO.java8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMCUSTOMDRAW.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLINK.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVCUSTOMDRAW.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVDISPINFO.java13
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVFINDITEM.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHEVRON.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHILDSIZE.java8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMRGINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVCUSTOMDRAW.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVITEMCHANGE.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATA.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAA.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAW.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OFNOTIFY.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java2312
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java42
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHDRAGIMAGE.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHFILEINFO.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHRGINFO.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIPINFO.java9
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHITTESTINFO.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java19
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVSORTCB.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java7
99 files changed, 3839 insertions, 21 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/BitmapData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/BitmapData.java
index 4d4200d4bc..195b1d65c3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/BitmapData.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/BitmapData.java
@@ -14,7 +14,10 @@ public class BitmapData {
public int Width;
public int Height;
public int Stride;
+ /** @field cast=(PixelFormat) */
public int PixelFormat;
+ /** @field cast=(void*) */
public int /*long*/ Scan0;
+ /** @field cast=(UINT_PTR) */
public int /*long*/ Reserved;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java
index ce5f1cd3d0..6123f5cb95 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.gdip;
import org.eclipse.swt.internal.*;
+/** @jniclass flags=cpp */
public class Gdip extends Platform {
static {
Library.loadLibrary ("swt-gdip"); //$NON-NLS-1$
@@ -140,180 +141,1022 @@ public static final native int ColorPalette_sizeof();
public static final native int GdiplusStartupInput_sizeof();
/** GdiPlus natives */
+
+/**
+ * @param token cast=(ULONG_PTR *)
+ * @param input cast=(const GdiplusStartupInput *)
+ * @param output cast=(GdiplusStartupOutput *)
+ */
public static final native int GdiplusStartup(int /*long*/[] token, GdiplusStartupInput input, int /*long*/ output);
+/** @param token cast=(ULONG_PTR) */
public static final native void GdiplusShutdown(int /*long*/ token);
+/**
+ * @method flags=new
+ * @param hbm cast=(HBITMAP)
+ * @param hpal cast=(HPALETTE)
+ */
public static final native int /*long*/ Bitmap_new(int /*long*/ hbm, int /*long*/ hpal);
+/**
+ * @method flags=new
+ * @param hicon cast=(HICON)
+ */
public static final native int /*long*/ Bitmap_new(int /*long*/ hicon);
+/**
+ * @method flags=new
+ * @param format cast=(PixelFormat)
+ * @param scan0 cast=(BYTE *)
+ */
public static final native int /*long*/ Bitmap_new(int width, int height, int stride, int format, int /*long*/ scan0);
+/**
+ * @method flags=new
+ * @param filename cast=(WCHAR*)
+ */
public static final native int /*long*/ Bitmap_new(char[] filename, boolean useIcm);
+/** @method flags=delete */
public static final native void Bitmap_delete(int /*long*/ bitmap);
+/**
+ * @method flags=cpp
+ * @param bitmap cast=(Bitmap*)
+ * @param colorBackground cast=(Color*),flags=struct
+ * @param hbmReturn cast=(HBITMAP*)
+ */
public static final native int Bitmap_GetHBITMAP(int /*long*/ bitmap, int /*long*/ colorBackground, int /*long*/[] hbmReturn);
+/**
+ * @method flags=cpp
+ * @param bitmap cast=(Bitmap*)
+ * @param hicon cast=(HICON*)
+ */
public static final native int Bitmap_GetHICON(int /*long*/ bitmap, int /*long*/[] hicon);
+/** @method flags=new */
public static final native int /*long*/ BitmapData_new();
+/** @method flags=delete */
public static final native void BitmapData_delete(int /*long*/ bitmapData);
+/**
+ * @method flags=cpp
+ * @param bitmap cast=(Bitmap*)
+ * @param rect cast=(Rect*)
+ * @param pixelFormat cast=(PixelFormat)
+ * @param lockedBitmapData cast=(BitmapData*)
+ */
public static final native int Bitmap_LockBits(int /*long*/ bitmap, int /*long*/ rect, int flags, int pixelFormat, int /*long*/ lockedBitmapData);
+/**
+ * @method flags=cpp
+ * @param bitmap cast=(Bitmap*)
+ * @param lockedBitmapData cast=(BitmapData*)
+ */
public static final native int Bitmap_UnlockBits(int /*long*/ bitmap, int /*long*/ lockedBitmapData);
+/**
+ * @method flags=cpp
+ * @param brush cast=(Brush *)
+ */
public static final native int /*long*/ Brush_Clone(int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param brush cast=(Brush *)
+ */
public static final native int Brush_GetType(int /*long*/ brush);
+/**
+ * @method flags=new
+ * @param argb cast=(ARGB)
+ */
public static final native int /*long*/ Color_new(int argb);
+/** @method flags=delete */
public static final native void Color_delete(int /*long*/ color);
+/**
+ * @method flags=new
+ * @param hdc cast=(HDC)
+ * @param hfont cast=(HFONT)
+ */
public static final native int /*long*/ Font_new(int /*long*/ hdc, int /*long*/ hfont);
+/**
+ * @method flags=new
+ * @param familyName cast=(const WCHAR *)
+ * @param emSize cast=(REAL)
+ * @param style cast=(INT)
+ * @param unit cast=(Unit)
+ * @param fontCollection cast=(const FontCollection *)
+ */
public static final native int /*long*/ Font_new(char[] familyName, float emSize, int style, int unit, int /*long*/ fontCollection);
+/** @method flags=delete */
public static final native void Font_delete(int /*long*/ font);
+/**
+ * @method flags=cpp
+ * @param font cast=(Font *)
+ * @param family cast=(FontFamily *)
+ */
public static final native int Font_GetFamily(int /*long*/ font, int /*long*/ family);
+/**
+ * @method flags=cpp
+ * @param font cast=(Font *)
+ */
public static final native float Font_GetSize(int /*long*/ font);
+/**
+ * @method flags=cpp
+ * @param font cast=(Font *)
+ */
public static final native int Font_GetStyle(int /*long*/ font);
+/**
+ * @method flags=cpp
+ * @param font cast=(Font *)
+ */
public static final native boolean Font_IsAvailable(int /*long*/ font);
+/** @method flags=new */
public static final native int /*long*/ FontFamily_new();
+/** @method flags=delete */
public static final native void FontFamily_delete(int /*long*/ family);
+/**
+ * @method flags=cpp
+ * @param family cast=(FontFamily *)
+ * @param name cast=(WCHAR *)
+ * @param language cast=(WCHAR)
+ */
public static final native int FontFamily_GetFamilyName(int /*long*/ family, char[] name, char language);
+/**
+ * @method flags=new
+ * @param hdc cast=(HDC)
+ */
public static final native int /*long*/ Graphics_new(int /*long*/ hdc);
+/** @method flags=delete */
public static final native void Graphics_delete(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ */
public static final native int Graphics_DrawArc(int /*long*/ graphics, int /*long*/ pen, int x, int y, int width, int height, float startAngle, float sweepAngle);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param text cast=(const UINT16 *)
+ * @param font cast=(const Font *)
+ * @param brush cast=(const Brush *)
+ * @param positions cast=(const PointF *)
+ * @param matrix cast=(const Matrix *)
+ */
public static final native int Graphics_DrawDriverString(int /*long*/ graphics, int /*long*/ text, int length, int /*long*/ font, int /*long*/ brush, PointF /*long*/ positions, int flags, int /*long*/ matrix);
+/**
+ * @method flags=no_gen cpp
+ * @param graphics cast=(Graphics *)
+ * @param text cast=(const UINT16 *)
+ * @param font cast=(const Font *)
+ * @param brush cast=(const Brush *)
+ * @param positions cast=(const PointF *)
+ * @param matrix cast=(const Matrix *)
+ */
public static final native int Graphics_DrawDriverString(int /*long*/ graphics, int /*long*/ text, int length, int /*long*/ font, int /*long*/ brush, float[] positions, int flags, int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ */
public static final native int Graphics_DrawEllipse(int /*long*/ graphics, int /*long*/ pen, int x, int y, int width, int height);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param image cast=(Image *)
+ * @param x cast=(INT)
+ * @param y cast=(INT)
+ */
public static final native int Graphics_DrawImage(int /*long*/ graphics, int /*long*/ image, int x, int y);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param image cast=(Image *)
+ * @param destRect cast=(const Rect *),flags=struct
+ * @param srcx cast=(INT)
+ * @param srcy cast=(INT)
+ * @param srcwidth cast=(INT)
+ * @param srcheight cast=(INT)
+ * @param srcUnit cast=(Unit)
+ * @param imageAttributes cast=(ImageAttributes *)
+ * @param callback cast=(DrawImageAbort)
+ * @param callbackData cast=(VOID *)
+ */
public static final native int Graphics_DrawImage(int /*long*/ graphics, int /*long*/ image, Rect destRect, int srcx, int srcy, int srcwidth, int srcheight, int srcUnit, int /*long*/ imageAttributes, int /*long*/ callback, int /*long*/ callbackData);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ */
public static final native int Graphics_DrawLine(int /*long*/ graphics, int /*long*/ pen, int x1, int y1, int x2, int y2);
+/**
+ * @method flags=no_gen cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ * @param count cast=(INT)
+ */
public static final native int Graphics_DrawLines(int /*long*/ graphics, int /*long*/ pen, int[] points, int count);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int Graphics_DrawPath(int /*long*/ graphics, int /*long*/ pen, int /*long*/ path);
+/**
+ * @method flags=no_gen cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ * @param count cast=(INT)
+ */
public static final native int Graphics_DrawPolygon(int /*long*/ graphics, int /*long*/ pen, int[] points, int count);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pen cast=(Pen *)
+ */
public static final native int Graphics_DrawRectangle(int /*long*/ graphics, int /*long*/ pen, int x, int y, int width, int height);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param string cast=(WCHAR *)
+ * @param length cast=(int)
+ * @param font cast=(Font *)
+ * @param origin flags=struct
+ * @param brush cast=(Brush *)
+ */
public static final native int Graphics_DrawString(int /*long*/ graphics, char[] string, int length, int /*long*/ font, PointF origin, int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param string cast=(WCHAR *)
+ * @param length cast=(int)
+ * @param font cast=(Font *)
+ * @param origin flags=struct
+ * @param format cast=(StringFormat *)
+ * @param brush cast=(Brush *)
+ */
public static final native int Graphics_DrawString(int /*long*/ graphics, char[] string, int length, int /*long*/ font, PointF origin, int /*long*/ format, int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param brush cast=(Brush *)
+ * @param x cast=(INT)
+ * @param y cast=(INT)
+ * @param width cast=(INT)
+ * @param height cast=(INT)
+ */
public static final native int Graphics_FillEllipse(int /*long*/ graphics, int /*long*/ brush, int x, int y, int width, int height);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param brush cast=(Brush *)
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int Graphics_FillPath(int /*long*/ graphics, int /*long*/ brush, int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param intention cast=(FlushIntention)
+ */
public static final native void Graphics_Flush(int /*long*/ graphics, int intention);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param brush cast=(Brush *)
+ * @param x cast=(INT)
+ * @param y cast=(INT)
+ * @param width cast=(INT)
+ * @param height cast=(INT)
+ * @param startAngle cast=(REAL)
+ * @param sweepAngle cast=(REAL)
+ */
public static final native int Graphics_FillPie(int /*long*/ graphics, int /*long*/ brush, int x, int y, int width, int height, float startAngle, float sweepAngle);
+/**
+ * @method flags=no_gen cpp
+ * @param graphics cast=(Graphics *)
+ * @param brush cast=(Brush *)
+ * @param points cast=(Point *)
+ * @param count cast=(INT)
+ * @param fillMode cast=(FillMode)
+ */
public static final native int Graphics_FillPolygon(int /*long*/ graphics, int /*long*/ brush, int[] points, int count, int fillMode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param brush cast=(Brush *)
+ * @param x cast=(INT)
+ * @param y cast=(INT)
+ * @param width cast=(INT)
+ * @param height cast=(INT)
+ */
public static final native int Graphics_FillRectangle(int /*long*/ graphics, int /*long*/ brush, int x, int y, int width, int height);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetClipBounds(int /*long*/ graphics, RectF rect);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetClipBounds(int /*long*/ graphics, Rect rect);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param region cast=(Region *)
+ */
public static final native int Graphics_GetClip(int /*long*/ graphics, int /*long*/ region);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int /*long*/ Graphics_GetHDC(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param hdc cast=(HDC)
+ */
public static final native void Graphics_ReleaseHDC(int /*long*/ graphics, int /*long*/ hdc);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetInterpolationMode(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetSmoothingMode(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetTextRenderingHint(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param matrix cast=(Matrix *)
+ */
public static final native int Graphics_GetTransform(int /*long*/ graphics, int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_GetVisibleClipBounds(int /*long*/ graphics, Rect rect);
+/** @method flags=no_gen */
public static final native int Graphics_MeasureDriverString(int /*long*/ graphics, int /*long*/ text, int length, int /*long*/ font, float[] positions, int flags, int /*long*/ matrix, RectF boundingBox);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param string cast=(const WCHAR *)
+ * @param length cast=(INT)
+ * @param font cast=(const Font *)
+ * @param origin cast=(const PointF *),flags=struct
+ * @param boundingBox cast=(RectF *)
+ */
public static final native int Graphics_MeasureString(int /*long*/ graphics, char[] string, int length, int /*long*/ font, PointF origin, RectF boundingBox);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param string cast=(const WCHAR *)
+ * @param length cast=(INT)
+ * @param font cast=(const Font *)
+ * @param origin cast=(const PointF *),flags=struct
+ * @param format cast=(StringFormat *)
+ */
public static final native int Graphics_MeasureString(int /*long*/ graphics, char[] string, int length, int /*long*/ font, PointF origin, int /*long*/ format, RectF boundingBox);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_ResetClip(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param gstate cast=(GraphicsState)
+ */
public static final native int Graphics_Restore(int /*long*/ graphics, int gstate);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ */
public static final native int Graphics_Save(int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Graphics_ScaleTransform(int /*long*/ graphics, float sx, float sy, int order);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param hrgn cast=(Region *)
+ * @param combineMode cast=(CombineMode)
+ */
public static final native int Graphics_SetClip(int /*long*/ graphics, int /*long*/ hrgn, int combineMode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param rect cast=(Rect *),flags=struct
+ * @param combineMode cast=(CombineMode)
+ */
public static final native int Graphics_SetClip(int /*long*/ graphics, Rect rect, int combineMode);
+/**
+ * @method accessor=SetClip,flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int Graphics_SetClipPath(int /*long*/ graphics, int /*long*/ path);
+/**
+ * @method accessor=SetClip,flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param path cast=(GraphicsPath *)
+ * @param combineMode cast=(CombineMode)
+ */
public static final native int Graphics_SetClipPath(int /*long*/ graphics, int /*long*/ path, int combineMode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param compositingQuality cast=(CompositingQuality)
+ */
public static final native int Graphics_SetCompositingQuality(int /*long*/ graphics, int compositingQuality);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param unit cast=(Unit)
+ */
public static final native int Graphics_SetPageUnit(int /*long*/ graphics, int unit);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param pixelOffsetMode cast=(PixelOffsetMode)
+ */
public static final native int Graphics_SetPixelOffsetMode(int /*long*/ graphics, int pixelOffsetMode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param smoothingMode cast=(SmoothingMode)
+ */
public static final native int Graphics_SetSmoothingMode(int /*long*/ graphics, int smoothingMode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param matrix cast=(Matrix *)
+ */
public static final native int Graphics_SetTransform(int /*long*/ graphics, int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param mode cast=(InterpolationMode)
+ */
public static final native int Graphics_SetInterpolationMode(int /*long*/ graphics, int mode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param mode cast=(TextRenderingHint)
+ */
public static final native int Graphics_SetTextRenderingHint(int /*long*/ graphics, int mode);
+/**
+ * @method flags=cpp
+ * @param graphics cast=(Graphics *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Graphics_TranslateTransform(int /*long*/ graphics, float dx, float dy, int order);
+/**
+ * @method flags=new
+ * @param fillMode cast=(FillMode)
+ */
public static final native int /*long*/ GraphicsPath_new(int fillMode);
+/**
+ * @method flags=no_gen new
+ * @param points cast=(FillMode)
+ */
public static final native int /*long*/ GraphicsPath_new(int[] points, byte[] types, int count, int fillMode);
+/** @method flags=delete */
public static final native void GraphicsPath_delete(int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param x cast=(REAL)
+ * @param y cast=(REAL)
+ * @param width cast=(REAL)
+ * @param height cast=(REAL)
+ * @param startAngle cast=(REAL)
+ * @param sweepAngle cast=(REAL)
+ */
public static final native int GraphicsPath_AddArc(int /*long*/ path, float x, float y, float width, float height, float startAngle, float sweepAngle);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param x1 cast=(REAL)
+ * @param y1 cast=(REAL)
+ * @param x2 cast=(REAL)
+ * @param y2 cast=(REAL)
+ * @param x3 cast=(REAL)
+ * @param y3 cast=(REAL)
+ * @param x4 cast=(REAL)
+ * @param y4 cast=(REAL)
+ */
public static final native int GraphicsPath_AddBezier(int /*long*/ path, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param x1 cast=(REAL)
+ * @param y1 cast=(REAL)
+ * @param x2 cast=(REAL)
+ * @param y2 cast=(REAL)
+ */
public static final native int GraphicsPath_AddLine(int /*long*/ path, float x1, float y1, float x2, float y2);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param addingPath cast=(GraphicsPath *)
+ * @param connect cast=(BOOL)
+ */
public static final native int GraphicsPath_AddPath(int /*long*/ path, int /*long*/ addingPath, boolean connect);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param rect flags=struct
+ */
public static final native int GraphicsPath_AddRectangle(int /*long*/ path, RectF rect);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param string cast=(const WCHAR *)
+ * @param length cast=(INT)
+ * @param family cast=(const FontFamily *)
+ * @param style cast=(INT)
+ * @param emSize cast=(REAL)
+ * @param origin cast=(const PointF *),flags=struct
+ * @param format cast=(const StringFormat *)
+ */
public static final native int GraphicsPath_AddString(int /*long*/ path, char[] string, int length, int /*long*/ family, int style, float emSize, PointF origin, int /*long*/ format);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int GraphicsPath_CloseFigure(int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int /*long*/ GraphicsPath_Clone(int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param matrix cast=(Matrix *)
+ */
public static final native int GraphicsPath_Flatten(int /*long*/ path, int /*long*/ matrix, float flatness);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param matrix cast=(Matrix *)
+ * @param pen cast=(Pen *)
+ */
public static final native int GraphicsPath_GetBounds(int /*long*/ path, RectF bounds, int /*long*/ matrix, int /*long*/ pen);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param lastPoint cast=(PointF *)
+ */
public static final native int GraphicsPath_GetLastPoint(int /*long*/ path, PointF lastPoint);
+/**
+ * @method flags=no_gen cpp
+ * @param path cast=(GraphicsPath *)
+ * @param points cast=(PointF *)
+ */
public static final native int GraphicsPath_GetPathPoints(int /*long*/ path, float[] points, int count);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param types cast=(BYTE *)
+ */
public static final native int GraphicsPath_GetPathTypes(int /*long*/ path, byte[] types, int count);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int GraphicsPath_GetPointCount(int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param pen cast=(const Pen *)
+ * @param g cast=(const Graphics *)
+ */
public static final native boolean GraphicsPath_IsOutlineVisible(int /*long*/ path, float x, float y, int /*long*/ pen, int /*long*/ g);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param g cast=(const Graphics *)
+ */
public static final native boolean GraphicsPath_IsVisible(int /*long*/ path, float x, float y, int /*long*/ g);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param fillmode cast=(FillMode)
+ */
public static final native int GraphicsPath_SetFillMode(int /*long*/ path, int fillmode);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int GraphicsPath_StartFigure(int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param path cast=(GraphicsPath *)
+ * @param matrix cast=(Matrix *)
+ */
public static final native int GraphicsPath_Transform(int /*long*/ path, int /*long*/ matrix);
+/**
+ * @method flags=new
+ * @param hatchStyle cast=(HatchStyle)
+ * @param foreColor cast=(Color *),flags=struct
+ * @param backColor cast=(Color *),flags=struct
+ */
public static final native int /*long*/ HatchBrush_new(int hatchStyle, int /*long*/ foreColor, int /*long*/ backColor);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image*)
+ */
public static final native int Image_GetLastStatus(int /*long*/ image);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image*)
+ */
public static final native int Image_GetPixelFormat(int /*long*/ image);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image *)
+ */
public static final native int Image_GetWidth(int /*long*/ image);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image *)
+ */
public static final native int Image_GetHeight(int /*long*/ image);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image*)
+ * @param palette cast=(ColorPalette*)
+ */
public static final native int Image_GetPalette(int /*long*/ image, int /*long*/ palette, int size);
+/**
+ * @method flags=cpp
+ * @param image cast=(Image*)
+ */
public static final native int Image_GetPaletteSize(int /*long*/ image);
+/** @method flags=new */
public static final native int /*long*/ ImageAttributes_new();
+/** @method flags=delete */
public static final native void ImageAttributes_delete(int /*long*/ attrib);
+/**
+ * @method flags=cpp
+ * @param attrib cast=(ImageAttributes *)
+ * @param wrap cast=(WrapMode)
+ */
public static final native int ImageAttributes_SetWrapMode(int /*long*/ attrib, int wrap);
+/**
+ * @method flags=cpp
+ * @param attrib cast=(ImageAttributes *)
+ * @param matrix cast=(ColorMatrix *)
+ * @param mode cast=(ColorMatrixFlags)
+ * @param type cast=(ColorAdjustType)
+ */
public static final native int ImageAttributes_SetColorMatrix(int /*long*/ attrib, float[] matrix, int mode, int type);
+/** @method flags=delete */
public static final native void HatchBrush_delete(int /*long*/ brush);
+/**
+ * @method flags=new
+ * @param point1 flags=struct
+ * @param point2 flags=struct
+ * @param color1 cast=(Color *),flags=struct
+ * @param color2 cast=(Color *),flags=struct
+ */
public static final native int /*long*/ LinearGradientBrush_new(PointF point1, PointF point2, int /*long*/ color1, int /*long*/ color2);
+/** @method flags=delete */
public static final native void LinearGradientBrush_delete(int /*long*/ brush);
+/**
+ * @method flags=no_gen cpp
+ * @param brush cast=(LinearGradientBrush *)
+ * @param presetColors cast=(const Color *)
+ * @param blendPositions cast=(const REAL *)
+ */
public static final native int LinearGradientBrush_SetInterpolationColors(int /*long*/ brush, int /*long*/[] presetColors, float[] blendPositions, int count);
+/**
+ * @method flags=cpp
+ * @param brush cast=(LinearGradientBrush *)
+ * @param wrapMode cast=(WrapMode)
+ */
public static final native int LinearGradientBrush_SetWrapMode(int /*long*/ brush, int wrapMode);
+/**
+ * @method flags=cpp
+ * @param brush cast=(LinearGradientBrush *)
+ */
public static final native int LinearGradientBrush_ResetTransform(int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param brush cast=(LinearGradientBrush *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int LinearGradientBrush_ScaleTransform(int /*long*/ brush, float sx, float sy, int order);
+/**
+ * @method flags=cpp
+ * @param brush cast=(LinearGradientBrush *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int LinearGradientBrush_TranslateTransform(int /*long*/ brush, float dx, float dy, int order);
+/**
+ * @method flags=new
+ * @param m11 cast=(REAL)
+ * @param m12 cast=(REAL)
+ * @param m21 cast=(REAL)
+ * @param m22 cast=(REAL)
+ * @param dx cast=(REAL)
+ * @param dy cast=(REAL)
+ */
public static final native int /*long*/ Matrix_new(float m11, float m12, float m21, float m22, float dx, float dy);
+/** @method flags=delete */
public static final native void Matrix_delete(int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param m cast=(REAL *)
+ */
public static final native int Matrix_GetElements(int /*long*/ matrix, float[] m);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ */
public static final native int Matrix_Invert(int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ */
public static final native boolean Matrix_IsIdentity(int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param matrix1 cast=(Matrix *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Matrix_Multiply(int /*long*/ matrix, int /*long*/ matrix1, int order);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param angle cast=(REAL)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Matrix_Rotate(int /*long*/ matrix, float angle, int order);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param scaleX cast=(REAL)
+ * @param scaleY cast=(REAL)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Matrix_Scale(int /*long*/ matrix, float scaleX, float scaleY, int order);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param shearX cast=(REAL)
+ * @param shearY cast=(REAL)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Matrix_Shear(int /*long*/ matrix, float shearX, float shearY, int order);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ */
public static final native int Matrix_TransformPoints(int /*long*/ matrix, PointF pts, int count);
+/** @method flags=no_gen */
public static final native int Matrix_TransformPoints(int /*long*/ matrix, float[] pts, int count);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param offsetX cast=(REAL)
+ * @param offsetY cast=(REAL)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int Matrix_Translate(int /*long*/ matrix, float offsetX, float offsetY, int order);
+/**
+ * @method flags=cpp
+ * @param matrix cast=(Matrix *)
+ * @param m11 cast=(REAL)
+ * @param m12 cast=(REAL)
+ * @param m21 cast=(REAL)
+ * @param m22 cast=(REAL)
+ * @param dx cast=(REAL)
+ * @param dy cast=(REAL)
+ */
public static final native int Matrix_SetElements(int /*long*/ matrix, float m11, float m12, float m21, float m22, float dx, float dy);
+/**
+ * @param Destination cast=(PVOID)
+ * @param SourcePtr cast=(CONST VOID*)
+ */
public static final native void MoveMemory(ColorPalette Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param SourcePtr cast=(CONST VOID*)
+ */
public static final native void MoveMemory(BitmapData Destination, int /*long*/ SourcePtr);
+/**
+ * @method flags=new
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int /*long*/ PathGradientBrush_new(int /*long*/ path);
+/** @method flags=delete */
public static final native void PathGradientBrush_delete(int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param brush cast=(PathGradientBrush *)
+ * @param color cast=(Color *),flags=struct
+ */
public static final native int PathGradientBrush_SetCenterColor(int /*long*/ brush, int /*long*/ color);
+/**
+ * @method flags=cpp
+ * @param brush cast=(PathGradientBrush *)
+ * @param pt flags=struct
+ */
public static final native int PathGradientBrush_SetCenterPoint(int /*long*/ brush, PointF pt);
+/**
+ * @method flags=no_gen
+ * @param brush cast=(PathGradientBrush *)
+ * @param presetColors cast=(const Color *)
+ * @param blendPositions cast=(const REAL *)
+ */
public static final native int PathGradientBrush_SetInterpolationColors(int /*long*/ brush, int /*long*/[] presetColors, float[] blendPositions, int count);
+/**
+ * @method flags=no_gen
+ * @param brush cast=(PathGradientBrush *)
+ * @param colors cast=(Color *)
+ * @param count cast=(INT *)
+ */
public static final native int PathGradientBrush_SetSurroundColors(int /*long*/ brush, int /*long*/[] colors, int[] count);
+/**
+ * @method flags=cpp
+ * @param brush cast=(PathGradientBrush *)
+ * @param path cast=(GraphicsPath *)
+ */
public static final native int PathGradientBrush_SetGraphicsPath(int /*long*/ brush, int /*long*/ path);
+/**
+ * @method flags=cpp
+ * @param brush cast=(PathGradientBrush *)
+ * @param wrapMode cast=(WrapMode)
+ */
public static final native int PathGradientBrush_SetWrapMode(int /*long*/ brush, int wrapMode);
+/**
+ * @method flags=new
+ * @param brush cast=(Brush *)
+ * @param width cast=(REAL)
+ */
public static final native int /*long*/ Pen_new(int /*long*/ brush, float width);
+/** @method flags=delete */
public static final native void Pen_delete(int /*long*/ pen);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ */
public static final native int /*long*/ Pen_GetBrush(int /*long*/ pen);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param brush cast=(Brush *)
+ */
public static final native int Pen_SetBrush(int /*long*/ pen, int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ */
public static final native int Pen_SetDashOffset(int /*long*/ pen, float dashOffset);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param dashArray cast=(REAL *)
+ * @param count cast=(int)
+ */
public static final native int Pen_SetDashPattern(int /*long*/ pen, float[] dashArray, int count);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param dashStyle cast=(DashStyle)
+ */
public static final native int Pen_SetDashStyle(int /*long*/ pen, int dashStyle);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param startCap cast=(LineCap)
+ * @param endCap cast=(LineCap)
+ * @param dashCap cast=(DashCap)
+ */
public static final native int Pen_SetLineCap(int /*long*/ pen, int startCap, int endCap, int dashCap);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param lineJoin cast=(LineJoin)
+ */
public static final native int Pen_SetLineJoin(int /*long*/ pen, int lineJoin);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ */
public static final native int Pen_SetMiterLimit(int /*long*/ pen, float miterLimit);
+/**
+ * @method flags=cpp
+ * @param pen cast=(Pen *)
+ * @param width cast=(REAL)
+ */
public static final native int Pen_SetWidth(int /*long*/ pen, float width);
+/** @method flags=new */
public static final native int /*long*/ Point_new(int x, int y);
+/** @method flags=delete */
public static final native void Point_delete(int /*long*/ point);
+/**
+ * @method flags=new
+ * @param hRgn cast=(HRGN)
+ */
public static final native int /*long*/ Region_new(int /*long*/ hRgn);
+/**
+ * @method flags=new
+ * @param path cast=(GraphicsPath*)
+ */
public static final native int /*long*/ Region_newGraphicsPath(int /*long*/ path);
+/** @method flags=new */
public static final native int /*long*/ Region_new();
+/** @method flags=delete */
public static final native void Region_delete(int /*long*/ region);
+/**
+ * @method flags=cpp
+ * @param region cast=(Region *)
+ * @param graphics cast=(Graphics *)
+ */
public static final native int /*long*/ Region_GetHRGN(int /*long*/ region, int /*long*/ graphics);
+/**
+ * @method flags=cpp
+ * @param region cast=(Region *)
+ * @param graphics cast=(Graphics *)
+ */
public static final native boolean Region_IsInfinite(int /*long*/ region, int /*long*/ graphics);
+/**
+ * @method flags=new
+ * @param color cast=(Color *),flags=struct
+ */
public static final native int /*long*/ SolidBrush_new(int /*long*/ color);
+/** @method flags=delete */
public static final native void SolidBrush_delete(int /*long*/ brush);
+/** @method flags=delete */
public static final native void StringFormat_delete(int /*long*/ format);
+/**
+ * @method flags=cpp
+ * @param format cast=(StringFormat *)
+ */
public static final native int /*long*/ StringFormat_Clone(int /*long*/ format);
+/** @method accessor=StringFormat::GenericDefault */
public static final native int /*long*/ StringFormat_GenericDefault();
+/** @method accessor=StringFormat::GenericTypographic */
public static final native int /*long*/ StringFormat_GenericTypographic();
+/**
+ * @method flags=cpp
+ * @param format cast=(StringFormat *)
+ */
public static final native int StringFormat_GetFormatFlags(int /*long*/ format);
+/**
+ * @method flags=cpp
+ * @param format cast=(StringFormat *)
+ * @param hotkeyPrefix cast=(HotkeyPrefix)
+ */
public static final native int StringFormat_SetHotkeyPrefix(int /*long*/ format, int hotkeyPrefix);
+/**
+ * @method flags=cpp
+ * @param format cast=(StringFormat *)
+ * @param flags cast=(StringFormatFlags)
+ */
public static final native int StringFormat_SetFormatFlags(int /*long*/ format, int flags);
+/**
+ * @method flags=cpp
+ * @param format cast=(StringFormat *)
+ */
public static final native int StringFormat_SetTabStops(int /*long*/ format, float firstTabOffset, int count, float[] tabStops);
+/**
+ * @method flags=new
+ * @param image cast=(Image *)
+ * @param wrapMode cast=(WrapMode)
+ */
public static final native int /*long*/ TextureBrush_new(int /*long*/ image, int wrapMode, float dstX, float dstY, float dstWidth, float dstHeight);
+/** @method flags=delete */
public static final native void TextureBrush_delete(int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param brush cast=(TextureBrush *)
+ * @param matrix cast=(Matrix *)
+ */
public static final native int TextureBrush_SetTransform(int /*long*/ brush, int /*long*/ matrix);
+/**
+ * @method flags=cpp
+ * @param brush cast=(TextureBrush *)
+ */
public static final native int TextureBrush_ResetTransform(int /*long*/ brush);
+/**
+ * @method flags=cpp
+ * @param brush cast=(TextureBrush *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int TextureBrush_ScaleTransform(int /*long*/ brush, float sx, float sy, int order);
+/**
+ * @method flags=cpp
+ * @param brush cast=(TextureBrush *)
+ * @param order cast=(MatrixOrder)
+ */
public static final native int TextureBrush_TranslateTransform(int /*long*/ brush, float dx, float dy, int order);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/GdiplusStartupInput.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/GdiplusStartupInput.java
index 7c9e4faf49..4943a8f87a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/GdiplusStartupInput.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/GdiplusStartupInput.java
@@ -10,10 +10,14 @@
*******************************************************************************/
package org.eclipse.swt.internal.gdip;
+/** @jniclass flags=cpp */
public class GdiplusStartupInput {
public int GdiplusVersion;
+ /** @field cast=(DebugEventProc) */
public int /*long*/ DebugEventCallback;
+ /** @field cast=(BOOL) */
public boolean SuppressBackgroundThread;
+ /** @field cast=(BOOL) */
public boolean SuppressExternalCodecs;
public static final int sizeof = Gdip.GdiplusStartupInput_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/PointF.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/PointF.java
index 9b10731d8f..ad72f688d1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/PointF.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/PointF.java
@@ -11,6 +11,8 @@
package org.eclipse.swt.internal.gdip;
public class PointF {
+ /** @field cast=(REAL) */
public float X;
+ /** @field cast=(REAL) */
public float Y;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java
index 684224fbd1..50db406b39 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.ole.win32;
public final class CAUUID {
public int cElems;
+ /** @field cast=(GUID FAR *) */
public int /*long*/ pElems;
public static final int sizeof = COM.CAUUID_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java
index 32971cd629..f3048876b8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java
@@ -411,62 +411,231 @@ private static GUID IIDFromString(String lpsz) {
}
/** Natives */
+
+/** @param lpszProgID cast=(LPCOLESTR) */
public static final native int CLSIDFromProgID(char[] lpszProgID, GUID pclsid);
+/** @param lpsz cast=(LPOLESTR) */
public static final native int CLSIDFromString(char[] lpsz, GUID pclsid);
+/**
+ * @param pUnkOuter cast=(LPUNKNOWN)
+ * @param ppv cast=(LPVOID *)
+ */
public static final native int CoCreateInstance(GUID rclsid, int /*long*/ pUnkOuter, int dwClsContext, GUID riid, int /*long*/[] ppv);
public static final native void CoFreeUnusedLibraries();
+/**
+ * @param pServerInfo cast=(COSERVERINFO *)
+ * @param ppv cast=(LPVOID *)
+ */
public static final native int CoGetClassObject(GUID rclsid, int dwClsContext, int /*long*/ pServerInfo, GUID riid, int /*long*/[] ppv);
+/**
+ * @param pUnk cast=(IUnknown *)
+ * @param fLock cast=(BOOL)
+ * @param fLastUnlockReleases cast=(BOOL)
+ */
public static final native int CoLockObjectExternal(int /*long*/ pUnk, boolean fLock, boolean fLastUnlockReleases);
+/** @param cb cast=(ULONG) */
public static final native int /*long*/ CoTaskMemAlloc(int cb);
+/** @param pv cast=(LPVOID) */
public static final native void CoTaskMemFree(int /*long*/ pv);
+/**
+ * @param pDataObject cast=(IDataObject *)
+ * @param pDropSource cast=(IDropSource *)
+ * @param pdwEffect cast=(LPDWORD)
+ */
public static final native int DoDragDrop(int /*long*/ pDataObject, int /*long*/ pDropSource, int dwOKEffect, int[] pdwEffect);
+/** @param szFileName cast=(LPCWSTR) */
public static final native int GetClassFile(char[] szFileName, GUID clsid);
+/** @param lpsz cast=(LPOLESTR) */
public static final native int IIDFromString(char[] lpsz, GUID lpiid);
public static final native boolean IsEqualGUID(GUID rguid1, GUID rguid2);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory(int /*long*/ Destination, FORMATETC Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory(int /*long*/ DestinationPtr, GUID Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory(int /*long*/ DestinationPtr, OLEINPLACEFRAMEINFO Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory(int /*long*/ Destination, STATSTG Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory(int /*long*/ Destination, STGMEDIUM Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory(STGMEDIUM Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory(DISPPARAMS Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(FORMATETC Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory(GUID Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(STATSTG Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory(TYPEATTR Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(RECT Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(FUNCDESC Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(VARDESC Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory(VARIANT Destination, int /*long*/ Source, int Length);
+/**
+ * @param pClientSite cast=(IOleClientSite *)
+ * @param pStg cast=(IStorage *)
+ * @param ppvObject cast=(void **)
+ */
public static final native int OleCreate(GUID rclsid, GUID riid, int renderopt, FORMATETC pFormatEtc, int /*long*/ pClientSite, int /*long*/ pStg, int /*long*/[] ppvObject);
+/**
+ * @param lpszFileName cast=(LPCOLESTR)
+ * @param pClientSite cast=(LPOLECLIENTSITE)
+ * @param pStg cast=(LPSTORAGE)
+ * @param ppvObj cast=(LPVOID *)
+ */
public static final native int OleCreateFromFile(GUID rclsid, char[] lpszFileName, GUID riid, int renderopt, FORMATETC pFormatEtc, int /*long*/ pClientSite, int /*long*/ pStg, int /*long*/[] ppvObj);
+/**
+ * @param hwndOwner cast=(HWND)
+ * @param lpszCaption cast=(LPCOLESTR)
+ * @param lplpUnk cast=(LPUNKNOWN FAR*)
+ * @param lpPageClsID cast=(LPCLSID)
+ * @param lcid cast=(LCID)
+ * @param lpvReserved cast=(LPVOID)
+ */
public static final native int OleCreatePropertyFrame(int /*long*/ hwndOwner,int x, int y, char[] lpszCaption, int cObjects, int /*long*/[] lplpUnk, int cPages, int /*long*/ lpPageClsID, int lcid, int dwReserved, int /*long*/ lpvReserved);
+/**
+ * @param pUnk cast=(LPUNKNOWN)
+ * @param dwAspect cast=(DWORD)
+ * @param hdcDraw cast=(HDC)
+ * @param lprcBounds cast=(LPRECT)
+ */
public static final native int OleDraw(int /*long*/ pUnk, int dwAspect, int /*long*/ hdcDraw, int /*long*/ lprcBounds);
public static final native int OleFlushClipboard();
+/** @param ppDataObject cast=(IDataObject **) */
public static final native int OleGetClipboard(int /*long*/[] ppDataObject);
+/** @param pDataObject cast=(IDataObject *) */
public static final native int OleIsCurrentClipboard(int /*long*/ pDataObject);
+/** @param pObject cast=(LPOLEOBJECT) */
public static final native boolean OleIsRunning(int /*long*/ pObject);
+/**
+ * @param pStg cast=(IStorage *)
+ * @param pClientSite cast=(IOleClientSite *)
+ * @param ppvObj cast=(LPVOID *)
+ */
public static final native int OleLoad(int /*long*/ pStg, GUID riid, int /*long*/ pClientSite, int /*long*/[] ppvObj);
+/** @param pUnknown cast=(LPUNKNOWN) */
public static final native int OleRun(int /*long*/ pUnknown);
+/**
+ * @param pPS cast=(IPersistStorage *)
+ * @param pStg cast=(IStorage *)
+ */
public static final native int OleSave(int /*long*/ pPS, int /*long*/ pStg, boolean fSameAsLoad);
+/** @param pDataObject cast=(IDataObject *) */
public static final native int OleSetClipboard(int /*long*/ pDataObject);
+/** @param pUnk cast=(LPUNKNOWN) */
public static final native int OleSetContainedObject(int /*long*/ pUnk, boolean fContained);
+/**
+ * @param holemenu cast=(HOLEMENU)
+ * @param hwndFrame cast=(HWND)
+ * @param hwndActiveObject cast=(HWND)
+ * @param lpFrame cast=(LPOLEINPLACEFRAME)
+ * @param lpActiveObj cast=(LPOLEINPLACEACTIVEOBJECT)
+ */
public static final native int OleSetMenuDescriptor(int /*long*/ holemenu, int /*long*/ hwndFrame, int /*long*/ hwndActiveObject, int /*long*/ lpFrame, int /*long*/ lpActiveObj);
+/**
+ * @param clr cast=(OLE_COLOR)
+ * @param hpal cast=(HPALETTE)
+ * @param pcolorref cast=(COLORREF *)
+ */
public static final native int OleTranslateColor(int clr, int /*long*/ hpal, int[] pcolorref);
+/** @param lplpszProgID cast=(LPOLESTR *) */
public static final native int ProgIDFromCLSID(GUID clsid, int /*long*/[] lplpszProgID);
+/**
+ * @param hwnd cast=(HWND)
+ * @param pDropTarget cast=(IDropTarget *)
+ */
public static final native int RegisterDragDrop(int /*long*/ hwnd, int /*long*/ pDropTarget);
+/** @param pmedium cast=(STGMEDIUM *) */
public static final native void ReleaseStgMedium(int /*long*/ pmedium);
+/** @param hwnd cast=(HWND) */
public static final native int RevokeDragDrop(int /*long*/ hwnd);
+/**
+ * @param hwnd cast=(HWND)
+ * @param pDataObject cast=(IDataObject *)
+ * @param pDropSource cast=(IDropSource *)
+ * @param pdwEffect cast=(DWORD *)
+ */
public static final native int SHDoDragDrop(int /*long*/ hwnd, int /*long*/ pDataObject, int /*long*/ pDropSource, int dwOKEffect, int[] pdwEffect);
+/** @param ppstgOpen cast=(IStorage **) */
public static final native int StgCreateDocfile(char[] pwcsName, int grfMode, int reserved, int /*long*/[] ppstgOpen);
+/** @param pwcsName cast=(const WCHAR *) */
public static final native int StgIsStorageFile(char[] pwcsName);
+/**
+ * @param pwcsName cast=(const WCHAR *)
+ * @param pstgPriority cast=(IStorage *)
+ * @param snbExclude cast=(SNB)
+ * @param ppstgOpen cast=(IStorage **)
+ */
public static final native int StgOpenStorage(char[] pwcsName, int /*long*/ pstgPriority, int grfMode, int /*long*/ snbExclude, int reserved, int /*long*/[] ppstgOpen);
+/** @param ppsz cast=(LPOLESTR *) */
public static final native int StringFromCLSID(GUID rclsid, int /*long*/[] ppsz);
+/** @param sz cast=(OLECHAR *) */
public static final native int /*long*/ SysAllocString(char [] sz);
+/** @param bstr cast=(BSTR) */
public static final native void SysFreeString(int /*long*/ bstr);
+/** @param bstr cast=(BSTR) */
public static final native int SysStringByteLen(int /*long*/ bstr);
+/**
+ * @param pvargDest cast=(VARIANTARG FAR* )
+ * @param pvarSrc cast=(VARIANTARG FAR* )
+ * @param vt cast=(VARTYPE)
+ */
public static final native int VariantChangeType(int /*long*/ pvargDest, int /*long*/ pvarSrc, short wFlags, short vt);
+/** @param pvarg cast=(VARIANTARG FAR* ) */
public static final native int VariantClear(int /*long*/ pvarg);
+/** @param pvarg cast=(VARIANTARG FAR* ) */
public static final native void VariantInit(int /*long*/ pvarg);
public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, char[] arg0);
@@ -549,6 +718,7 @@ public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, int a
public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, int arg0, int /*long*/[] arg1, int arg2, int[] arg3);
+/** @param pStg cast=(IStorage *) */
public static final native int WriteClassStg(int /*long*/ pStg, GUID rclsid);
/** Accessibility constants */
@@ -650,8 +820,24 @@ public static final int STATE_SYSTEM_MULTISELECTABLE = 0x1000000;
//public static final int STATE_SYSTEM_VALID = 0x3fffffff;
/** Accessibility natives */
+
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ * @param dwObjectID cast=(DWORD)
+ * @param ppvObject cast=(LPVOID *)
+ */
public static final native int AccessibleObjectFromWindow (int /*long*/ hwnd, int dwObjectID, GUID riid, int /*long*/[] ppvObject);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ * @param ppvObject cast=(LPVOID *)
+ */
public static final native int CreateStdAccessibleObject (int /*long*/ hwnd, int idObject, GUID riidInterface, int /*long*/[] ppvObject);
+/**
+ * @method flags=dynamic
+ * @param pAcc cast=(LPUNKNOWN)
+ */
public static final native int /*long*/ LresultFromObject (GUID riid, int /*long*/ wParam, int /*long*/ pAcc);
/*USED*/public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, int arg0, int arg1, int arg2, int arg3);
/*USED*/public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, int arg0, int arg1, int arg2, int arg3, int arg4);
@@ -661,27 +847,50 @@ public static final native int /*long*/ LresultFromObject (GUID riid, int /*long
/*USED*/public static final native int VtblCall(int fnNumber, int /*long*/ ppVtbl, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int arg4, int arg5, int arg6, int arg7);
/** Custom accessibility natives */
+
+/** @method flags=no_gen */
public static final native int VtblCall_VARIANT(int fnNumber, int /*long*/ ppVtbl, int /*long*/ arg0);
+/** @method flags=no_gen */
public static final native int VtblCall_VARIANTP(int fnNumber, int /*long*/ ppVtbl, int /*long*/ arg0, int /*long*/ arg1);
+/** @method flags=no_gen */
public static final native int VtblCall_IVARIANT(int fnNumber, int /*long*/ ppVtbl, int arg0, int /*long*/ arg1);
+/** @method flags=no_gen */
public static final native int VtblCall_IVARIANTP(int fnNumber, int /*long*/ ppVtbl, int arg0, int /*long*/ arg1, int /*long*/ arg2);
+/** @method flags=no_gen */
public static final native int VtblCall_PVARIANTP(int fnNumber, int /*long*/ ppVtbl, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2);
+/** @method flags=no_gen */
public static final native int VtblCall_PPPPVARIANT(int fnNumber, int /*long*/ ppVtbl, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ arg3, int /*long*/ arg4);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accChild_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accName_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accValue_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accDescription_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accRole_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accState_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accHelp_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accHelpTopic_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accKeyboardShortcut_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ get_accDefaultAction_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ accSelect_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ accLocation_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ accNavigate_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ accDoDefaultAction_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ put_accName_CALLBACK(int /*long*/ func);
+/** @method flags=no_gen */
public static final native int /*long*/ put_accValue_CALLBACK(int /*long*/ func);
/* sizeof's */
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java
index 1ef12c4b1b..fbb2eefe46 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.ole.win32;
public final class CONTROLINFO {
public int cb;
+ /** @field cast=(HACCEL) */
public int /*long*/ hAccel;
public short cAccel;
public int dwFlags;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java
index ad767b40fd..4149284e6d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java
@@ -12,7 +12,9 @@ package org.eclipse.swt.internal.ole.win32;
public class COSERVERINFO {
public int dwReserved1;
+ /** @field cast=(LPWSTR) */
public int /*long*/ pwszName;
+ /** @field cast=(COAUTHINFO *) */
public int /*long*/ pAuthInfo;
public int dwReserved2;
public static final int sizeof = COM.COSERVERINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java
index e7909dd6f9..f13b34e2bd 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.ole.win32;
public final class DISPPARAMS {
+ /** @field cast=(VARIANTARG FAR *) */
public int /*long*/ rgvarg;
+ /** @field cast=(DISPID FAR *) */
public int /*long*/ rgdispidNamedArgs;
public int cArgs;
public int cNamedArgs;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java
index e492d9425e..5d7f90e84e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java
@@ -13,11 +13,16 @@ package org.eclipse.swt.internal.ole.win32;
public final class EXCEPINFO {
public short wCode;
public short wReserved;
+ /** @field cast=(BSTR) */
public int /*long*/ bstrSource;
+ /** @field cast=(BSTR) */
public int /*long*/ bstrDescription;
+ /** @field cast=(BSTR) */
public int /*long*/ bstrHelpFile;
public int dwHelpContext;
+ /** @field cast=(void FAR *) */
public int /*long*/ pvReserved;
+ /** @field cast=(HRESULT (STDAPICALLTYPE FAR* )(struct tagEXCEPINFO FAR*)) */
public int /*long*/ pfnDeferredFillIn;
public int scode;
public static final int sizeof = COM.EXCEPINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java
index 285a9b2bec..57a270c3fb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.ole.win32;
public final class FORMATETC {
+ /** @field cast=(CLIPFORMAT) */
public int cfFormat;
+ /** @field cast=(DVTARGETDEVICE *) */
public int /*long*/ ptd;
public int dwAspect;
public int lindex;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC.java
index d533010e9d..6fe8bd5743 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC.java
@@ -11,11 +11,17 @@
package org.eclipse.swt.internal.ole.win32;
public class FUNCDESC {
+ /** @field cast=(MEMBERID) */
public int memid;
+ /** @field cast=(SCODE FAR *) */
public int /*long*/ lprgscode;
+ /** @field cast=(ELEMDESC FAR *) */
public int /*long*/ lprgelemdescParam;
+ /** @field cast=(FUNCKIND) */
public int funckind;
+ /** @field cast=(INVOKEKIND) */
public int invkind;
+ /** @field cast=(CALLCONV) */
public int callconv;
public short cParams;
public short cParamsOpt;
@@ -23,10 +29,14 @@ public class FUNCDESC {
public short cScodes;
// ELEMDESC elemdescFunc;
// TYPEDESC elemdescFunc.tdesc
+ /** @field accessor=elemdescFunc.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR* ) */
public int /*long*/ elemdescFunc_tdesc_union;
+ /** @field accessor=elemdescFunc.tdesc.vt */
public short elemdescFunc_tdesc_vt;
// PARAMDESC elemdescFunc.paramdesc
+ /** @field accessor=elemdescFunc.paramdesc.pparamdescex,cast=(LPPARAMDESCEX) */
public int /*long*/ elemdescFunc_paramdesc_pparamdescex;
+ /** @field accessor=elemdescFunc.paramdesc.wParamFlags */
public short elemdescFunc_paramdesc_wParamFlags;
public short wFuncFlags;
public static final int sizeof = COM.FUNCDESC_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java
index e84f439bd8..3a8fd1f12a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java
@@ -13,7 +13,9 @@ package org.eclipse.swt.internal.ole.win32;
public final class OLEINPLACEFRAMEINFO {
public int cb;
public int fMDIApp;
+ /** @field cast=(HWND) */
public int /*long*/ hwndFrame;
+ /** @field cast=(HACCEL) */
public int /*long*/ haccel;
public int cAccelEntries;
public static final int sizeof = COM.OLEINPLACEFRAMEINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java
index f880437da3..1c6a4f27a4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java
@@ -11,24 +11,36 @@
package org.eclipse.swt.internal.ole.win32;
public class STATSTG {
+ /** @field cast=(LPWSTR) */
public int /*long*/ pwcsName;
public int type;
+ /** @field accessor=cbSize.QuadPart */
public long cbSize;
// FILETIME mtime;
+ /** @field accessor=mtime.dwLowDateTime */
public int mtime_dwLowDateTime;
+ /** @field accessor=mtime.dwHighDateTime */
public int mtime_dwHighDateTime;
// FILETIME ctime;
+ /** @field accessor=ctime.dwLowDateTime */
public int ctime_dwLowDateTime;
+ /** @field accessor=ctime.dwHighDateTime */
public int ctime_dwHighDateTime;
// FILETIME atime;
+ /** @field accessor=atime.dwLowDateTime */
public int atime_dwLowDateTime;
+ /** @field accessor=atime.dwHighDateTime */
public int atime_dwHighDateTime;
public int grfMode;
public int grfLocksSupported;
// GUID clsid;
+ /** @field accessor=clsid.Data1 */
public int clsid_Data1;
+ /** @field accessor=clsid.Data2 */
public short clsid_Data2;
+ /** @field accessor=clsid.Data3 */
public short clsid_Data3;
+ /** @field accessor=clsid.Data4 */
public byte[] clsid_Data4 = new byte[8];
public int grfStateBits;
public int reserved;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java
index 7d00c55592..b628b63c46 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java
@@ -12,7 +12,9 @@ package org.eclipse.swt.internal.ole.win32;
public final class STGMEDIUM {
public int tymed;
+ /** @field accessor=hGlobal,cast=(HGLOBAL) */
public int /*long*/ unionField;
+ /** @field cast=(IUnknown *) */
public int /*long*/ pUnkForRelease;
public static final int sizeof = COM.STGMEDIUM_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java
index 255c63cb80..cbc955aa7a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java
@@ -12,14 +12,19 @@ package org.eclipse.swt.internal.ole.win32;
public final class TYPEATTR {
// GUID guid
+ /** @field accessor=guid.Data1 */
public int guid_Data1;
+ /** @field accessor=guid.Data2 */
public short guid_Data2;
+ /** @field accessor=guid.Data3 */
public short guid_Data3;
+ /** @field accessor=guid.Data4 */
public byte[] guid_Data4 = new byte[8];
public int lcid;
public int dwReserved;
public int memidConstructor;
public int memidDestructor;
+ /** @field cast=(OLECHAR FAR *) */
public int /*long*/ lpstrSchema;
public int cbSizeInstance;
public int typekind;
@@ -32,10 +37,14 @@ public final class TYPEATTR {
public short wMajorVerNum;
public short wMinorVerNum;
// TYPEDESC tdescAlias
+ /** @field accessor=tdescAlias.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR *) */
public int /*long*/ tdescAlias_unionField;
+ /** @field accessor=tdescAlias.vt */
public short tdescAlias_vt;
// IDLDESC idldesctype
+ /** @field accessor=idldescType.dwReserved */
public int idldescType_dwReserved;
+ /** @field accessor=idldescType.wIDLFlags */
public short idldescType_wIDLFlags;
public static final int sizeof = COM.TYPEATTR_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC.java
index 0500374edc..a75184b55f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC.java
@@ -12,14 +12,19 @@ package org.eclipse.swt.internal.ole.win32;
public class VARDESC {
public int memid;
+ /** @field cast=(OLECHAR FAR *) */
public int /*long*/ lpstrSchema;
public int oInst;
// ELEMDESC elemdescVar
// TYPEDESC elemdescVar.tdesc
+ /** @field accessor=elemdescVar.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR *) */
public int /*long*/ elemdescVar_tdesc_union;
+ /** @field accessor=elemdescVar.tdesc.vt */
public short elemdescVar_tdesc_vt;
// PARAMDESC elemdescFunc.paramdesc
+ /** @field accessor=elemdescVar.paramdesc.pparamdescex,cast=(LPPARAMDESCEX) */
public int /*long*/ elemdescVar_paramdesc_pparamdescex;
+ /** @field accessor=elemdescVar.paramdesc.wParamFlags */
public short elemdescVar_paramdesc_wParamFlags;
public short wVarFlags;
public int varkind;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java
index 609613f213..075bcf95dc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java
@@ -13,12 +13,17 @@ package org.eclipse.swt.internal.win32;
public class ACTCTX {
public int cbSize;
public int dwFlags;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpSource;
public short wProcessorArchitecture;
public short wLangId;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpAssemblyDirectory;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpResourceName;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpApplicationName;
+ /** @field cast=(HMODULE) */
public int /*long*/ hModule;
public static final int sizeof = OS.ACTCTX_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java
index ec39964868..03a56200be 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java
@@ -17,6 +17,7 @@ public class BITMAP {
public int bmWidthBytes;
public short bmPlanes;
public short bmBitsPixel;
+ /** @field cast=(LPVOID) */
public int /*long*/ bmBits;
public static final int sizeof = OS.BITMAP_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BP_PAINTPARAMS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BP_PAINTPARAMS.java
index 5669a83cec..935bb5a467 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BP_PAINTPARAMS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BP_PAINTPARAMS.java
@@ -13,7 +13,9 @@ package org.eclipse.swt.internal.win32;
public class BP_PAINTPARAMS {
public int cbSize;
public int dwFlags;
+ /** @field cast=(RECT*) */
public int /*long*/ prcExclude;
+ /** @field cast=(BLENDFUNCTION*) */
public int /*long*/ pBlendFunction;
public static final int sizeof = OS.BP_PAINTPARAMS_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java
index 736f40859f..496f8a0502 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java
@@ -11,11 +11,16 @@
package org.eclipse.swt.internal.win32;
public class BROWSEINFO {
+ /** @field cast=(HWND) */
public int /*long*/ hwndOwner;
+ /** @field cast=(LPCITEMIDLIST) */
public int /*long*/ pidlRoot;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszDisplayName;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszTitle;
public int ulFlags;
+ /** @field cast=(BFFCALLBACK) */
public int /*long*/ lpfn;
public int /*long*/ lParam;
public int iImage;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BUTTON_IMAGELIST.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BUTTON_IMAGELIST.java
index e5d18b3480..c90e958aa3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BUTTON_IMAGELIST.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BUTTON_IMAGELIST.java
@@ -11,11 +11,17 @@
package org.eclipse.swt.internal.win32;
public class BUTTON_IMAGELIST {
+ /** @field cast=(HIMAGELIST) */
public int /*long*/ himl;
+ /** @field accessor=margin.left,cast=(LONG) */
public int margin_left;
+ /** @field accessor=margin.top,cast=(LONG) */
public int margin_top;
+ /** @field accessor=margin.right,cast=(LONG) */
public int margin_right;
+ /** @field accessor=margin.bottom,cast=(LONG) */
public int margin_bottom;
+ /** @field cast=(UINT) */
public int uAlign;
public static final int sizeof = OS.BUTTON_IMAGELIST_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java
index ba500f794a..6913b1b1c3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java
@@ -12,13 +12,18 @@ package org.eclipse.swt.internal.win32;
public class CHOOSECOLOR {
public int lStructSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndOwner;
+ /** @field cast=(HANDLE) */
public int /*long*/ hInstance;
public int rgbResult;
+ /** @field cast=(COLORREF *) */
public int /*long*/ lpCustColors;
public int Flags;
public int /*long*/ lCustData;
+ /** @field cast=(LPCCHOOKPROC) */
public int /*long*/ lpfnHook;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpTemplateName;
public static final int sizeof = OS.CHOOSECOLOR_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java
index ae2482b2da..cc51d657fb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java
@@ -12,16 +12,23 @@ package org.eclipse.swt.internal.win32;
public class CHOOSEFONT {
public int lStructSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndOwner;
+ /** @field cast=(HDC) */
public int /*long*/ hDC;
+ /** @field cast=(LPLOGFONT) */
public int /*long*/ lpLogFont;
public int iPointSize;
public int Flags;
public int rgbColors;
public int /*long*/ lCustData;
+ /** @field cast=(LPCFHOOKPROC) */
public int /*long*/ lpfnHook;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpTemplateName;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstance;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpszStyle;
public short nFontType;
public int nSizeMin;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMBOBOXINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMBOBOXINFO.java
index 2cebbbe77c..09de891d00 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMBOBOXINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMBOBOXINFO.java
@@ -12,17 +12,28 @@ package org.eclipse.swt.internal.win32;
public class COMBOBOXINFO {
public int cbSize;
+ /** @field accessor=rcItem.left */
public int itemLeft;
+ /** @field accessor=rcItem.top */
public int itemTop;
+ /** @field accessor=rcItem.right */
public int itemRight;
+ /** @field accessor=rcItem.bottom */
public int itemBottom;
+ /** @field accessor=rcButton.left */
public int buttonLeft;
+ /** @field accessor=rcButton.top */
public int buttonTop;
+ /** @field accessor=rcButton.right */
public int buttonRight;
+ /** @field accessor=rcButton.bottom */
public int buttonBottom;
public int stateButton;
+ /** @field cast=(HWND) */
public int /*long*/ hwndCombo;
+ /** @field cast=(HWND) */
public int /*long*/ hwndItem;
+ /** @field cast=(HWND) */
public int /*long*/ hwndList;
public static final int sizeof = OS.COMBOBOXINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java
index 8a138c80cc..5533e54209 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java
@@ -13,12 +13,18 @@ package org.eclipse.swt.internal.win32;
public class COMPOSITIONFORM {
public int dwStyle;
// POINT ptCurrentPos;
+ /** @field accessor=ptCurrentPos.x */
public int x;
+ /** @field accessor=ptCurrentPos.y */
public int y;
// RECT rcArea;
+ /** @field accessor=rcArea.left */
public int left;
+ /** @field accessor=rcArea.top */
public int top;
+ /** @field accessor=rcArea.right */
public int right;
+ /** @field accessor=rcArea.bottom */
public int bottom;
public static final int sizeof = OS.COMPOSITIONFORM_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java
index 8435fad700..6b3c35be63 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java
@@ -11,16 +11,22 @@
package org.eclipse.swt.internal.win32;
public class CREATESTRUCT {
+ /** @field cast=(LPVOID) */
public int /*long*/ lpCreateParams;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstance;
+ /** @field cast=(HMENU) */
public int /*long*/ hMenu;
+ /** @field cast=(HWND) */
public int /*long*/ hwndParent;
public int cy;
public int cx;
public int y;
public int x;
public int style;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszName;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszClass;
public int dwExStyle;
public static final int sizeof = OS.CREATESTRUCT_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java
index c7620496af..d5d1d938ef 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java
@@ -11,20 +11,35 @@
package org.eclipse.swt.internal.win32;
public class DIBSECTION extends BITMAP {
+ /** @field accessor=dsBmih.biSize */
public int biSize;
+ /** @field accessor=dsBmih.biWidth */
public int biWidth;
+ /** @field accessor=dsBmih.biHeight */
public int biHeight;
+ /** @field accessor=dsBmih.biPlanes */
public short biPlanes;
+ /** @field accessor=dsBmih.biBitCount */
public short biBitCount;
+ /** @field accessor=dsBmih.biCompression */
public int biCompression;
+ /** @field accessor=dsBmih.biSizeImage */
public int biSizeImage;
+ /** @field accessor=dsBmih.biXPelsPerMeter */
public int biXPelsPerMeter;
+ /** @field accessor=dsBmih.biYPelsPerMeter */
public int biYPelsPerMeter;
+ /** @field accessor=dsBmih.biClrUsed */
public int biClrUsed;
+ /** @field accessor=dsBmih.biClrImportant */
public int biClrImportant;
+ /** @field accessor=dsBitfields[0] */
public int dsBitfields0;
+ /** @field accessor=dsBitfields[1] */
public int dsBitfields1;
+ /** @field accessor=dsBitfields[2] */
public int dsBitfields2;
+ /** @field cast=(HANDLE) */
public int /*long*/ dshSection;
public int dsOffset;
public static final int sizeof = OS.DIBSECTION_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java
index 91737b1d0d..111e44c58d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java
@@ -12,8 +12,11 @@ package org.eclipse.swt.internal.win32;
public class DOCINFO {
public int cbSize;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszDocName; // LPCTSTR
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszOutput; // LPCTSTR
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszDatatype;// LPCTSTR
public int fwType; // DWORD
public static final int sizeof = OS.DOCINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java
index b1c1a8704a..54d402c298 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java
@@ -16,12 +16,18 @@ public class DRAWITEMSTRUCT {
public int itemID;
public int itemAction;
public int itemState;
+ /** @field cast=(HWND) */
public int /*long*/ hwndItem;
+ /** @field cast=(HDC) */
public int /*long*/ hDC;
// RECT rcItem;
+ /** @field accessor=rcItem.left */
public int left;
+ /** @field accessor=rcItem.top */
public int top;
+ /** @field accessor=rcItem.bottom */
public int bottom;
+ /** @field accessor=rcItem.right */
public int right;
public int /*long*/ itemData;
public static final int sizeof = OS.DRAWITEMSTRUCT_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
index 696e3ec0b3..df26ab32bc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
@@ -13,7 +13,9 @@ package org.eclipse.swt.internal.win32;
public class DROPFILES {
public int pFiles; // Offset of the file list from the beginning of this structure, in bytes.
// POINT pt; // Drop point. The coordinates depend on fNC.
+ /** @field accessor=pt.x */
public int pt_x;
+ /** @field accessor=pt.y */
public int pt_y;
public int fNC; // Nonclient area flag. If this member is TRUE, pt specifies the screen
// coordinates of a point in a window's nonclient area. If it is FALSE,
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
index 4ee489ccc3..a2af150d68 100644
--- 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
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public class DWM_BLURBEHIND {
public int dwFlags;
public boolean fEnable;
+ /** @field cast=(HRGN) */
public int /*long*/ 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/GCP_RESULTS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java
index a5435bf7bd..c3ef23cba5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java
@@ -12,11 +12,17 @@ package org.eclipse.swt.internal.win32;
public class GCP_RESULTS {
public int lStructSize;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpOutString;
+ /** @field cast=(UINT *) */
public int /*long*/ lpOrder;
+ /** @field cast=(int *) */
public int /*long*/ lpDx;
+ /** @field cast=(int *) */
public int /*long*/ lpCaretPos;
+ /** @field cast=(LPSTR) */
public int /*long*/ lpClass;
+ /** @field cast=(LPWSTR) */
public int /*long*/ lpGlyphs;
public int nGlyphs;
public int nMaxFit;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GUITHREADINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GUITHREADINFO.java
index f8570a2056..b0e4df3dd4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GUITHREADINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GUITHREADINFO.java
@@ -11,18 +11,30 @@
package org.eclipse.swt.internal.win32;
public class GUITHREADINFO {
+ /** @field cast=(DWORD) */
public int cbSize;
+ /** @field cast=(DWORD) */
public int flags;
+ /** @field cast=(HWND) */
public int /*long*/ hwndActive;
+ /** @field cast=(HWND) */
public int /*long*/ hwndFocus;
+ /** @field cast=(HWND) */
public int /*long*/ hwndCapture;
+ /** @field cast=(HWND) */
public int /*long*/ hwndMenuOwner;
+ /** @field cast=(HWND) */
public int /*long*/ hwndMoveSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndCaret;
// RECT rcCaret;
+ /** @field accessor=rcCaret.left */
public int left;
+ /** @field accessor=rcCaret.top */
public int top;
+ /** @field accessor=rcCaret.right */
public int right;
+ /** @field accessor=rcCaret.bottom */
public int bottom;
public static int sizeof = OS.GUITHREADINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDHITTESTINFO.java
index 2ddcc50ee0..37ed7cb9b5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDHITTESTINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDHITTESTINFO.java
@@ -12,7 +12,9 @@ package org.eclipse.swt.internal.win32;
public class HDHITTESTINFO {
// POINT pt;
+ /** @field accessor=pt.x */
public int x;
+ /** @field accessor=pt.y */
public int y;
public int flags;
public int iItem;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java
index a06c004529..91cdc906a6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java
@@ -13,14 +13,18 @@ package org.eclipse.swt.internal.win32;
public class HDITEM {
public int mask;
public int cxy;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbm;
public int cchTextMax;
public int fmt;
public int /*long*/ lParam;
public int iImage;
public int iOrder;
+ /** @field flags=no_wince */
public int type;
+ /** @field cast=(void *),flags=no_wince */
public int /*long*/ pvFilter;
public static int sizeof = OS.HDITEM_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDLAYOUT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDLAYOUT.java
index 096baf1ce4..bbe6040e60 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDLAYOUT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDLAYOUT.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.win32;
public class HDLAYOUT {
+ /** @field cast=(RECT *) */
public int /*long*/ prc;
+ /** @field cast=(WINDOWPOS *) */
public int /*long*/ pwpos;
public static final int sizeof = OS.HDLAYOUT_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java
index bf46c16092..57c8c11b54 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java
@@ -14,10 +14,13 @@ public class HELPINFO {
public int cbSize;
public int iContextType;
public int iCtrlId;
+ /** @field cast=(HANDLE) */
public int /*long*/ hItemHandle;
public int dwContextId;
// POINT MousePos
+ /** @field accessor=MousePos.x */
public int x;
+ /** @field accessor=MousePos.y */
public int y;
public static final int sizeof = OS.HELPINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HIGHCONTRAST.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HIGHCONTRAST.java
index 66f6c76abf..771055708d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HIGHCONTRAST.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HIGHCONTRAST.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public class HIGHCONTRAST {
public int cbSize;
public int dwFlags;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpszDefaultScheme;
public static final int sizeof = OS.HIGHCONTRAST_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java
index 0221af7520..929d1693bc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java
@@ -14,7 +14,9 @@ public class ICONINFO {
public boolean fIcon;
public int xHotspot;
public int yHotspot;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmMask;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmColor;
public static final int sizeof = OS.ICONINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java
index 5b92c7781f..9911b24d1b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java
@@ -13,7 +13,9 @@ package org.eclipse.swt.internal.win32;
public class LOGPEN {
public int lopnStyle;
// POINT lopnWidth;
+ /** @field accessor=lopnWidth.x */
public int x;
+ /** @field accessor=lopnWidth.y */
public int y;
public int lopnColor;
public static final int sizeof = OS.LOGPEN_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java
index c8f2134958..c7958e0e1a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.internal.win32;
+/** @jniclass flags=no_gen */
public class LRESULT {
public int /*long*/ value;
public static final LRESULT ONE = new LRESULT (1);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java
index 6a293e7757..b83bbe2773 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java
@@ -14,6 +14,7 @@ public class LVCOLUMN {
public int mask;
public int fmt;
public int cx;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
public int cchTextMax;
public int iSubItem;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java
index 7634e39ef0..2c7a4cd01e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java
@@ -12,7 +12,9 @@ package org.eclipse.swt.internal.win32;
public class LVHITTESTINFO {
// POINT pt;
+ /** @field accessor=pt.x */
public int x;
+ /** @field accessor=pt.y */
public int y;
public int flags;
public int iItem;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java
index c4cb6d2e60..36569d9196 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java
@@ -16,13 +16,17 @@ public class LVITEM {
public int iSubItem;
public int state;
public int stateMask;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
public int cchTextMax;
public int iImage;
public int /*long*/ lParam;
public int iIndent;
+ /** @field flags=no_wince */
public int iGroupId;
+ /** @field flags=no_wince */
public int cColumns;
+ /** @field cast=(PUINT),flags=no_wince */
public int /*long*/ puColumns;
public static final int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1) ? OS.LVITEM_sizeof () : 40;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUBARINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUBARINFO.java
index 13314cdda1..8afe51839a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUBARINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUBARINFO.java
@@ -13,11 +13,17 @@ package org.eclipse.swt.internal.win32;
public class MENUBARINFO {
public int cbSize;
// RECT rcBar;
+ /** @field accessor=rcBar.left */
public int left;
+ /** @field accessor=rcBar.top */
public int top;
+ /** @field accessor=rcBar.right */
public int right;
+ /** @field accessor=rcBar.bottom */
public int bottom;
+ /** @field cast=(HMENU) */
public int /*long*/ hMenu;
+ /** @field cast=(HWND) */
public int /*long*/ hwndMenu;
public boolean fBarFocused;
public boolean fFocused;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java
index 35570316a4..6a662f2292 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java
@@ -15,6 +15,7 @@ public class MENUINFO {
public int fMask;
public int dwStyle;
public int cyMax;
+ /** @field cast=(HBRUSH) */
public int /*long*/ hbrBack;
public int dwContextHelpID;
public int /*long*/ dwMenuData;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java
index 59b3057206..64c2754024 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java
@@ -16,12 +16,17 @@ public class MENUITEMINFO {
public int fType;
public int fState;
public int wID;
+ /** @field cast=(HMENU) */
public int /*long*/ hSubMenu;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmpChecked;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmpUnchecked;
public int /*long*/ dwItemData;
+ /** @field cast=(LPTSTR) */
public int /*long*/ dwTypeData;
public int cch;
+ /** @field cast=(HBITMAP),flags=no_wince */
public int /*long*/ hbmpItem;
/*
* Feature in Windows. The hbmpItem field requires Windows 4.10
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MINMAXINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MINMAXINFO.java
index b20491a5e5..b63d4f1cc5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MINMAXINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MINMAXINFO.java
@@ -12,19 +12,29 @@ package org.eclipse.swt.internal.win32;
public class MINMAXINFO {
// POINT ptReserved;
+ /** @field accessor=ptReserved.x */
public int ptReserved_x;
+ /** @field accessor=ptReserved.y */
public int ptReserved_y;
// POINT ptMaxSize;
+ /** @field accessor=ptMaxSize.x */
public int ptMaxSize_x;
+ /** @field accessor=ptMaxSize.y */
public int ptMaxSize_y;
// POINT ptMaxPosition;
+ /** @field accessor=ptMaxPosition.x */
public int ptMaxPosition_x;
+ /** @field accessor=ptMaxPosition.y */
public int ptMaxPosition_y;
// POINT ptMinTrackSize;
+ /** @field accessor=ptMinTrackSize.x */
public int ptMinTrackSize_x;
+ /** @field accessor=ptMinTrackSize.y */
public int ptMinTrackSize_y;
// POINT ptMaxTrackSize;
+ /** @field accessor=ptMaxTrackSize.x */
public int ptMaxTrackSize_x;
+ /** @field accessor=ptMaxTrackSize.y */
public int ptMaxTrackSize_y;
public static final int sizeof = OS.MINMAXINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MONITORINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MONITORINFO.java
index f188d609b2..21f6398d67 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MONITORINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MONITORINFO.java
@@ -13,14 +13,22 @@ package org.eclipse.swt.internal.win32;
public class MONITORINFO {
public int cbSize;
// RECT rcMonitor;
+ /** @field accessor=rcMonitor.left */
public int rcMonitor_left;
+ /** @field accessor=rcMonitor.top */
public int rcMonitor_top;
+ /** @field accessor=rcMonitor.right */
public int rcMonitor_right;
+ /** @field accessor=rcMonitor.bottom */
public int rcMonitor_bottom;
// RECT rcWork;
+ /** @field accessor=rcWork.left */
public int rcWork_left;
+ /** @field accessor=rcWork.top */
public int rcWork_top;
+ /** @field accessor=rcWork.right */
public int rcWork_right;
+ /** @field accessor=rcWork.bottom */
public int rcWork_bottom;
public int dwFlags;
public static final int sizeof = OS.MONITORINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java
index 5e6eba985e..3b67a14963 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java
@@ -11,13 +11,16 @@
package org.eclipse.swt.internal.win32;
public class MSG {
+ /** @field cast=(HWND) */
public int /*long*/ hwnd;
public int message;
public int /*long*/ wParam;
public int /*long*/ lParam;
public int time;
// POINT pt;
+ /** @field accessor=pt.x */
public int x;
+ /** @field accessor=pt.y */
public int y;
public static final int sizeof = OS.MSG_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMCUSTOMDRAW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMCUSTOMDRAW.java
index a2ba599cd7..e9c5b02c68 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMCUSTOMDRAW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMCUSTOMDRAW.java
@@ -12,11 +12,16 @@ package org.eclipse.swt.internal.win32;
public class NMCUSTOMDRAW extends NMHDR {
public int dwDrawStage;
+ /** @field cast=(HDC) */
public int /*long*/ hdc;
// RECT rc;
+ /** @field accessor=rc.left */
public int left;
+ /** @field accessor=rc.top */
public int top;
+ /** @field accessor=rc.right */
public int right;
+ /** @field accessor=rc.bottom */
public int bottom;
public int /*long*/ dwItemSpec;
public int uItemState;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java
index b1c3d561fd..1f4d2f23d0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java
@@ -11,6 +11,7 @@
package org.eclipse.swt.internal.win32;
public class NMHDR {
+ /** @field cast=(HWND) */
public int /*long*/ hwndFrom;
public int /*long*/ idFrom;
public int code;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java
index d6c1924b89..d003b49366 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public class NMHEADER extends NMHDR {
public int iItem;
public int iButton;
+ /** @field cast=(HDITEM FAR *) */
public int /*long*/ pitem;
public static int sizeof = OS.NMHEADER_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLINK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLINK.java
index 939f6c0116..fd3325b264 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLINK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLINK.java
@@ -12,11 +12,17 @@ package org.eclipse.swt.internal.win32;
public class NMLINK extends NMHDR {
// LITEM item;
+ /** @field accessor=item.mask */
public int mask;
+ /** @field accessor=item.iLink */
public int iLink;
+ /** @field accessor=item.state */
public int state;
+ /** @field accessor=item.stateMask */
public int stateMask;
+ /** @field accessor=item.szID */
public char[] szID = new char[OS.MAX_LINKID_TEXT];
+ /** @field accessor=item.szUrl */
public char[] szUrl = new char[OS.L_MAX_URL_LENGTH];
public static final int sizeof = OS.NMLINK_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java
index 5f525829ec..9cfcb785cd 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java
@@ -17,7 +17,9 @@ public class NMLISTVIEW extends NMHDR {
public int uOldState;
public int uChanged;
// POINT ptAction;
+ /** @field accessor=ptAction.x */
public int x;
+ /** @field accessor=ptAction.y */
public int y;
public int /*long*/ lParam;
public static int sizeof = OS.NMLISTVIEW_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVCUSTOMDRAW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVCUSTOMDRAW.java
index e92f67f91f..c56163adbb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVCUSTOMDRAW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVCUSTOMDRAW.java
@@ -14,17 +14,28 @@ public class NMLVCUSTOMDRAW extends NMCUSTOMDRAW {
public int clrText;
public int clrTextBk;
public int iSubItem;
+ /** @field flags=no_wince */
public int dwItemType;
+ /** @field flags=no_wince */
public int clrFace;
+ /** @field flags=no_wince */
public int iIconEffect;
+ /** @field flags=no_wince */
public int iIconPhase;
+ /** @field flags=no_wince */
public int iPartId;
+ /** @field flags=no_wince */
public int iStateId;
// RECT rcText;
+ /** @field accessor=rcText.left,flags=no_wince */
public int rcText_left;
+ /** @field accessor=rcText.top,flags=no_wince */
public int rcText_top;
+ /** @field accessor=rcText.right,flags=no_wince */
public int rcText_right;
+ /** @field accessor=rcText.bottom,flags=no_wince */
public int rcText_bottom;
+ /** @field flags=no_wince */
public int uAlign;
public static final int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1) ? OS.NMLVCUSTOMDRAW_sizeof () : 60;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVDISPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVDISPINFO.java
index ece7636054..ba9d913f97 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVDISPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVDISPINFO.java
@@ -12,18 +12,31 @@ package org.eclipse.swt.internal.win32;
public class NMLVDISPINFO extends NMHDR {
// LVITEM item;
+ /** @field accessor=item.mask */
public int mask;
+ /** @field accessor=item.iItem */
public int iItem;
+ /** @field accessor=item.iSubItem */
public int iSubItem;
+ /** @field accessor=item.state */
public int state;
+ /** @field accessor=item.stateMask */
public int stateMask;
+ /** @field accessor=item.pszText,cast=(LPTSTR) */
public int /*long*/ pszText;
+ /** @field accessor=item.cchTextMax */
public int cchTextMax;
+ /** @field accessor=item.iImage */
public int iImage;
+ /** @field accessor=item.lParam */
public int /*long*/ lParam;
+ /** @field accessor=item.iIndent */
public int iIndent;
+ /** @field accessor=item.iGroupId,flags=no_wince */
public int iGroupId;
+ /** @field accessor=item.cColumns,flags=no_wince */
public int cColumns;
+ /** @field accessor=item.puColumns,cast=(PUINT),flags=no_wince */
public int /*long*/ puColumns;
public static final int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1) ? OS.NMLVDISPINFO_sizeof () : 52;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVFINDITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVFINDITEM.java
index aed68e4fed..cfe42bbca5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVFINDITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLVFINDITEM.java
@@ -13,12 +13,18 @@ package org.eclipse.swt.internal.win32;
public class NMLVFINDITEM extends NMHDR {
public int iStart;
// LVFINDINFO lvfi;
+ /** @field accessor=lvfi.flags */
public int flags;
+ /** @field accessor=lvfi.psz,cast=(LPCTSTR) */
public int /*long*/ psz;
+ /** @field accessor=lvfi.lParam */
public int /*long*/ lParam;
// POINT pt;
+ /** @field accessor=lvfi.pt.x */
public int x;
+ /** @field accessor=lvfi.pt.y */
public int y;
+ /** @field accessor=lvfi.vkDirection */
public int vkDirection;
public static final int sizeof = OS.NMLVFINDITEM_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHEVRON.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHEVRON.java
index 1468ca0103..853cab4988 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHEVRON.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHEVRON.java
@@ -15,9 +15,13 @@ public class NMREBARCHEVRON extends NMHDR {
public int wID;
public int /*long*/ lParam;
// RECT rc;
+ /** @field accessor=rc.left */
public int left;
+ /** @field accessor=rc.top */
public int top;
+ /** @field accessor=rc.right */
public int right;
+ /** @field accessor=rc.bottom */
public int bottom;
public int /*long*/ lParamNM;
public static int sizeof = OS.NMREBARCHEVRON_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHILDSIZE.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHILDSIZE.java
index d353d7599d..88cd405902 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHILDSIZE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMREBARCHILDSIZE.java
@@ -14,14 +14,22 @@ public class NMREBARCHILDSIZE extends NMHDR {
public int uBand;
public int wID;
// RECT rcChild;
+ /** @field accessor=rcChild.left */
public int rcChild_left;
+ /** @field accessor=rcChild.top */
public int rcChild_top;
+ /** @field accessor=rcChild.right */
public int rcChild_right;
+ /** @field accessor=rcChild.bottom */
public int rcChild_bottom;
// RECT rcBand;
+ /** @field accessor=rcBand.left */
public int rcBand_left;
+ /** @field accessor=rcBand.top */
public int rcBand_top;
+ /** @field accessor=rcBand.right */
public int rcBand_right;
+ /** @field accessor=rcBand.bottom */
public int rcBand_bottom;
public static final int sizeof = OS.NMREBARCHILDSIZE_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
index 1e6b2306b3..1d677fb566 100644
--- 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
@@ -12,7 +12,9 @@ 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/NMTOOLBAR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java
index 6cd282a96b..797a4d43ce 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java
@@ -13,18 +13,29 @@ package org.eclipse.swt.internal.win32;
public class NMTOOLBAR extends NMHDR {
public int iItem;
// TBBUTTON tbButton;
+ /** @field accessor=tbButton.iBitmap */
public int iBitmap;
+ /** @field accessor=tbButton.idCommand */
public int idCommand;
+ /** @field accessor=tbButton.fsState */
public byte fsState;
+ /** @field accessor=tbButton.fsStyle */
public byte fsStyle;
+ /** @field accessor=tbButton.dwData */
public int /*long*/ dwData;
+ /** @field accessor=tbButton.iString */
public int /*long*/ iString;
public int cchText;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
// RECT rcButton;
+ /** @field accessor=rcButton.left,flags=no_wince */
public int left;
+ /** @field accessor=rcButton.top,flags=no_wince */
public int top;
+ /** @field accessor=rcButton.right,flags=no_wince */
public int right;
+ /** @field accessor=rcButton.bottom,flags=no_wince */
public int bottom;
/* Note in WinCE. The field rcButton is not defined. */
public static final int sizeof = OS.NMTOOLBAR_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java
index f43ed7d9b5..d960e8d7b0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.win32;
public abstract class NMTTDISPINFO extends NMHDR {
+ /** @field cast=(void *) */
public int /*long*/ lpszText;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hinst;
public int uFlags;
public int /*long*/ lParam;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVCUSTOMDRAW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVCUSTOMDRAW.java
index 652c9f38b7..5414e41647 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVCUSTOMDRAW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVCUSTOMDRAW.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public class NMTVCUSTOMDRAW extends NMCUSTOMDRAW {
public int clrText;
public int clrTextBk;
+ /** @field flags=no_wince */
public int iLevel; // the iLevel field does not appear on WinCE
public static final int sizeof = OS.NMTVCUSTOMDRAW_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
index 9c803daadb..a7c8b284ff 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
@@ -12,15 +12,25 @@ package org.eclipse.swt.internal.win32;
public class NMTVDISPINFO extends NMHDR {
// TVITEM item;
+ /** @field accessor=item.mask */
public int mask;
+ /** @field accessor=item.hItem,cast=(HTREEITEM) */
public int /*long*/ hItem;
+ /** @field accessor=item.state */
public int state;
+ /** @field accessor=item.stateMask */
public int stateMask;
+ /** @field accessor=item.pszText,cast=(LPTSTR) */
public int /*long*/ pszText;
- public int cchTextMax;
- public int iImage;
- public int iSelectedImage;
+ /** @field accessor=item.cchTextMax */
+ public int cchTextMax;
+ /** @field accessor=item.iImage */
+ public int iImage;
+ /** @field accessor=item.iSelectedImage */
+ public int iSelectedImage;
+ /** @field accessor=item.cChildren */
public int cChildren;
+ /** @field accessor=item.lParam */
public int /*long*/ lParam;
public static final int sizeof = OS.NMTVDISPINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVITEMCHANGE.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVITEMCHANGE.java
index 8d3b6f3d3d..f05cb7d22e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVITEMCHANGE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVITEMCHANGE.java
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.win32;
public class NMTVITEMCHANGE extends NMHDR {
public int uChanged;
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hItem;
public int uStateNew;
public int uStateOld;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATA.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATA.java
index 5415b237ec..daa1872eab 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATA.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATA.java
@@ -12,14 +12,20 @@ package org.eclipse.swt.internal.win32;
public abstract class NOTIFYICONDATA {
public int cbSize;
+ /** @field cast=(HWND) */
public int /*long*/ hWnd;
public int uID;
public int uFlags;
public int uCallbackMessage;
+ /** @field cast=(HICON) */
public int /*long*/ hIcon;
+ /** @field flags=no_wince */
public int dwState;
+ /** @field flags=no_wince */
public int dwStateMask;
+ /** @field flags=no_wince */
public int uVersion;
+ /** @field flags=no_wince */
public int dwInfoFlags;
public static final int sizeof = OS.NOTIFYICONDATA_V2_SIZE;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAA.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAA.java
index 84fe0d7cf9..8f928f4dc2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAA.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAA.java
@@ -11,8 +11,11 @@
package org.eclipse.swt.internal.win32;
public class NOTIFYICONDATAA extends NOTIFYICONDATA {
+ /** @field cast=(TCHAR) */
public byte szTip[] = new byte [128];
+ /** @field cast=(TCHAR),flags=no_wince */
public byte szInfo[] = new byte [256];
+ /** @field cast=(TCHAR),flags=no_wince */
public byte szInfoTitle[] = new byte [64];
public static final int sizeof = OS.NOTIFYICONDATAA_V2_SIZE;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAW.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAW.java
index 71c9f6b1a1..7359f313d5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAW.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NOTIFYICONDATAW.java
@@ -11,8 +11,11 @@
package org.eclipse.swt.internal.win32;
public class NOTIFYICONDATAW extends NOTIFYICONDATA {
+ /** @field cast=(TCHAR) */
public char szTip[] = new char [128];
+ /** @field cast=(TCHAR),flags=no_wince */
public char szInfo[] = new char [256];
+ /** @field cast=(TCHAR),flags=no_wince */
public char szInfoTitle[] = new char [64];
public static final int sizeof = OS.NOTIFYICONDATAW_V2_SIZE;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OFNOTIFY.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OFNOTIFY.java
index 0ddcd77858..52f0888076 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OFNOTIFY.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OFNOTIFY.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.win32;
public class OFNOTIFY extends NMHDR {
+ /** @field cast=(LPOPENFILENAME) */
public int /*long*/ lpOFN;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszFile;
public static int sizeof = OS.OFNOTIFY_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java
index b17f3377a3..b3a619b758 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java
@@ -12,27 +12,41 @@ package org.eclipse.swt.internal.win32;
public class OPENFILENAME {
public int lStructSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndOwner;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstance;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpstrFilter;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpstrCustomFilter;
public int nMaxCustFilter;
public int nFilterIndex;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpstrFile;
public int nMaxFile;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpstrFileTitle;
public int nMaxFileTitle;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpstrInitialDir;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpstrTitle;
public int Flags;
public short nFileOffset;
public short nFileExtension;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpstrDefExt;
public int /*long*/ lCustData;
+ /** @field cast=(LPOFNHOOKPROC) */
public int /*long*/ lpfnHook;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpTemplateName;
+ /** @field cast=(void *),flags=no_wince */
public int /*long*/ pvReserved;
+ /** @field flags=no_wince */
public int dwReserved;
+ /** @field flags=no_wince */
public int FlagsEx;
public static final int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 0) ? OS.OPENFILENAME_sizeof () : 76;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
index 5b084eb41f..30d46ec3bc 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
@@ -2203,7 +2203,9 @@ public static final native int NMTVITEMCHANGE_sizeof ();
public static final native int NMUPDOWN_sizeof ();
public static final native int NONCLIENTMETRICSA_sizeof ();
public static final native int NONCLIENTMETRICSW_sizeof ();
+/** @method flags=const */
public static final native int NOTIFYICONDATAA_V2_SIZE ();
+/** @method flags=const */
public static final native int NOTIFYICONDATAW_V2_SIZE ();
public static final native int OFNOTIFY_sizeof ();
public static final native int OPENFILENAME_sizeof ();
@@ -3267,171 +3269,626 @@ public static final short VkKeyScan (short ch) {
}
/** Natives */
+
+/** @param hdc cast=(HDC) */
public static final native int AbortDoc (int /*long*/ hdc);
+/**
+ * @method flags=dynamic
+ * @param lpCookie cast=(ULONG_PTR*)
+ */
public static final native boolean ActivateActCtx (int /*long*/ hActCtx, int /*long*/ [] lpCookie);
+/** @param hkl cast=(HKL) */
public static final native int /*long*/ ActivateKeyboardLayout(int /*long*/ hkl, int Flags);
+/** @method flags=dynamic */
public static final native int AddFontResourceExW(char[] lpszFilename, int fl, int /*long*/ pdv);
+/** @method flags=dynamic */
public static final native int AddFontResourceExA(byte[] lpszFilename, int fl, int /*long*/ pdv);
public static final native boolean AdjustWindowRectEx (RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle);
+/** @method flags=dynamic */
public static final native boolean AllowSetForegroundWindow (int dwProcessId);
+/**
+ * @method flags=dynamic
+ * @param blendFunction flags=struct
+ */
public static final native boolean AlphaBlend(int /*long*/ hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, int /*long*/ hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, BLENDFUNCTION blendFunction);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ */
public static final native boolean AnimateWindow(int /*long*/ hwnd, int dwTime, int dwFlags);
+/** @param hdc cast=(HDC) */
public static final native boolean Arc (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nXStartArc, int nYStartArc, int nXEndArc, int nYEndArc);
+/** @method flags=dynamic */
public static final native int AssocQueryStringA(int flags, int str, byte[] pszAssoc, byte[] pszExtra, byte[] pszOut, int[] pcchOut);
+/** @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*)
+ */
public static final native int /*long*/ BeginBufferedPaint (int /*long*/ hdcTarget, RECT prcTarget, int dwFormat, BP_PAINTPARAMS pPaintParams, int /*long*/ [] phdc);
public static final native int /*long*/ BeginDeferWindowPos (int nNumWindows);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ BeginPaint (int /*long*/ hWnd, PAINTSTRUCT lpPaint);
+/** @param hdc cast=(HDC) */
public static final native boolean BeginPath(int /*long*/ hdc);
+/**
+ * @param hdcDest cast=(HDC)
+ * @param hdcSrc cast=(HDC)
+ */
public static final native boolean BitBlt (int /*long*/ hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, int /*long*/ hdcSrc, int nXSrc, int nYSrc, int dwRop);
+/** @param hWnd cast=(HWND) */
public static final native boolean BringWindowToTop (int /*long*/ hWnd);
+/** @method flags=dynamic */
public static final native int BufferedPaintInit ();
+/**
+ * @method flags=dynamic
+ * @param hBufferedPaint cast=(HPAINTBUFFER)
+ */
public static final native int BufferedPaintSetAlpha (int /*long*/ hBufferedPaint, RECT prc, byte alpha);
+/** @method flags=dynamic */
public static final native int BufferedPaintUnInit ();
+/** @param address cast=(DLLGETVERSIONPROC) */
public static final native int Call (int /*long*/ address, DLLVERSIONINFO arg0);
+/**
+ * @param hhk cast=(HHOOK)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ CallNextHookEx(int /*long*/ hhk, int nCode, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param lpPrevWndFunc cast=(WNDPROC)
+ * @param hWnd cast=(HWND)
+ */
public static final native int /*long*/ CallWindowProcW (int /*long*/ lpPrevWndFunc, int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param lpPrevWndFunc cast=(WNDPROC)
+ * @param hWnd cast=(HWND)
+ */
public static final native int /*long*/ CallWindowProcA (int /*long*/ lpPrevWndFunc, int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/** @param ch cast=(LPWSTR) */
public static final native int /*long*/ CharLowerW (int /*long*/ ch);
+/** @param ch cast=(LPSTR) */
public static final native int /*long*/ CharLowerA (int /*long*/ ch);
+/** @param ch cast=(LPWSTR) */
public static final native int /*long*/ CharUpperW (int /*long*/ ch);
+/** @param ch cast=(LPSTR) */
public static final native int /*long*/ CharUpperA (int /*long*/ ch);
+/**
+ * @param hmenu cast=(HMENU)
+ * @param uIDCheckItem cast=(UINT)
+ * @param uCheck cast=(UINT)
+ */
public static final native boolean CheckMenuItem (int /*long*/ 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);
+/** @param chooseFont cast=(LPCHOOSEFONTW) */
public static final native boolean ChooseFontW (CHOOSEFONT chooseFont);
public static final native boolean ChooseFontA (CHOOSEFONT chooseFont);
+/** @param hWnd cast=(HWND) */
public static final native boolean ClientToScreen (int /*long*/ hWnd, POINT lpPoint);
public static final native boolean CloseClipboard ();
+/** @param hdc cast=(HDC) */
public static final native int /*long*/ CloseEnhMetaFile (int /*long*/ hdc);
+/** @param hObject cast=(HANDLE) */
public static final native boolean CloseHandle (int /*long*/ hObject);
+/**
+ * @method flags=dynamic
+ * @param hTheme cast=(HTHEME)
+ */
public static final native int CloseThemeData (int /*long*/ hTheme);
+/**
+ * @param rclsid cast=(REFCLSID)
+ * @param pUnkOuter cast=(LPUNKNOWN)
+ * @param riid cast=(REFIID)
+ * @param ppv cast=(LPVOID *)
+ */
public static final native int CoCreateInstance (byte[] rclsid, int /*long*/ pUnkOuter, int dwClsContext, byte[] riid, int /*long*/[] ppv);
+/** @method flags=dynamic */
public static final native int CoInternetIsFeatureEnabled (int FeatureEntry, int dwFlags);
+/**
+ * @method flags=dynamic
+ * @param fEnable cast=(BOOL)
+ */
public static final native int CoInternetSetFeatureEnabled (int FeatureEntry, int dwFlags, boolean fEnable);
+/**
+ * @param hrgnDest cast=(HRGN)
+ * @param hrgnSrc1 cast=(HRGN)
+ * @param hrgnSrc2 cast=(HRGN)
+ */
public static final native int CombineRgn (int /*long*/ hrgnDest, int /*long*/ hrgnSrc1, int /*long*/ hrgnSrc2, int fnCombineMode);
+/** @param hwndCB cast=(HWND) */
public static final native boolean CommandBar_AddAdornments (int /*long*/ hwndCB, int dwFlags, int dwReserved);
+/**
+ * @param hInst cast=(HINSTANCE)
+ * @param hwndParent cast=(HWND)
+ */
public static final native int /*long*/ CommandBar_Create (int /*long*/ hInst, int /*long*/ hwndParent, int idCmdBar);
+/** @param hwndCB cast=(HWND) */
public static final native void CommandBar_Destroy (int /*long*/ hwndCB);
+/**
+ * @param hwndCB cast=(HWND)
+ * @param iButton cast=(WORD)
+ */
public static final native boolean CommandBar_DrawMenuBar (int /*long*/ hwndCB, int iButton);
+/** @param hdnwCB cast=(HWND) */
public static final native int CommandBar_Height (int /*long*/ hdnwCB);
+/**
+ * @param hwndCB cast=(HWND)
+ * @param hInst cast=(HINSTANCE)
+ * @param pszMenu cast=(LPTSTR)
+ * @param iButton cast=(WORD)
+ */
public static final native boolean CommandBar_InsertMenubarEx (int /*long*/ hwndCB, int /*long*/ hInst, int /*long*/ pszMenu, int iButton);
+/**
+ * @param hwndCB cast=(HWND)
+ * @param fShow cast=(BOOL)
+ */
public static final native boolean CommandBar_Show (int /*long*/ hwndCB, boolean fShow);
public static final native int CommDlgExtendedError ();
+/** @param hImage cast=(HANDLE) */
public static final native int /*long*/ CopyImage (int /*long*/ hImage, int uType, int cxDesired, int cyDesired, int fuFlags);
+/** @param lpaccl cast=(LPACCEL) */
public static final native int /*long*/ CreateAcceleratorTableW (byte [] lpaccl, int cEntries);
+/** @param lpaccl cast=(LPACCEL) */
public static final native int /*long*/ CreateAcceleratorTableA (byte [] lpaccl, int cEntries);
+/**
+ * @method flags=dynamic
+ * @param pActCtx flags=no_out
+ */
public static final native int /*long*/ CreateActCtxW (ACTCTX pActCtx);
+/**
+ * @method flags=dynamic
+ * @param pActCtx flags=no_out
+ */
public static final native int /*long*/ CreateActCtxA (ACTCTX pActCtx);
+/** @param lpvBits cast=(CONST VOID *),flags=no_out critical */
public static final native int /*long*/ CreateBitmap (int nWidth, int nHeight, int cPlanes, int cBitsPerPel, byte [] lpvBits);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hBitmap cast=(HBITMAP)
+ */
public static final native boolean CreateCaret (int /*long*/ hWnd, int /*long*/ hBitmap, int nWidth, int nHeight);
+/** @param hdc cast=(HDC) */
public static final native int /*long*/ CreateCompatibleBitmap (int /*long*/ hdc, int nWidth, int nHeight);
+/** @param hdc cast=(HDC) */
public static final native int /*long*/ CreateCompatibleDC (int /*long*/ hdc);
+/**
+ * @param hInst cast=(HINSTANCE)
+ * @param pvANDPlane cast=(CONST VOID *),flags=no_out critical
+ * @param pvXORPlane cast=(CONST VOID *),flags=no_out critical
+ */
public static final native int /*long*/ CreateCursor (int /*long*/ hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte [] pvANDPlane, byte [] pvXORPlane);
+/**
+ * @param lpszDriver cast=(LPWSTR)
+ * @param lpszDevice cast=(LPWSTR)
+ * @param lpszOutput cast=(LPWSTR)
+ * @param lpInitData cast=(CONST DEVMODEW *)
+ */
public static final native int /*long*/ CreateDCW (char [] lpszDriver, char [] lpszDevice, int /*long*/ lpszOutput, int /*long*/ lpInitData);
+/**
+ * @param lpszDriver cast=(LPSTR)
+ * @param lpszDevice cast=(LPSTR)
+ * @param lpszOutput cast=(LPSTR)
+ * @param lpInitData cast=(CONST DEVMODE *)
+ */
public static final native int /*long*/ CreateDCA (byte [] lpszDriver, byte [] lpszDevice, int /*long*/ lpszOutput, int /*long*/ lpInitData);
+/**
+ * @param hdc cast=(HDC)
+ * @param pbmi cast=(BITMAPINFO *),flags=no_out critical
+ * @param ppvBits cast=(VOID **),flags=no_in critical
+ * @param hSection cast=(HANDLE)
+ */
public static final native int /*long*/ CreateDIBSection(int /*long*/ hdc, byte[] pbmi, int iUsage, int /*long*/[] ppvBits, int /*long*/ hSection, int dwOffset);
+/**
+ * @param hdc cast=(HDC)
+ * @param pbmi cast=(BITMAPINFO *),flags=no_out critical
+ * @param ppvBits cast=(VOID **),flags=no_in critical
+ * @param hSection cast=(HANDLE)
+ */
public static final native int /*long*/ CreateDIBSection(int /*long*/ hdc, int /*long*/ pbmi, int iUsage, int /*long*/[] ppvBits, int /*long*/ hSection, int dwOffset);
+/**
+ * @param hdcRef cast=(HDC)
+ * @param lpFilename cast=(LPCWSTR)
+ * @param lpDescription cast=(LPCWSTR)
+ */
public static final native int /*long*/ CreateEnhMetaFileW(int /*long*/ hdcRef, char[] lpFilename, RECT lpRect, char[] lpDescription);
+/**
+ * @param hdcRef cast=(HDC)
+ * @param lpFilename cast=(LPCSTR)
+ * @param lpDescription cast=(LPCSTR)
+ */
public static final native int /*long*/ CreateEnhMetaFileA(int /*long*/ hdcRef, byte[] lpFilename, RECT lpRect, byte[] lpDescription);
+/** @param lplf cast=(LPLOGFONTW) */
public static final native int /*long*/ CreateFontIndirectW (int /*long*/ lplf);
+/** @param lplf cast=(LPLOGFONTA) */
public static final native int /*long*/ CreateFontIndirectA (int /*long*/ lplf);
+/** @param lplf flags=no_out */
public static final native int /*long*/ CreateFontIndirectW (LOGFONTW lplf);
+/** @param lplf flags=no_out */
public static final native int /*long*/ CreateFontIndirectA (LOGFONTA lplf);
+/** @param lplf flags=no_out */
public static final native int /*long*/ CreateIconIndirect (ICONINFO lplf);
public static final native int /*long*/ CreateMenu ();
+/** @param logPalette cast=(LOGPALETTE *),flags=no_out critical */
public static final native int /*long*/ CreatePalette (byte[] logPalette);
+/** @param hbmp cast=(HBITMAP) */
public static final native int /*long*/ CreatePatternBrush (int /*long*/ hbmp);
+/** @param crColor cast=(COLORREF) */
public static final native int /*long*/ CreatePen (int fnPenStyle, int nWidth, int crColor);
+/** @param lppt cast=(CONST POINT *) */
public static final native int /*long*/ CreatePolygonRgn(int[] lppt, int cPoints, int fnPolyFillMode);
public static final native int /*long*/ CreatePopupMenu ();
+/**
+ * @param lpApplicationName cast=(LPCWSTR)
+ * @param lpCommandLine cast=(LPWSTR)
+ * @param lpProcessAttributes cast=(LPSECURITY_ATTRIBUTES)
+ * @param lpThreadAttributes cast=(LPSECURITY_ATTRIBUTES)
+ * @param lpEnvironment cast=(LPVOID)
+ * @param lpCurrentDirectory cast=(LPWSTR)
+ * @param lpStartupInfo cast=(LPSTARTUPINFOW)
+ * @param lpProcessInformation cast=(LPPROCESS_INFORMATION)
+ */
public static final native boolean CreateProcessW (int /*long*/ lpApplicationName, int /*long*/ lpCommandLine, int /*long*/ lpProcessAttributes, int /*long*/ lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int /*long*/ lpEnvironment, int /*long*/ lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation);
+/**
+ * @param lpApplicationName cast=(LPCSTR)
+ * @param lpCommandLine cast=(LPSTR)
+ * @param lpProcessAttributes cast=(LPSECURITY_ATTRIBUTES)
+ * @param lpThreadAttributes cast=(LPSECURITY_ATTRIBUTES)
+ * @param lpEnvironment cast=(LPVOID)
+ * @param lpCurrentDirectory cast=(LPSTR)
+ * @param lpStartupInfo cast=(LPSTARTUPINFOA)
+ * @param lpProcessInformation cast=(LPPROCESS_INFORMATION)
+ */
public static final native boolean CreateProcessA (int /*long*/ lpApplicationName, int /*long*/ lpCommandLine, int /*long*/ lpProcessAttributes, int /*long*/ lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int /*long*/ lpEnvironment, int /*long*/ lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation);
public static final native int /*long*/ CreateRectRgn (int left, int top, int right, int bottom);
+/** @param colorRef cast=(COLORREF) */
public static final native int /*long*/ CreateSolidBrush (int colorRef);
+/**
+ * @param hGlobal cast=(HGLOBAL)
+ * @param fDeleteOnRelease cast=(BOOL)
+ * @param ppstm cast=(LPSTREAM *)
+ */
public static final native int CreateStreamOnHGlobal(int /*long*/ hGlobal, boolean fDeleteOnRelease, int /*long*/[] ppstm);
+/**
+ * @param lpClassName cast=(LPWSTR)
+ * @param lpWindowName cast=(LPWSTR)
+ * @param hWndParent cast=(HWND)
+ * @param hMenu cast=(HMENU)
+ * @param hInstance cast=(HINSTANCE)
+ */
public static final native int /*long*/ CreateWindowExW (int dwExStyle, char [] lpClassName, char [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int /*long*/ hWndParent, int /*long*/ hMenu, int /*long*/ hInstance, CREATESTRUCT lpParam);
+/**
+ * @param lpClassName cast=(LPSTR)
+ * @param hWndParent cast=(HWND)
+ * @param hMenu cast=(HMENU)
+ * @param hInstance cast=(HINSTANCE)
+ */
public static final native int /*long*/ CreateWindowExA (int dwExStyle, byte [] lpClassName, byte [] lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int /*long*/ hWndParent, int /*long*/ hMenu, int /*long*/ hInstance, CREATESTRUCT lpParam);
+/**
+ * @param hWinPosInfo cast=(HDWP)
+ * @param hWnd cast=(HWND)
+ * @param hWndInsertAfter cast=(HWND)
+ */
public static final native int /*long*/ DeferWindowPos (int /*long*/ hWinPosInfo, int /*long*/ hWnd, int /*long*/ hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefMDIChildProcW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefMDIChildProcA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hWndMDIClient cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefFrameProcW (int /*long*/ hWnd, int /*long*/ hWndMDIClient, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hWndMDIClient cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefFrameProcA (int /*long*/ hWnd, int /*long*/ hWndMDIClient, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefWindowProcW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ DefWindowProcA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/** @param hdc cast=(HDC) */
public static final native boolean DeleteDC (int /*long*/ hdc);
+/** @param hemf cast=(HENHMETAFILE) */
public static final native boolean DeleteEnhMetaFile (int /*long*/ hemf);
+/** @param hMenu cast=(HMENU) */
public static final native boolean DeleteMenu (int /*long*/ hMenu, int uPosition, int uFlags);
+/** @param hGdiObj cast=(HGDIOBJ) */
public static final native boolean DeleteObject (int /*long*/ hGdiObj);
+/** @param hAccel cast=(HACCEL) */
public static final native boolean DestroyAcceleratorTable (int /*long*/ hAccel);
public static final native boolean DestroyCaret ();
+/** @param hCursor cast=(HCURSOR) */
public static final native boolean DestroyCursor (int /*long*/ hCursor);
+/** @param hIcon cast=(HICON) */
public static final native boolean DestroyIcon (int /*long*/ hIcon);
+/** @param hMenu cast=(HMENU) */
public static final native boolean DestroyMenu (int /*long*/ hMenu);
+/** @param hWnd cast=(HWND) */
public static final native boolean DestroyWindow (int /*long*/ hWnd);
public static final native int /*long*/ DispatchMessageW (MSG lpmsg);
public static final native int /*long*/ DispatchMessageA (MSG lpmsg);
+/** @param hdc cast=(HDC) */
public static final native boolean DPtoLP (int /*long*/ hdc, POINT lpPoints, int nCount);
+/**
+ * @param hwnd cast=(HWND)
+ * @param pt flags=struct
+ */
public static final native boolean DragDetect (int /*long*/ hwnd, POINT pt);
+/** @param hDrop cast=(HDROP) */
public static final native void DragFinish (int /*long*/ hDrop);
+/**
+ * @param hDrop cast=(HDROP)
+ * @param lpszFile cast=(LPTSTR)
+ */
public static final native int DragQueryFileA (int /*long*/ hDrop, int iFile, byte[] lpszFile, int cch);
+/**
+ * @param hDrop cast=(HDROP)
+ * @param lpszFile cast=(LPWSTR)
+ */
public static final native int DragQueryFileW (int /*long*/ hDrop, int iFile, char[] lpszFile, int cch);
+/** @param hwnd cast=(HWND) */
public static final native boolean DrawAnimatedRects (int /*long*/ hwnd, int idAni, RECT lprcFrom, RECT lprcTo);
+/** @param hdc cast=(HDC) */
public static final native boolean DrawEdge (int /*long*/ hdc, RECT qrc, int edge, int grfFlags);
+/** @param hDC cast=(HDC) */
public static final native boolean DrawFocusRect (int /*long*/ hDC, RECT lpRect);
+/** @param hdc cast=(HDC) */
public static final native boolean DrawFrameControl (int /*long*/ hdc, RECT lprc, int uType, int uState);
+/**
+ * @param hdc cast=(HDC)
+ * @param hIcon cast=(HICON)
+ * @param hbrFlickerFreeDraw cast=(HBRUSH)
+ */
public static final native boolean DrawIconEx (int /*long*/ hdc, int xLeft, int yTop, int /*long*/ hIcon, int cxWidth, int cyWidth, int istepIfAniCur, int /*long*/ hbrFlickerFreeDraw, int diFlags);
+/** @param hWnd cast=(HWND) */
public static final native boolean DrawMenuBar (int /*long*/ 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 (int /*long*/ hdc, int /*long*/ hbr, int /*long*/ lpOutputFunc, int /*long*/ lData, int /*long*/ 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 (int /*long*/ hdc, int /*long*/ hbr, int /*long*/ lpOutputFunc, int /*long*/ lData, int /*long*/ wData, int x, int y, int cx, int cy, int fuFlags);
+/**
+ * @param hDC cast=(HDC)
+ * @param lpString cast=(LPWSTR),flags=no_out critical
+ */
public static final native int DrawTextW (int /*long*/ hDC, char [] lpString, int nCount, RECT lpRect, int uFormat);
+/**
+ * @param hDC cast=(HDC)
+ * @param lpString cast=(LPSTR),flags=no_out critical
+ */
public static final native int DrawTextA (int /*long*/ hDC, byte [] lpString, int nCount, RECT lpRect, int uFormat);
+/**
+ * @method flags=dynamic
+ * @param hTheme cast=(HTHEME)
+ * @param hdc cast=(HDC)
+ * @param pRect cast=(const RECT *)
+ * @param pClipRect cast=(const RECT *)
+ */
public static final native int DrawThemeBackground (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT pRect, RECT pClipRect);
+/** @method flags=dynamic */
public static final native int DrawThemeEdge (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT pDestRect, int uEdge, int uFlags, RECT pContentRect);
+/** @method flags=dynamic */
public static final native int DrawThemeIcon (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT pRect, int /*long*/ himl, int iImageIndex);
+/** @method flags=dynamic */
public static final native int DrawThemeParentBackground (int /*long*/ hwnd, int /*long*/ hdc, RECT prc);
+/** @method flags=dynamic */
public static final native int DrawThemeText (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, char[] pszText, int iCharCount, int dwTextFlags, int dwTextFlags2, RECT pRect);
+/**
+ * @method flags=dynamic
+ * @param hWnd cast=(HWND)
+ */
public static final native int DwmEnableBlurBehindWindow (int /*long*/ hWnd, DWM_BLURBEHIND pBlurBehind);
+/**
+ * @method flags=dynamic
+ * @param hWnd cast=(HWND)
+ */
public static final native int DwmExtendFrameIntoClientArea (int /*long*/ hWnd, MARGINS pMarInset);
+/** @param hdc cast=(HDC) */
public static final native boolean Ellipse (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
+/** @param hMenu cast=(HMENU) */
public static final native boolean EnableMenuItem (int /*long*/ hMenu, int uIDEnableItem, int uEnable);
+/** @param hWnd cast=(HWND) */
public static final native boolean EnableScrollBar (int /*long*/ hWnd, int wSBflags, int wArrows);
+/** @param hWnd cast=(HWND) */
public static final native boolean EnableWindow (int /*long*/ hWnd, boolean bEnable);
+/**
+ * @method flags=dynamic
+ * @param pLangGroupEnumProc cast=(LANGUAGEGROUP_ENUMPROCW)
+ * @param lParam cast=(LONG_PTR)
+ */
public static final native boolean EnumSystemLanguageGroupsW(int /*long*/ pLangGroupEnumProc, int dwFlags, int /*long*/ lParam);
+/**
+ * @method flags=dynamic
+ * @param pLangGroupEnumProc cast=(LANGUAGEGROUP_ENUMPROCA)
+ * @param lParam cast=(LONG_PTR)
+ */
public static final native boolean EnumSystemLanguageGroupsA(int /*long*/ pLangGroupEnumProc, int dwFlags, int /*long*/ lParam);
+/** @param lpLocaleEnumProc cast=(LOCALE_ENUMPROCW) */
public static final native boolean EnumSystemLocalesW (int /*long*/ lpLocaleEnumProc, int dwFlags);
+/** @param lpLocaleEnumProc cast=(LOCALE_ENUMPROCA) */
public static final native boolean EnumSystemLocalesA (int /*long*/ lpLocaleEnumProc, int dwFlags);
+/** @param hWinPosInfo cast=(HDWP) */
public static final native boolean EndDeferWindowPos (int /*long*/ hWinPosInfo);
+/**
+ * @method flags=dynamic
+ * @param hBufferedPaint cast=(HPAINTBUFFER)
+ */
public static final native int EndBufferedPaint (int /*long*/ hBufferedPaint, boolean fUpdateTarget);
+/** @param hdc cast=(HDC) */
public static final native int EndDoc (int /*long*/ hdc);
+/** @param hdc cast=(HDC) */
public static final native int EndPage (int /*long*/ hdc);
+/** @param hWnd cast=(HWND) */
public static final native int EndPaint (int /*long*/ hWnd, PAINTSTRUCT lpPaint);
+/** @param hdc cast=(HDC) */
public static final native boolean EndPath(int /*long*/ hdc);
+/**
+ * @method flags=dynamic
+ * @param hdc cast=(HDC)
+ * @param lprcClip cast=(LPCRECT)
+ * @param lpfnEnum cast=(MONITORENUMPROC)
+ * @param dwData cast=(LPARAM)
+ */
public static final native boolean EnumDisplayMonitors (int /*long*/ hdc, RECT lprcClip, int /*long*/ lpfnEnum, int dwData);
+/**
+ * @param hdc cast=(HDC)
+ * @param hemf cast=(HENHMETAFILE)
+ * @param lpEnhMetaFunc cast=(ENHMFENUMPROC)
+ * @param lpData cast=(LPVOID)
+ */
public static final native boolean EnumEnhMetaFile(int /*long*/ hdc, int /*long*/ hemf, int /*long*/ lpEnhMetaFunc, int /*long*/ lpData, RECT lpRect);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpszFamily cast=(LPCWSTR)
+ * @param lpEnumFontFamProc cast=(FONTENUMPROCW)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int EnumFontFamiliesW (int /*long*/ hdc, char [] lpszFamily, int /*long*/ lpEnumFontFamProc, int /*long*/ lParam);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpszFamily cast=(LPSTR)
+ * @param lpEnumFontFamProc cast=(FONTENUMPROC)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int EnumFontFamiliesA (int /*long*/ hdc, byte [] lpszFamily, int /*long*/ lpEnumFontFamProc, int /*long*/ lParam);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpLogfont cast=(LPLOGFONTW)
+ * @param lpEnumFontFamExProc cast=(FONTENUMPROCW)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int EnumFontFamiliesExW (int /*long*/ hdc, LOGFONTW lpLogfont, int /*long*/ lpEnumFontFamExProc, int /*long*/ 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 (int /*long*/ hdc, LOGFONTA lpLogfont, int /*long*/ lpEnumFontFamExProc, int /*long*/ 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 (int /*long*/ hSrcRgn1, int /*long*/ hSrcRgn2);
+/** @param hdc cast=(HDC) */
public static final native int ExcludeClipRect (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
public static final native int ExpandEnvironmentStringsW (char [] lpSrc, char [] lsDst, int nSize);
public static final native int ExpandEnvironmentStringsA (byte [] lpSrc, byte [] lsDst, int nSize);
+/**
+ * @param lplb cast=(CONST LOGBRUSH *)
+ * @param lpStyle cast=(CONST DWORD *)
+ */
public static final native int /*long*/ ExtCreatePen (int dwPenStyle, int dwWidth, LOGBRUSH lplb, int dwStyleCount, int[] lpStyle);
+/**
+ * @param lpXform cast=(XFORM *)
+ * @param lpRgnData cast=(CONST RGNDATA *)
+ */
public static final native int /*long*/ ExtCreateRegion (float[] lpXform, int nCount, int[] lpRgnData);
+/**
+ * @param hdc cast=(HDC)
+ * @param lprc flags=no_out
+ * @param lpString cast=(LPWSTR),flags=no_out critical
+ * @param lpDx cast=(CONST INT *),flags=no_out critical
+ */
public static final native boolean ExtTextOutW (int /*long*/ hdc, int X, int Y, int fuOptions, RECT lprc, char[] lpString, int cbCount, int[] lpDx);
+/**
+ * @param hdc cast=(HDC)
+ * @param lprc flags=no_out
+ * @param lpString cast=(LPSTR),flags=no_out critical
+ * @param lpDx cast=(CONST INT *),flags=no_out critical
+ */
public static final native boolean ExtTextOutA (int /*long*/ hdc, int X, int Y, int fuOptions, RECT lprc, byte[] lpString, int cbCount, int[] lpDx);
+/**
+ * @param lpszFile cast=(LPWSTR)
+ * @param phiconLarge cast=(HICON FAR *)
+ * @param phiconSmall cast=(HICON FAR *)
+ */
public static final native int ExtractIconExW (char [] lpszFile, int nIconIndex, int /*long*/ [] phiconLarge, int /*long*/ [] phiconSmall, int nIcons);
+/**
+ * @param lpszFile cast=(LPSTR)
+ * @param phiconLarge cast=(HICON FAR *)
+ * @param phiconSmall cast=(HICON FAR *)
+ */
public static final native int ExtractIconExA (byte [] lpszFile, int nIconIndex, int /*long*/ [] phiconLarge, int /*long*/ [] phiconSmall, int nIcons);
+/**
+ * @param hDC cast=(HDC)
+ * @param lprc flags=no_out
+ * @param hbr cast=(HBRUSH)
+ */
public static final native int FillRect (int /*long*/ hDC, RECT lprc, int /*long*/ hbr);
+/** @param hdc cast=(HDC) */
public static final native boolean FillPath (int /*long*/ hdc);
+/**
+ * @param lpClassName cast=(LPSTR)
+ * @param lpWindowName cast=(LPSTR)
+ */
public static final native int /*long*/ FindWindowA (byte [] lpClassName, byte [] lpWindowName);
+/**
+ * @param lpClassName cast=(LPWSTR)
+ * @param lpWindowName cast=(LPWSTR)
+ */
public static final native int /*long*/ FindWindowW (char [] lpClassName, char [] lpWindowName);
+/**
+ * @param lpSource cast=(LPCVOID)
+ * @param lpBuffer cast=(LPSTR)
+ * @param Arguments cast=(va_list*)
+ */
public static final native int FormatMessageA (int dwFlags, int /*long*/ lpSource, int dwMessageId, int dwLanguageId, int /*long*/ [] lpBuffer, int nSize, int /*long*/ Arguments);
+/**
+ * @param lpSource cast=(LPCVOID)
+ * @param lpBuffer cast=(LPWSTR)
+ * @param Arguments cast=(va_list*)
+ */
public static final native int FormatMessageW (int dwFlags, int /*long*/ lpSource, int dwMessageId, int dwLanguageId, int /*long*/ [] lpBuffer, int nSize, int /*long*/ Arguments);
+/** @param hLibModule cast=(HMODULE) */
public static final native boolean FreeLibrary (int /*long*/ hLibModule);
+/** @param dwLimit cast=(DWORD) */
public static final native int GdiSetBatchLimit (int dwLimit);
public static final native int GET_WHEEL_DELTA_WPARAM(int /*long*/ wParam);
public static final native int GET_X_LPARAM(int /*long*/ lp);
@@ -3439,268 +3896,842 @@ public static final native int GET_Y_LPARAM(int /*long*/ lp);
public static final native int GetACP ();
public static final native short GetAsyncKeyState (int nVirtKey);
public static final native int /*long*/ GetActiveWindow ();
+/** @param hDC cast=(HDC) */
public static final native int GetBkColor (int /*long*/ hDC);
public static final native int /*long*/ GetCapture ();
public static final native boolean GetCaretPos (POINT lpPoint);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpabc cast=(LPABC),flags=no_in critical
+ */
public static final native boolean GetCharABCWidthsA (int /*long*/ hdc, int iFirstChar, int iLastChar, int [] lpabc);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpabc cast=(LPABC),flags=no_in critical
+ */
public static final native boolean GetCharABCWidthsW (int /*long*/ hdc, int iFirstChar, int iLastChar, int [] lpabc);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpString cast=(LPWSTR),flags=no_out critical
+ * @param lpResults cast=(LPGCP_RESULTSW)
+ */
public static final native int GetCharacterPlacementW (int /*long*/ hdc, char[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpString cast=(LPSTR),flags=no_out critical
+ */
public static final native int GetCharacterPlacementA (int /*long*/ hdc, byte[] lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpBuffer cast=(LPINT),flags=no_in critical
+ */
public static final native boolean GetCharWidthA (int /*long*/ hdc, int iFirstChar, int iLastChar, int [] lpBuffer);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpBuffer cast=(LPINT),flags=no_in critical
+ */
public static final native boolean GetCharWidthW (int /*long*/ hdc, int iFirstChar, int iLastChar, int [] lpBuffer);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpClassName cast=(LPWSTR)
+ * @param lpWndClass cast=(LPWNDCLASSW)
+ */
public static final native boolean GetClassInfoW (int /*long*/ hInstance, char [] lpClassName, WNDCLASS lpWndClass);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpClassName cast=(LPSTR)
+ */
public static final native boolean GetClassInfoA (int /*long*/ hInstance, byte [] lpClassName, WNDCLASS lpWndClass);
+/** @param hWnd cast=(HWND) */
public static final native int GetClassNameW (int /*long*/ hWnd, char [] lpClassName, int nMaxCount);
+/** @param hWnd cast=(HWND) */
public static final native int GetClassNameA (int /*long*/ hWnd, byte [] lpClassName, int nMaxCount);
+/** @param hWnd cast=(HWND) */
public static final native boolean GetClientRect (int /*long*/ hWnd, RECT lpRect);
public static final native int /*long*/ GetClipboardData (int uFormat);
public static final native int GetClipboardFormatNameA (int format, byte[] lpszFormatName, int cchMaxCount);
+/** @param lpszFormatName cast=(LPWSTR) */
public static final native int GetClipboardFormatNameW (int format, char[] lpszFormatName, int cchMaxCount);
+/** @param hdc cast=(HDC) */
public static final native int GetClipBox (int /*long*/ hdc, RECT lprc);
+/**
+ * @param hdc cast=(HDC)
+ * @param hrgn cast=(HRGN)
+ */
public static final native int GetClipRgn (int /*long*/ hdc, int /*long*/ hrgn);
+/**
+ * @method flags=dynamic
+ * @param hwndCombo cast=(HWND)
+ */
public static final native boolean GetComboBoxInfo (int /*long*/ hwndCombo, COMBOBOXINFO pcbi);
+/** @param hdc cast=(HDC) */
public static final native int /*long*/ GetCurrentObject (int /*long*/ hdc, int uObjectType);
public static final native int GetCurrentProcessId ();
public static final native int GetCurrentThreadId ();
public static final native int /*long*/ 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 int /*long*/ GetDC (int /*long*/ hwnd);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hrgnClip cast=(HRGN)
+ */
public static final native int /*long*/ GetDCEx (int /*long*/ hWnd, int /*long*/ hrgnClip, int flags);
public static final native int /*long*/ GetDesktopWindow ();
+/** @param hdc cast=(HDC) */
public static final native int GetDeviceCaps (int /*long*/ hdc, int nIndex);
public static final native int GetDialogBaseUnits ();
+/**
+ * @param hdc cast=(HDC)
+ * @param pColors cast=(RGBQUAD *),flags=no_in critical
+ */
public static final native int GetDIBColorTable (int /*long*/ hdc, int uStartIndex, int cEntries, byte[] pColors);
+/**
+ * @param hdc cast=(HDC)
+ * @param hbmp cast=(HBITMAP)
+ * @param lpvBits cast=(LPVOID)
+ * @param lpbi cast=(LPBITMAPINFO),flags=critical
+ */
public static final native int GetDIBits (int /*long*/ hdc, int /*long*/ hbmp, int uStartScan, int cScanLines, int /*long*/ lpvBits, byte[] lpbi, int uUsage);
+/** @param hDlg cast=(HWND) */
public static final native int /*long*/ GetDlgItem (int /*long*/ hDlg, int nIDDlgItem);
public static final native int GetDoubleClickTime ();
public static final native int /*long*/ GetFocus ();
+/** @param hdc cast=(HDC) */
public static final native int GetFontLanguageInfo (int /*long*/ hdc);
public static final native int /*long*/ GetForegroundWindow ();
+/**
+ * @param idThread cast=(DWORD)
+ * @param lpgui cast=(LPGUITHREADINFO)
+ */
public static final native boolean GetGUIThreadInfo (int idThread, GUITHREADINFO lpgui);
+/**
+ * @param hIcon cast=(HICON)
+ * @param piconinfo flags=no_in
+ */
public static final native boolean GetIconInfo (int /*long*/ hIcon, ICONINFO piconinfo);
+/** @param lpList cast=(HKL FAR *) */
public static final native int GetKeyboardLayoutList (int nBuff, int /*long*/ [] lpList);
public static final native int /*long*/ 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 int /*long*/ GetLastActivePopup (int /*long*/ hWnd);
public static final native int GetLastError ();
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ */
public static final native boolean GetLayeredWindowAttributes (int /*long*/ hwnd, int [] pcrKey, byte [] pbAlpha, int [] pdwFlags);
+/**
+ * @method flags=dynamic
+ * @param hdc cast=(HDC)
+ */
public static final native int GetLayout (int /*long*/ hdc);
/* returns the instance handle to the swt library */
+/** @method flags=no_gen */
public static final native int /*long*/ GetLibraryHandle ();
+/** @param lpLCData cast=(LPWSTR) */
public static final native int GetLocaleInfoW (int Locale, int LCType, char [] lpLCData, int cchData);
+/** @param lpLCData cast=(LPSTR) */
public static final native int GetLocaleInfoA (int Locale, int LCType, byte [] lpLCData, int cchData);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetMenu (int /*long*/ hWnd);
+/** @method flags=dynamic */
public static final native boolean GetMenuBarInfo (int /*long*/ hWnd, int idObject, int idItem, MENUBARINFO pmbi);
+/** @param hMenu cast=(HMENU) */
public static final native int GetMenuDefaultItem (int /*long*/ hMenu, int fByPos, int gmdiFlags);
+/**
+ * @method flags=dynamic
+ * @param hmenu cast=(HMENU)
+ */
public static final native boolean GetMenuInfo (int /*long*/ hmenu, MENUINFO lpcmi);
+/** @param hMenu cast=(HMENU) */
public static final native int GetMenuItemCount (int /*long*/ hMenu);
+/**
+ * @param hMenu cast=(HMENU)
+ * @param lpmii cast=(LPMENUITEMINFOW)
+ */
public static final native boolean GetMenuItemInfoW (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/** @param hMenu cast=(HMENU) */
public static final native boolean GetMenuItemInfoA (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hMenu cast=(HMENU)
+ */
public static final native boolean GetMenuItemRect (int /*long*/ hWnd, int /*long*/ hMenu, int uItem, RECT lprcItem);
+/** @param hWnd cast=(HWND) */
public static final native boolean GetMessageW (MSG lpMsg, int /*long*/ hWnd, int wMsgFilterMin, int wMsgFilterMax);
+/** @param hWnd cast=(HWND) */
public static final native boolean GetMessageA (MSG lpMsg, int /*long*/ hWnd, int wMsgFilterMin, int wMsgFilterMax);
public static final native int GetMessagePos ();
public static final native int GetMessageTime ();
+/**
+ * @param hdc cast=(HDC)
+ * @param hrgn cast=(HRGN)
+ */
public static final native int GetMetaRgn (int /*long*/ hdc, int /*long*/ hrgn);
+/** @method flags=dynamic */
public static final native int GetThemeColor (int /*long*/ hTheme, int iPartId, int iStateId, int iPropId, int[] pColor);
+/** @method flags=dynamic */
public static final native int GetThemeTextExtent (int /*long*/ hTheme, int /*long*/ 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 (int /*long*/ hdc);
public static final native int GetTickCount ();
+/** @param hdc cast=(HDC) */
public static final native int GetMapMode (int /*long*/ hdc);
+/**
+ * @param hModule cast=(HMODULE)
+ * @param lpFilename cast=(LPWSTR)
+ */
public static final native int GetModuleFileNameW (int /*long*/ hModule, char [] lpFilename, int inSize);
+/**
+ * @param hModule cast=(HMODULE)
+ * @param lpFilename cast=(LPSTR)
+ */
public static final native int GetModuleFileNameA (int /*long*/ hModule, byte [] lpFilename, int inSize);
+/** @param lpModuleName cast=(LPWSTR) */
public static final native int /*long*/ GetModuleHandleW (char [] lpModuleName);
+/** @param lpModuleName cast=(LPSTR) */
public static final native int /*long*/ GetModuleHandleA (byte [] lpModuleName);
+/**
+ * @method flags=dynamic
+ * @param hmonitor cast=(HMONITOR)
+ * @param lpmi cast=(LPMONITORINFO)
+ */
public static final native boolean GetMonitorInfoW (int /*long*/ hmonitor, MONITORINFO lpmi);
+/**
+ * @method flags=dynamic
+ * @param hmonitor cast=(HMONITOR)
+ * @param lpmi cast=(LPMONITORINFO)
+ */
public static final native boolean GetMonitorInfoA (int /*long*/ hmonitor, MONITORINFO lpmi);
+/**
+ * @param hPal cast=(HPALETTE)
+ * @param crColor cast=(COLORREF)
+ */
public static final native int GetNearestPaletteIndex (int /*long*/ hPal, int crColor);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, BITMAP lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, BITMAP lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, DIBSECTION lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, DIBSECTION lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, EXTLOGPEN lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, EXTLOGPEN lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, LOGBRUSH lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, LOGBRUSH lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, LOGFONTA lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, LOGFONTW lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, LOGPEN lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, LOGPEN lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject cast=(LPVOID),flags=no_in
+ */
public static final native int GetObjectA (int /*long*/ hgdiobj, int cbBuffer, int /*long*/ lpvObject);
+/**
+ * @param hgdiobj cast=(HGDIOBJ)
+ * @param lpvObject cast=(LPVOID),flags=no_in
+ */
public static final native int GetObjectW (int /*long*/ hgdiobj, int cbBuffer, int /*long*/ lpvObject);
+/** @param lpofn cast=(LPOPENFILENAMEW) */
public static final native boolean GetOpenFileNameW (OPENFILENAME lpofn);
public static final native boolean GetOpenFileNameA (OPENFILENAME lpofn);
+/** @param hdc cast=(HDC) */
public static final native int GetOutlineTextMetricsW (int /*long*/ hdc, int cbData, OUTLINETEXTMETRICW lpOTM);
+/** @param hdc cast=(HDC) */
public static final native int GetOutlineTextMetricsA (int /*long*/ hdc, int cbData, OUTLINETEXTMETRICA lpOTM);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpPoints cast=(LPPOINT)
+ * @param lpTypes cast=(LPBYTE)
+ */
public static final native int GetPath (int /*long*/ hdc, int[] lpPoints, byte[] lpTypes, int nSize);
+/**
+ * @param hPalette cast=(HPALETTE)
+ * @param logPalette cast=(LPPALETTEENTRY),flags=no_in critical
+ */
public static final native int GetPaletteEntries (int /*long*/ hPalette, int iStartIndex, int nEntries, byte[] logPalette);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetParent (int /*long*/ hWnd);
+/** @param hdc cast=(HDC) */
public static final native int GetPixel (int /*long*/ hdc, int x, int y);
+/** @param hdc cast=(HDC) */
public static final native int GetPolyFillMode (int /*long*/ hdc);
+/**
+ * @param hModule cast=(HMODULE)
+ * @param lpProcName cast=(LPCTSTR)
+ */
public static final native int /*long*/ GetProcAddress (int /*long*/ hModule, byte [] lpProcName);
public static final native int /*long*/ GetProcessHeap ();
+/** @param ProcessHeaps cast=(PHANDLE) */
public static final native int GetProcessHeaps (int NumberOfHeaps, int /*long*/[] ProcessHeaps);
+/**
+ * @param lpAppName cast=(LPWSTR)
+ * @param lpKeyName cast=(LPWSTR)
+ * @param lpDefault cast=(LPWSTR)
+ * @param lpReturnedString cast=(LPWSTR)
+ */
public static final native int GetProfileStringW (char [] lpAppName, char [] lpKeyName, char [] lpDefault, char [] lpReturnedString, int nSize);
+/**
+ * @param lpAppName cast=(LPSTR)
+ * @param lpKeyName cast=(LPSTR)
+ * @param lpDefault cast=(LPSTR)
+ * @param lpReturnedString cast=(LPSTR)
+ */
public static final native int GetProfileStringA (byte [] lpAppName, byte [] lpKeyName, byte [] lpDefault, byte [] lpReturnedString, int nSize);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCWSTR)
+ */
public static final native int /*long*/ GetPropW (int /*long*/ hWnd, int /*long*/ lpString);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCTSTR)
+ */
public static final native int /*long*/ GetPropA (int /*long*/ hWnd, int /*long*/ lpString);
+/**
+ * @param hdc cast=(HDC)
+ * @param hrgn cast=(HRGN)
+ */
public static final native int GetRandomRgn (int /*long*/ hdc, int /*long*/ hrgn, int iNum);
+/**
+ * @param hRgn cast=(HRGN)
+ * @param lpRgnData cast=(RGNDATA *),flags=no_in critical
+ */
public static final native int GetRegionData (int /*long*/ hRgn, int dwCount, int [] lpRgnData);
+/**
+ * @param hrgn cast=(HRGN)
+ * @param lprc flags=no_in
+ */
public static final native int GetRgnBox (int /*long*/ hrgn, RECT lprc);
+/** @param hdc cast=(HDC) */
public static final native int GetROP2 (int /*long*/ hdc);
+/** @param lpofn cast=(LPOPENFILENAMEW) */
public static final native boolean GetSaveFileNameW (OPENFILENAME lpofn);
public static final native boolean GetSaveFileNameA (OPENFILENAME lpofn);
+/** @param hwnd cast=(HWND) */
public static final native boolean GetScrollBarInfo (int /*long*/ hwnd, int idObject, SCROLLBARINFO psbi);
+/** @param hwnd cast=(HWND) */
public static final native boolean GetScrollInfo (int /*long*/ hwnd, int flags, SCROLLINFO info);
+/** @param lpStartupInfo cast=(LPSTARTUPINFOW) */
public static final native void GetStartupInfoW (STARTUPINFO lpStartupInfo);
+/** @param lpStartupInfo cast=(LPSTARTUPINFOA) */
public static final native void GetStartupInfoA (STARTUPINFO lpStartupInfo);
public static final native int /*long*/ GetStockObject (int fnObject);
public static final native int GetSysColor (int nIndex);
public static final native int /*long*/ GetSysColorBrush (int nIndex);
+/** @method flags=dynamic */
public static final native short GetSystemDefaultUILanguage ();
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetSystemMenu (int /*long*/ hWnd, boolean bRevert);
public static final native int GetSystemMetrics (int nIndex);
+/**
+ * @param hdc cast=(HDC)
+ * @param iStartIndex cast=(UINT)
+ * @param nEntries cast=(UINT)
+ * @param lppe cast=(LPPALETTEENTRY),flags=no_in critical
+ */
public static final native int GetSystemPaletteEntries (int /*long*/ hdc, int iStartIndex, int nEntries, byte[] lppe);
+/** @param hDC cast=(HDC) */
public static final native int GetTextColor (int /*long*/ hDC);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpString cast=(LPWSTR),flags=no_out critical
+ * @param lpSize flags=no_in
+ */
public static final native boolean GetTextExtentPoint32W (int /*long*/ hdc, char [] lpString, int cbString, SIZE lpSize);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpString cast=(LPSTR),flags=no_out critical
+ * @param lpSize flags=no_in
+ */
public static final native boolean GetTextExtentPoint32A (int /*long*/ hdc, byte [] lpString, int cbString, SIZE lpSize);
+/**
+ * @param hdc cast=(HDC)
+ * @param lptm flags=no_in
+ */
public static final native boolean GetTextMetricsW (int /*long*/ hdc, TEXTMETRICW lptm);
+/**
+ * @param hdc cast=(HDC)
+ * @param lptm flags=no_in
+ */
public static final native boolean GetTextMetricsA (int /*long*/ hdc, TEXTMETRICA lptm);
+/** @method flags=dynamic */
public static final native int GetThemeInt (int /*long*/ hTheme, int iPartId, int iStateId, int iPropId, int[] piVal);
+/** @method flags=dynamic */
public static final native int GetThemeMargins (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, int iPropId, RECT prc, MARGINS pMargins);
+/** @method flags=dynamic */
public static final native int GetThemeBackgroundContentRect (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT pBoundingRect, RECT pContentRect);
+/**
+ * @method flags=dynamic
+ * @param pContentRect flags=no_out
+ */
public static final native int GetThemeBackgroundExtent (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT pContentRect, RECT pExtentRect);
+/** @method flags=dynamic */
public static final native int GetThemePartSize (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, RECT prc, int eSize, SIZE psz);
+/** @method flags=dynamic */
public static final native int GetThemeMetric (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, int iPropId, int[] piVal);
+/** @method flags=dynamic */
public static final native int GetThemeRect (int /*long*/ hTheme, int iPartId, int iStateId, int iPropId, RECT pRect);
+/** @method flags=dynamic */
public static final native int GetThemeSysSize (int /*long*/ 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);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpRect cast=(LPRECT)
+ * @param bErase cast=(BOOL)
+ */
public static final native boolean GetUpdateRect (int /*long*/ hWnd, RECT lpRect, boolean bErase);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hRgn cast=(HRGN)
+ */
public static final native int GetUpdateRgn (int /*long*/ hWnd, int /*long*/ 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);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetWindow (int /*long*/ hWnd, int uCmd);
+/** @param hWnd cast=(HWND) */
public static final native int GetWindowLongW (int /*long*/ hWnd, int nIndex);
+/** @param hWnd cast=(HWND) */
public static final native int GetWindowLongA (int /*long*/ hWnd, int nIndex);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetWindowLongPtrW (int /*long*/ hWnd, int nIndex);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetWindowLongPtrA (int /*long*/ hWnd, int nIndex);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ GetWindowDC (int /*long*/ hWnd);
+/** @param hdc cast=(HDC) */
public static final native boolean GetWindowOrgEx (int /*long*/ hdc, POINT lpPoint);
+/** @param hWnd cast=(HWND) */
public static final native boolean GetWindowPlacement (int /*long*/ hWnd, WINDOWPLACEMENT lpwndpl);
+/** @param hWnd cast=(HWND) */
public static final native boolean GetWindowRect (int /*long*/ hWnd, RECT lpRect);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hRgn cast=(HRGN)
+ */
public static final native int GetWindowRgn (int /*long*/ hWnd, int /*long*/ hRgn);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPWSTR)
+ */
public static final native int GetWindowTextW (int /*long*/ hWnd, char [] lpString, int nMaxCount);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPSTR)
+ */
public static final native int GetWindowTextA (int /*long*/ hWnd, byte [] lpString, int nMaxCount);
+/** @param hWnd cast=(HWND) */
public static final native int GetWindowTextLengthW (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native int GetWindowTextLengthA (int /*long*/ hWnd);
+/**
+ * @method flags=dynamic
+ * @param hWnd cast=(HWND)
+ */
public static final native int /*long*/ GetWindowTheme (int /*long*/ hWnd);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpdwProcessId cast=(LPDWORD)
+ */
public static final native int GetWindowThreadProcessId (int /*long*/ hWnd, int [] lpdwProcessId);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpXform cast=(LPXFORM)
+ */
public static final native boolean GetWorldTransform (int /*long*/ hdc, float[] lpXform);
+/** @param lpString cast=(LPCWSTR) */
public static final native int GlobalAddAtomW (char [] lpString);
+/** @param lpString cast=(LPCTSTR) */
public static final native int GlobalAddAtomA (byte [] lpString);
public static final native int /*long*/ GlobalAlloc (int uFlags, int dwBytes);
+/** @param hMem cast=(HANDLE) */
public static final native int /*long*/ GlobalFree (int /*long*/ hMem);
+/** @param hMem cast=(HANDLE) */
public static final native int /*long*/ GlobalLock (int /*long*/ hMem);
+/** @param hMem cast=(HANDLE) */
public static final native int GlobalSize (int /*long*/ hMem);
+/** @param hMem cast=(HANDLE) */
public static final native boolean GlobalUnlock (int /*long*/ hMem);
+/**
+ * @method flags=dynamic
+ * @param hdc cast=(HDC)
+ * @param pVertex cast=(PTRIVERTEX)
+ * @param dwNumVertex cast=(ULONG)
+ * @param pMesh cast=(PVOID)
+ * @param dwNumMesh cast=(ULONG)
+ * @param dwMode cast=(ULONG)
+ */
public static final native boolean GradientFill (int /*long*/ hdc, int /*long*/ pVertex, int dwNumVertex, int /*long*/ pMesh, int dwNumMesh, int dwMode);
public static final native int HIWORD(int /*long*/ l);
+/** @param hHeap cast=(HANDLE) */
public static final native int /*long*/ HeapAlloc (int /*long*/ hHeap, int dwFlags, int dwBytes);
+/**
+ * @param hHeap cast=(HANDLE)
+ * @param lpMem cast=(LPVOID)
+ */
public static final native boolean HeapFree (int /*long*/ hHeap, int dwFlags, int /*long*/ lpMem);
+/**
+ * @param hHeap cast=(HANDLE)
+ * @param lpMem cast=(LPCVOID)
+ */
public static final native boolean HeapValidate (int /*long*/ hHeap, int dwFlags, int /*long*/ lpMem);
+/** @param hWnd cast=(HWND) */
public static final native boolean HideCaret (int /*long*/ hWnd);
+/**
+ * @method flags=dynamic
+ * @param ptTest flags=struct
+ */
public static final native int HitTestThemeBackground (int /*long*/ hTheme, int /*long*/ hdc, int iPartId, int iStateId, int dwOptions, RECT pRect, int /*long*/ hrgn, POINT ptTest, short[] pwHitTestCode);
+/**
+ * @param lpsz cast=(LPOLESTR)
+ * @param lpiid cast=(LPIID)
+ */
public static final native int IIDFromString (char[] lpsz, byte[] lpiid);
+/**
+ * @param himl cast=(HIMAGELIST)
+ * @param hbmImage cast=(HBITMAP)
+ * @param hbmMask cast=(HBITMAP)
+ */
public static final native int ImageList_Add (int /*long*/ himl, int /*long*/ hbmImage, int /*long*/ hbmMask);
+/**
+ * @param himl cast=(HIMAGELIST)
+ * @param hbmImage cast=(HBITMAP)
+ * @param crMask cast=(COLORREF)
+ */
public static final native int ImageList_AddMasked (int /*long*/ himl, int /*long*/ hbmImage, int crMask);
+/** @param himl cast=(HIMAGELIST) */
public static final native boolean ImageList_BeginDrag (int /*long*/ himl, int iTrack, int dxHotspot, int dyHotspot);
public static final native int /*long*/ ImageList_Create (int cx, int cy, int flags, int cInitial, int cGrow);
+/** @param himl cast=(HIMAGELIST) */
public static final native boolean ImageList_Destroy (int /*long*/ himl);
+/** @param hwndLock cast=(HWND) */
public static final native boolean ImageList_DragEnter (int /*long*/ hwndLock, int x, int y);
+/** @param hwndLock cast=(HWND) */
public static final native boolean ImageList_DragLeave (int /*long*/ 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 (int /*long*/ himl, int i, int /*long*/ 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 int /*long*/ ImageList_GetDragImage (POINT ppt, POINT pptHotspot);
+/** @param himl cast=(HIMAGELIST) */
public static final native int /*long*/ ImageList_GetIcon (int /*long*/ himl, int i, int flags);
+/**
+ * @param himl cast=(HIMAGELIST)
+ * @param cx cast=(int *)
+ * @param cy cast=(int *)
+ */
public static final native boolean ImageList_GetIconSize (int /*long*/ himl, int [] cx, int [] cy);
+/** @param himl cast=(HIMAGELIST) */
public static final native int ImageList_GetImageCount (int /*long*/ himl);
+/** @param himl cast=(HIMAGELIST) */
public static final native boolean ImageList_Remove (int /*long*/ himl, int i);
+/**
+ * @param himl cast=(HIMAGELIST)
+ * @param hbmImage cast=(HBITMAP)
+ * @param hbmMask cast=(HBITMAP)
+ */
public static final native boolean ImageList_Replace (int /*long*/ himl, int i, int /*long*/ hbmImage, int /*long*/ hbmMask);
+/**
+ * @param himl cast=(HIMAGELIST)
+ * @param hicon cast=(HICON)
+ */
public static final native int ImageList_ReplaceIcon (int /*long*/ himl, int i, int /*long*/ hicon);
+/** @param himl cast=(HIMAGELIST) */
public static final native boolean ImageList_SetIconSize (int /*long*/ himl, int cx, int cy);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hIMC cast=(HIMC)
+ */
public static final native int /*long*/ ImmAssociateContext (int /*long*/ hWnd, int /*long*/ hIMC);
public static final native int /*long*/ ImmCreateContext ();
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmDestroyContext (int /*long*/ hIMC);
+/** @method flags=dynamic */
public static final native boolean ImmDisableTextFrameService (int idThread);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmGetCompositionFontW (int /*long*/ hIMC, LOGFONTW lplf);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmGetCompositionFontA (int /*long*/ hIMC, LOGFONTA lplf);
+/**
+ * @param hIMC cast=(HIMC)
+ * @param lpBuf cast=(LPWSTR)
+ */
public static final native int ImmGetCompositionStringW (int /*long*/ hIMC, int dwIndex, char [] lpBuf, int dwBufLen);
+/**
+ * @param hIMC cast=(HIMC)
+ * @param lpBuf cast=(LPSTR)
+ */
public static final native int ImmGetCompositionStringA (int /*long*/ hIMC, int dwIndex, byte [] lpBuf, int dwBufLen);
+/**
+ * @param hIMC cast=(HIMC)
+ * @param lpBuf cast=(LPWSTR)
+ */
public static final native int ImmGetCompositionStringW (int /*long*/ hIMC, int dwIndex, int [] lpBuf, int dwBufLen);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ ImmGetContext (int /*long*/ hWnd);
+/**
+ * @param hIMC cast=(HIMC)
+ * @param lpfdwConversion cast=(LPDWORD)
+ * @param lpfdwSentence cast=(LPDWORD)
+ */
public static final native boolean ImmGetConversionStatus (int /*long*/ hIMC, int [] lpfdwConversion, int [] lpfdwSentence);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ ImmGetDefaultIMEWnd (int /*long*/ hWnd);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmGetOpenStatus (int /*long*/ hIMC);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmNotifyIME (int /*long*/ hIMC, int dwAction, int dwIndex, int dwValue);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hIMC cast=(HIMC)
+ */
public static final native boolean ImmReleaseContext (int /*long*/ hWnd, int /*long*/ hIMC);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetCompositionFontW (int /*long*/ hIMC, LOGFONTW lplf);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetCompositionFontA (int /*long*/ hIMC, LOGFONTA lplf);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetCompositionWindow (int /*long*/ hIMC, COMPOSITIONFORM lpCompForm);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetCandidateWindow (int /*long*/ hIMC, CANDIDATEFORM lpCandidate);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetConversionStatus (int /*long*/ hIMC, int fdwConversion, int dwSentence);
+/** @param hIMC cast=(HIMC) */
public static final native boolean ImmSetOpenStatus (int /*long*/ 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 (int /*long*/ hMenu, int uPosition, int uFlags, int /*long*/ uIDNewItem, char [] lpNewItem);
+/** @param hMenu cast=(HMENU) */
public static final native boolean InsertMenuA (int /*long*/ hMenu, int uPosition, int uFlags, int /*long*/ uIDNewItem, byte [] lpNewItem);
+/**
+ * @param hMenu cast=(HMENU)
+ * @param lpmii cast=(LPMENUITEMINFOW)
+ */
public static final native boolean InsertMenuItemW (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/** @param hMenu cast=(HMENU) */
public static final native boolean InsertMenuItemA (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/**
+ * @param hInternet cast=(HINTERNET)
+ * @param lpBuffer cast=(LPVOID)
+ */
public static final native boolean InternetSetOption (int /*long*/ hInternet, int dwOption, int /*long*/ lpBuffer, int dwBufferLength);
+/** @param hdc cast=(HDC) */
public static final native int IntersectClipRect (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
+/**
+ * @param lprcDst flags=no_in
+ * @param lprcSrc1 flags=no_out
+ * @param lprcSrc2 flags=no_out
+ */
public static final native boolean IntersectRect (RECT lprcDst, RECT lprcSrc1, RECT lprcSrc2);
+/** @param hWnd cast=(HWND) */
public static final native boolean InvalidateRect (int /*long*/ hWnd, RECT lpRect, boolean bErase);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hRgn cast=(HRGN)
+ */
public static final native boolean InvalidateRgn (int /*long*/ hWnd, int /*long*/ hRgn, boolean bErase);
+/** @method flags=dynamic */
public static final native boolean IsAppThemed ();
+/**
+ * @param lp cast=(LPVOID)
+ * @param ucb cast=(UINT_PTR)
+ */
public static final native boolean IsBadReadPtr (int /*long*/ lp, int ucb);
+/**
+ * @param lp cast=(LPVOID)
+ * @param ucb cast=(UINT_PTR)
+ */
public static final native boolean IsBadWritePtr (int /*long*/ lp, int ucb);
public static final native boolean IsDBCSLeadByte (byte TestChar);
+/**
+ * @method flags=dynamic
+ * @param hWnd cast=(HWND)
+ */
public static final native boolean IsHungAppWindow (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean IsIconic (int /*long*/ hWnd);
+/** @method flags=no_gen */
public static final native boolean IsPPC ();
+/** @method flags=no_gen */
public static final native boolean IsSP ();
+/** @param hWnd cast=(HWND) */
public static final native boolean IsWindowEnabled (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean IsWindowVisible (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean IsZoomed (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean KillTimer (int /*long*/ hWnd, int /*long*/ uIDEvent);
+/** @param hdc cast=(HDC) */
public static final native boolean LineTo (int /*long*/ hdc, int x1, int x2);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpBitmapName cast=(LPWSTR)
+ */
public static final native int /*long*/ LoadBitmapW (int /*long*/ hInstance, int /*long*/ lpBitmapName);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpBitmapName cast=(LPSTR)
+ */
public static final native int /*long*/ LoadBitmapA (int /*long*/ hInstance, int /*long*/ lpBitmapName);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpCursorName cast=(LPWSTR)
+ */
public static final native int /*long*/ LoadCursorW (int /*long*/ hInstance, int /*long*/ lpCursorName);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpCursorName cast=(LPSTR)
+ */
public static final native int /*long*/ LoadCursorA (int /*long*/ hInstance, int /*long*/ lpCursorName);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpIconName cast=(LPWSTR)
+ */
public static final native int /*long*/ LoadIconW (int /*long*/ hInstance, int /*long*/ lpIconName);
+/**
+ * @param hInstance cast=(HINSTANCE)
+ * @param lpIconName cast=(LPSTR)
+ */
public static final native int /*long*/ LoadIconA (int /*long*/ hInstance, int /*long*/ lpIconName);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpszName cast=(LPWSTR)
+ */
public static final native int /*long*/ LoadImageW (int /*long*/ hinst, char [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpszName cast=(LPSTR)
+ */
public static final native int /*long*/ LoadImageA (int /*long*/ hinst, byte [] lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpszName cast=(LPWSTR)
+ */
public static final native int /*long*/ LoadImageW (int /*long*/ hinst, int /*long*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpszName cast=(LPSTR)
+ */
public static final native int /*long*/ LoadImageA (int /*long*/ hinst, int /*long*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpBuffer cast=(LPWSTR)
+ */
public static final native int LoadStringW (int /*long*/ hinst, int uID, char [] lpBuffer, int nBufferMax);
+/**
+ * @param hinst cast=(HINSTANCE)
+ * @param lpBuffer cast=(LPSTR)
+ */
public static final native int LoadStringA (int /*long*/ hinst, int uID, byte [] lpBuffer, int nBufferMax);
+/** @param lpLibFileName cast=(LPWSTR) */
public static final native int /*long*/ LoadLibraryW (char [] lpLibFileName);
+/** @param lpLibFileName cast=(LPSTR) */
public static final native int /*long*/ LoadLibraryA (byte [] lpLibFileName);
+/** @param hMem cast=(HLOCAL) */
public static final native int /*long*/ LocalFree (int /*long*/ hMem);
+/** @param hWndLock cast=(HWND) */
public static final native boolean LockWindowUpdate (int /*long*/ hWndLock);
public static final native int LOWORD (int /*long*/ l);
+/** @param hdc cast=(HDC) */
public static final native boolean LPtoDP (int /*long*/ hdc, POINT lpPoints, int nCount);
public static final native int MAKEWORD(int l, int h);
public static final native int /*long*/ MAKEWPARAM(int l, int h);
@@ -3708,335 +4739,1543 @@ public static final native int /*long*/ MAKELPARAM(int l, int h);
public static final native int /*long*/ MAKELRESULT(int l, int h);
public static final native int MapVirtualKeyW (int uCode, int uMapType);
public static final native int MapVirtualKeyA (int uCode, int uMapType);
+/**
+ * @param hWndFrom cast=(HWND)
+ * @param hWndTo cast=(HWND)
+ * @param lpPoints cast=(LPPOINT)
+ */
public static final native int MapWindowPoints (int /*long*/ hWndFrom, int /*long*/ hWndTo, POINT lpPoints, int cPoints);
+/**
+ * @param hWndFrom cast=(HWND)
+ * @param hWndTo cast=(HWND)
+ * @param lpPoints cast=(LPPOINT)
+ */
public static final native int MapWindowPoints (int /*long*/ hWndFrom, int /*long*/ 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)
+ * @param lpText cast=(LPWSTR)
+ * @param lpCaption cast=(LPWSTR)
+ */
public static final native int MessageBoxW (int /*long*/ hWnd, char [] lpText, char [] lpCaption, int uType);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpText cast=(LPSTR)
+ * @param lpCaption cast=(LPSTR)
+ */
public static final native int MessageBoxA (int /*long*/ hWnd, byte [] lpText, byte [] lpCaption, int uType);
+/** @method flags=dynamic */
public static final native int /*long*/ MonitorFromWindow (int /*long*/ hwnd, int dwFlags);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (char[] Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (byte [] Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (byte [] Destination, ACCEL Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (byte [] Destination, BITMAPINFOHEADER Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (int [] Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (long [] Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (double[] Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (float[] Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in critical
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (short[] Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ Destination, byte [] Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ Destination, char [] Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ Destination, int [] Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (int /*long*/ Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, DOCHOSTUIINFO Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, GRADIENT_RECT Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, LOGFONTW Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, LOGFONTA Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, MEASUREITEMSTRUCT Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, MINMAXINFO Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, MSG Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, UDACCEL Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMTTDISPINFOW Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMTTDISPINFOA Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (int /*long*/ Destination, OPENFILENAME Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, RECT Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, TRIVERTEX Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, WINDOWPOS Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (BITMAPINFOHEADER Destination, byte [] Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (BITMAPINFOHEADER Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (DOCHOSTUIINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (DRAWITEMSTRUCT Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (EXTLOGPEN Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (HDITEM Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (HELPINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (LOGFONTW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (LOGFONTA Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (MEASUREITEMSTRUCT Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (MINMAXINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (OFNOTIFY Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (OPENFILENAME Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (POINT Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (POINT Destination, long[] Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMHDR Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMRGINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMCUSTOMDRAW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLVCUSTOMDRAW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTBHOTITEM Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTREEVIEW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTVCUSTOMDRAW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTVITEMCHANGE Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMUPDOWN Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMLVCUSTOMDRAW Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMTVCUSTOMDRAW Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMTTCUSTOMDRAW Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMLVDISPINFO Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, NMTVDISPINFO Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLVDISPINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTVDISPINFO Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLVFINDITEM Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLVODSTATECHANGE Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMHEADER Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLINK Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMLISTVIEW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMREBARCHILDSIZE Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMREBARCHEVRON Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTOOLBAR Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTTCUSTOMDRAW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTTDISPINFOW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (NMTTDISPINFOA Destination, int /*long*/ Source, int Length);
public static final native void MoveMemory (RECT Destination, int /*long*/[] Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (SHDRAGIMAGE Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (EMR Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (EMREXTCREATEFONTINDIRECTW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, SHDRAGIMAGE Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (TEXTMETRICW Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (TEXTMETRICA Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (TVITEM Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (WINDOWPOS Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (MSG Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param Source cast=(CONST VOID *)
+ */
public static final native void MoveMemory (UDACCEL Destination, int /*long*/ Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, DROPFILES Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ DestinationPtr, double[] Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ DestinationPtr, float[] Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ DestinationPtr, long[] Source, int Length);
+/**
+ * @param DestinationPtr cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out critical
+ */
public static final native void MoveMemory (int /*long*/ DestinationPtr, short[] Source, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (SCRIPT_ITEM Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (SCRIPT_LOGATTR Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID),flags=no_in
+ * @param SourcePtr cast=(CONST VOID *)
+ */
public static final native void MoveMemory (SCRIPT_PROPERTIES Destination, int /*long*/ SourcePtr, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, KEYBDINPUT Source, int Length);
+/**
+ * @param Destination cast=(PVOID)
+ * @param Source cast=(CONST VOID *),flags=no_out
+ */
public static final native void MoveMemory (int /*long*/ Destination, MOUSEINPUT Source, int Length);
+/**
+ * @param hdc cast=(HDC)
+ * @param lPoint cast=(LPPOINT)
+ */
public static final native boolean MoveToEx (int /*long*/ hdc, int x1, int x2, int /*long*/ 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, int /*long*/ pHandles, int dwMilliseconds, int dwWakeMask, int dwFlags);
+/**
+ * @param lpMultiByteStr cast=(LPCSTR),flags=no_out critical
+ * @param lpWideCharStr cast=(LPWSTR),flags=no_in critical
+ */
public static final native int MultiByteToWideChar (int CodePage, int dwFlags, byte [] lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar);
+/**
+ * @param lpMultiByteStr cast=(LPCSTR)
+ * @param lpWideCharStr cast=(LPWSTR),flags=no_in critical
+ */
public static final native int MultiByteToWideChar (int CodePage, int dwFlags, int /*long*/ lpMultiByteStr, int cchMultiByte, char [] lpWideCharStr, int cchWideChar);
+/**
+ * @method flags=dynamic
+ * @param event cast=(DWORD)
+ * @param hwnd cast=(HWND)
+ * @param idObject cast=(LONG)
+ * @param idChild cast=(LONG)
+ */
public static final native void NotifyWinEvent (int event, int /*long*/ hwnd, int idObject, int idChild);
public static final native boolean OffsetRect (RECT lprc, int dx, int dy);
+/** @param hrgn cast=(HRGN) */
public static final native int OffsetRgn (int /*long*/ hrgn, int nXOffset, int nYOffset);
+/** @param pvReserved cast=(LPVOID) */
public static final native int OleInitialize (int /*long*/ pvReserved);
public static final native void OleUninitialize ();
+/** @param hWndNewOwner cast=(HWND) */
public static final native boolean OpenClipboard (int /*long*/ hWndNewOwner);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ * @param pszClassList cast=(LPCWSTR)
+ */
public static final native int /*long*/ OpenThemeData (int /*long*/ hwnd, char[] pszClassList);
+/** @param hdc cast=(HDC) */
public static final native boolean PatBlt (int /*long*/ hdc, int x1, int x2, int w, int h, int rop);
+/** @param hWnd cast=(HWND) */
public static final native boolean PeekMessageW (MSG lpMsg, int /*long*/ hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);
+/** @param hWnd cast=(HWND) */
public static final native boolean PeekMessageA (MSG lpMsg, int /*long*/ hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);
+/** @param hdc cast=(HDC) */
public static final native boolean Pie (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nXStartArc, int nYStartArc, int nXEndArc, int nYEndArc);
+/** @param pt flags=struct */
public static final native void POINTSTOPOINT(POINT pt, int /*long*/ pts);
+/**
+ * @param hdc cast=(HDC)
+ * @param points cast=(CONST POINT *),flags=no_out critical
+ */
public static final native boolean Polygon (int /*long*/ hdc, int [] points, int nPoints);
+/**
+ * @param hdc cast=(HDC)
+ * @param points cast=(CONST POINT *),flags=no_out critical
+ */
public static final native boolean Polyline (int /*long*/ hdc, int[] points, int nPoints);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native boolean PostMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native boolean PostMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native boolean PostThreadMessageW (int idThread, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native boolean PostThreadMessageA (int idThread, int Msg, int /*long*/ wParam, int /*long*/ lParam);
public static final native short PRIMARYLANGID (int lgid);
+/** @param lppd cast=(LPPRINTDLGW) */
public static final native boolean PrintDlgW (PRINTDLG lppd);
public static final native boolean PrintDlgA (PRINTDLG lppd);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ * @param hdcBlt cast=(HDC)
+ */
public static final native boolean PrintWindow (int /*long*/ hwnd, int /*long*/ hdcBlt, int nFlags);
+/**
+ * @param rect flags=no_out
+ * @param pt flags=no_out struct
+ */
public static final native boolean PtInRect (RECT rect, POINT pt);
+/** @param hrgn cast=(HRGN) */
public static final native boolean PtInRegion (int /*long*/ hrgn, int X, int Y);
+/** @param hDC cast=(HDC) */
public static final native int RealizePalette (int /*long*/ hDC);
+/** @param hdc cast=(HDC) */
public static final native boolean Rectangle (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
+/**
+ * @param hrgn cast=(HRGN)
+ * @param lprc flags=no_out
+ */
public static final native boolean RectInRegion (int /*long*/ hrgn, RECT lprc);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hrgnUpdate cast=(HRGN)
+ */
public static final native boolean RedrawWindow (int /*long*/ hWnd, RECT lprcUpdate, int /*long*/ hrgnUpdate, int flags);
+/** @param hKey cast=(HKEY) */
public static final native int RegCloseKey (int /*long*/ hKey);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpName cast=(LPWSTR)
+ * @param lpcName cast=(LPDWORD)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpClass cast=(LPWSTR)
+ * @param lpcClass cast=(LPDWORD)
+ */
public static final native int RegEnumKeyExW (int /*long*/ hKey, int dwIndex, char [] lpName, int [] lpcName, int [] lpReserved, char [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpName cast=(LPSTR)
+ * @param lpcName cast=(LPDWORD)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpClass cast=(LPSTR)
+ * @param lpcClass cast=(LPDWORD)
+ */
public static final native int RegEnumKeyExA (int /*long*/ hKey, int dwIndex, byte [] lpName, int [] lpcName, int [] lpReserved, byte [] lpClass, int [] lpcClass, FILETIME lpftLastWriteTime);
+/** @param lpWndClass cast=(LPWNDCLASSW) */
public static final native int RegisterClassW (WNDCLASS lpWndClass);
public static final native int RegisterClassA (WNDCLASS lpWndClass);
+/** @param lpString cast=(LPWSTR) */
public static final native int RegisterWindowMessageW (char [] lpString);
+/** @param lpString cast=(LPTSTR) */
public static final native int RegisterWindowMessageA (byte [] lpString);
+/** @param lpszFormat cast=(LPTSTR) */
public static final native int RegisterClipboardFormatA (byte[] lpszFormat);
+/** @param lpszFormat cast=(LPWSTR) */
public static final native int RegisterClipboardFormatW (char[] lpszFormat);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpSubKey cast=(LPWSTR)
+ * @param phkResult cast=(PHKEY)
+ */
public static final native int RegOpenKeyExW (int /*long*/ hKey, char[] lpSubKey, int ulOptions, int samDesired, int /*long*/[] phkResult);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpSubKey cast=(LPSTR)
+ * @param phkResult cast=(PHKEY)
+ */
public static final native int RegOpenKeyExA (int /*long*/ hKey, byte[] lpSubKey, int ulOptions, int samDesired, int /*long*/[] 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 (int /*long*/ hKey, int /*long*/ lpClass, int[] lpcbClass, int /*long*/ lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int /*long*/ 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 (int /*long*/ hKey, int /*long*/ lpClass, int[] lpcbClass, int /*long*/ lpReserved, int[] lpSubKeys, int[] lpcbMaxSubKeyLen, int[] lpcbMaxClassLen, int[] lpcValues, int[] lpcbMaxValueNameLen, int[] lpcbMaxValueLen, int[] lpcbSecurityDescriptor, int /*long*/ lpftLastWriteTime);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpValueName cast=(LPWSTR)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpType cast=(LPDWORD)
+ * @param lpData cast=(LPBYTE)
+ * @param lpcbData cast=(LPDWORD)
+ */
public static final native int RegQueryValueExW (int /*long*/ hKey, char[] lpValueName, int /*long*/ lpReserved, int[] lpType, char [] lpData, int[] lpcbData);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpValueName cast=(LPWSTR)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpType cast=(LPDWORD)
+ * @param lpData cast=(LPBYTE)
+ * @param lpcbData cast=(LPDWORD)
+ */
public static final native int RegQueryValueExW (int /*long*/ hKey, char[] lpValueName, int /*long*/ lpReserved, int[] lpType, int [] lpData, int[] lpcbData);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpValueName cast=(LPSTR)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpType cast=(LPDWORD)
+ * @param lpData cast=(LPBYTE)
+ * @param lpcbData cast=(LPDWORD)
+ */
public static final native int RegQueryValueExA (int /*long*/ hKey, byte[] lpValueName, int /*long*/ lpReserved, int[] lpType, byte [] lpData, int[] lpcbData);
+/**
+ * @param hKey cast=(HKEY)
+ * @param lpValueName cast=(LPSTR)
+ * @param lpReserved cast=(LPDWORD)
+ * @param lpType cast=(LPDWORD)
+ * @param lpData cast=(LPBYTE)
+ * @param lpcbData cast=(LPDWORD)
+ */
public static final native int RegQueryValueExA (int /*long*/ hKey, byte[] lpValueName, int /*long*/ lpReserved, int[] lpType, int [] lpData, int[] lpcbData);
public static final native boolean ReleaseCapture ();
+/**
+ * @param hWnd cast=(HWND)
+ * @param hDC cast=(HDC)
+ */
public static final native int ReleaseDC (int /*long*/ hWnd, int /*long*/ hDC);
+/** @param hMenu cast=(HMENU) */
public static final native boolean RemoveMenu (int /*long*/ hMenu, int uPosition, int uFlags);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCTSTR)
+ */
public static final native int /*long*/ RemovePropA (int /*long*/ hWnd, int /*long*/ lpString);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCWSTR)
+ */
public static final native int /*long*/ RemovePropW (int /*long*/ hWnd, int /*long*/ lpString);
public static final native boolean ReplyMessage (int /*long*/ lResult);
+/**
+ * @param hdc cast=(HDC)
+ * @param nSavedDC cast=(int)
+ */
public static final native boolean RestoreDC (int /*long*/ hdc, int nSavedDC);
+/** @param hdc cast=(HDC) */
public static final native boolean RoundRect (int /*long*/ hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidth, int nHeight);
+/** @param hdc cast=(HDC) */
public static final native int SaveDC (int /*long*/ hdc);
+/** @param hWnd cast=(HWND) */
public static final native boolean ScreenToClient (int /*long*/ hWnd, POINT lpPoint);
+/**
+ * @param psds cast=(const SCRIPT_DIGITSUBSTITUTE*)
+ * @param psc cast=(SCRIPT_CONTROL*)
+ * @param pss cast=(SCRIPT_STATE*)
+ */
public static final native int ScriptApplyDigitSubstitution (SCRIPT_DIGITSUBSTITUTE psds, SCRIPT_CONTROL psc, SCRIPT_STATE pss);
+/**
+ * @param pwcChars cast=(const WCHAR *)
+ * @param psa cast=(const SCRIPT_ANALYSIS *)
+ * @param psla cast=(SCRIPT_LOGATTR *)
+ */
public static final native int ScriptBreak (char[] pwcChars, int cChars, SCRIPT_ANALYSIS psa, int /*long*/ psla);
+/**
+ * @param ppSp cast=(const SCRIPT_PROPERTIES ***)
+ * @param piNumScripts cast=(int *)
+ */
public static final native int ScriptGetProperties (int /*long*/[] ppSp, int[] piNumScripts);
+/**
+ * @param hdc cast=(HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param tmHeight cast=(long *)
+ */
public static final native int ScriptCacheGetHeight (int /*long*/ hdc, int /*long*/ psc, int[] tmHeight);
+/**
+ * @param pwLogClust cast=(const WORD *)
+ * @param psva cast=(const SCRIPT_VISATTR *)
+ * @param piAdvance cast=(const int *)
+ * @param psa cast=(const SCRIPT_ANALYSIS *)
+ * @param piX cast=(int *)
+ */
public static final native int ScriptCPtoX (int iCP, boolean fTrailing, int cChars, int cGlyphs, int /*long*/ pwLogClust, int /*long*/ psva, int /*long*/ piAdvance, SCRIPT_ANALYSIS psa, int[] piX);
+/** @param psc cast=(SCRIPT_CACHE *) */
public static final native int ScriptFreeCache (int /*long*/ psc);
+/**
+ * @param hdc cast=(HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param sfp cast=(SCRIPT_FONTPROPERTIES *)
+ */
public static final native int ScriptGetFontProperties (int /*long*/ hdc, int /*long*/ psc, SCRIPT_FONTPROPERTIES sfp);
+/**
+ * @param psa cast=(const SCRIPT_ANALYSIS *)
+ * @param piGlyphWidth cast=(const int *)
+ * @param pwLogClust cast=(const WORD *)
+ * @param psva cast=(const SCRIPT_VISATTR *)
+ * @param piDx cast=(int *)
+ */
public static final native int ScriptGetLogicalWidths (SCRIPT_ANALYSIS psa, int cChars, int cGlyphs, int /*long*/ piGlyphWidth, int /*long*/ pwLogClust, int /*long*/ psva, int[] piDx);
+/**
+ * @param pwcInChars cast=(const WCHAR *)
+ * @param psControl cast=(const SCRIPT_CONTROL *)
+ * @param psState cast=(const SCRIPT_STATE *)
+ * @param pItems cast=(SCRIPT_ITEM *)
+ * @param pcItems cast=(int *)
+ */
public static final native int ScriptItemize (char[] pwcInChars, int cInChars, int cMaxItems, SCRIPT_CONTROL psControl, SCRIPT_STATE psState, int /*long*/ pItems, int[] pcItems);
+/**
+ * @param psva cast=(SCRIPT_VISATTR *)
+ * @param piAdvance cast=(const int *)
+ * @param piJustify cast=(int *)
+ */
public static final native int ScriptJustify (int /*long*/ psva, int /*long*/ piAdvance, int cGlyphs, int iDx, int iMinKashida, int /*long*/ piJustify);
+/**
+ * @param pbLevel cast=(const BYTE *)
+ * @param piVisualToLogical cast=(int *)
+ * @param piLogicalToVisual cast=(int *)
+ */
public static final native int ScriptLayout (int cRuns, byte[] pbLevel, int[] piVisualToLogical, int[] piLogicalToVisual);
+/**
+ * @param hdc cast=(HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param pwGlyphs cast=(const WORD *)
+ * @param psva cast=(const SCRIPT_VISATTR *)
+ * @param psa cast=(SCRIPT_ANALYSIS *)
+ * @param piAdvance cast=(int *)
+ * @param pGoffset cast=(GOFFSET *)
+ * @param pABC cast=(ABC *)
+ */
public static final native int ScriptPlace (int /*long*/ hdc, int /*long*/ psc, int /*long*/ pwGlyphs, int cGlyphs, int /*long*/ psva, SCRIPT_ANALYSIS psa, int /*long*/ piAdvance, int /*long*/ pGoffset, int[] pABC);
+/**
+ * @param Locale cast=(LCID)
+ * @param psds cast=(SCRIPT_DIGITSUBSTITUTE*)
+ */
public static final native int ScriptRecordDigitSubstitution (int Locale, SCRIPT_DIGITSUBSTITUTE psds);
+/**
+ * @param hdc cast=(HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param pwcChars cast=(const WCHAR *)
+ * @param pwOutGlyphs cast=(WORD*)
+ */
public static final native int ScriptGetCMap (int /*long*/ hdc, int /*long*/ psc, char[] pwcChars, int cChars, int dwFlags, short[] pwOutGlyphs);
+/**
+ * @param hdc cast=(HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param pwcChars cast=(const WCHAR *)
+ * @param psa cast=(SCRIPT_ANALYSIS *)
+ * @param pwOutGlyphs cast=(WORD *)
+ * @param pwLogClust cast=(WORD *)
+ * @param psva cast=(SCRIPT_VISATTR *)
+ * @param pcGlyphs cast=(int *)
+ */
public static final native int ScriptShape (int /*long*/ hdc, int /*long*/ psc, char[] pwcChars, int cChars, int cMaxGlyphs, SCRIPT_ANALYSIS psa, int /*long*/ pwOutGlyphs, int /*long*/ pwLogClust, int /*long*/ psva, int[] pcGlyphs);
+/**
+ * @param hdc cast=(HDC)
+ * @param pString cast=(const void*)
+ * @param piDx cast=(const int*)
+ * @param pTabdef cast=(SCRIPT_TABDEF*)
+ * @param pbInClass cast=(const BYTE*)
+ * @param pssa cast=(SCRIPT_STRING_ANALYSIS*)
+ */
public static final native int ScriptStringAnalyse (int /*long*/ hdc, char[] pString, int cString, int cGlyphs, int iCharset, int dwFlags, int iReqWidth, SCRIPT_CONTROL psControl, SCRIPT_STATE psState, int /*long*/ piDx, int /*long*/ pTabdef, int /*long*/ pbInClass, int /*long*/ pssa);
+/** @param ssa cast=(SCRIPT_STRING_ANALYSIS*),flags=struct */
public static final native int ScriptStringOut(int /*long*/ ssa, int iX, int iY, int uOptions, RECT prc, int iMinSel, int iMaxSel, boolean fDisabled);
+/** @param pssa cast=(SCRIPT_STRING_ANALYSIS*) */
public static final native int ScriptStringFree(int /*long*/ pssa);
+/**
+ * @param hdc cast=(const HDC)
+ * @param psc cast=(SCRIPT_CACHE *)
+ * @param lprc cast=(const RECT *)
+ * @param psa cast=(const SCRIPT_ANALYSIS *)
+ * @param pwcReserved cast=(const WCHAR *)
+ * @param pwGlyphs cast=(const WORD *)
+ * @param piAdvance cast=(const int *)
+ * @param piJustify cast=(const int *)
+ * @param pGoffset cast=(const GOFFSET *)
+ */
public static final native int ScriptTextOut (int /*long*/ hdc, int /*long*/ psc, int x, int y, int fuOptions, RECT lprc, SCRIPT_ANALYSIS psa, int /*long*/ pwcReserved, int iReserved, int /*long*/ pwGlyphs, int cGlyphs, int /*long*/ piAdvance, int /*long*/ piJustify, int /*long*/ pGoffset);
+/**
+ * @param pwLogClust cast=(const WORD *)
+ * @param psva cast=(const SCRIPT_VISATTR *)
+ * @param piAdvance cast=(const int *)
+ * @param psa cast=(const SCRIPT_ANALYSIS *)
+ * @param piCP cast=(int *)
+ * @param piTrailing cast=(int *)
+ */
public static final native int ScriptXtoCP (int iX, int cChars, int cGlyphs, int /*long*/ pwLogClust, int /*long*/ psva, int /*long*/ piAdvance, SCRIPT_ANALYSIS psa, int[] piCP, int[] piTrailing);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hrgnUpdate cast=(HRGN)
+ */
public static final native int ScrollWindowEx (int /*long*/ hWnd, int dx, int dy, RECT prcScroll, RECT prcClip, int /*long*/ hrgnUpdate, RECT prcUpdate, int flags);
+/**
+ * @param hdc cast=(HDC)
+ * @param hrgn cast=(HRGN)
+ */
public static final native int SelectClipRgn (int /*long*/ hdc, int /*long*/ hrgn);
+/**
+ * @param hDC cast=(HDC)
+ * @param HGDIObj cast=(HGDIOBJ)
+ */
public static final native int /*long*/ SelectObject (int /*long*/ hDC, int /*long*/ HGDIObj);
+/**
+ * @param hDC cast=(HDC)
+ * @param hpal cast=(HPALETTE)
+ */
public static final native int /*long*/ SelectPalette (int /*long*/ hDC, int /*long*/ hpal, boolean bForceBackground);
+/** @param pInputs cast=(LPINPUT) */
public static final native int SendInput (int nInputs, int /*long*/ pInputs, int cbSize);
+/**
+ * @method flags=no_gen
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int [] wParam, int [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ [] wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, char [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, short [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVCOLUMN lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, MARGINS lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, MCHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, POINT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, REBARBANDINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, RECT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SYSTEMTIME lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SHDRAGIMAGE lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TBBUTTON lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TBBUTTONINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TCITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TCHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TOOLINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVINSERTSTRUCT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVSORTCB lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, UDACCEL lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDLAYOUT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, BUTTON_IMAGELIST lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageW (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SIZE lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int [] wParam, int [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ [] wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, byte [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, short [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, char [] lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, int /*long*/ lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVCOLUMN lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, LVITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, MARGINS lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, MCHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, POINT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, REBARBANDINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, RECT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SYSTEMTIME lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SHDRAGIMAGE lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TBBUTTON lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TBBUTTONINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TCITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TCHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TOOLINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVINSERTSTRUCT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, TVSORTCB lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, UDACCEL lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDHITTESTINFO lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDITEM lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, HDLAYOUT lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, BUTTON_IMAGELIST lParam);
+/**
+ * @param hWnd cast=(HWND)
+ * @param wParam cast=(WPARAM)
+ * @param lParam cast=(LPARAM)
+ */
public static final native int /*long*/ SendMessageA (int /*long*/ hWnd, int Msg, int /*long*/ wParam, SIZE lParam);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ SetActiveWindow (int /*long*/ hWnd);
+/**
+ * @param hdc cast=(HDC)
+ * @param colorRef cast=(COLORREF)
+ */
public static final native int SetBkColor (int /*long*/ hdc, int colorRef);
+/** @param hdc cast=(HDC) */
public static final native int SetBkMode (int /*long*/ hdc, int mode);
+/**
+ * @param hdc cast=(HDC)
+ * @param lppt cast=(LPPOINT)
+ */
public static final native boolean SetBrushOrgEx (int /*long*/ hdc, int nXOrg, int nYOrg, POINT lppt);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ SetCapture (int /*long*/ hWnd);
public static final native boolean SetCaretPos (int X, int Y);
+/** @param hMem cast=(HANDLE) */
public static final native int /*long*/ SetClipboardData (int uFormat, int /*long*/ hMem);
+/** @param hCursor cast=(HCURSOR) */
public static final native int /*long*/ SetCursor (int /*long*/ hCursor);
public static final native boolean SetCursorPos (int X, int Y);
+/**
+ * @param hdc cast=(HDC)
+ * @param pColors cast=(RGBQUAD *),flags=no_out critical
+ */
public static final native int SetDIBColorTable (int /*long*/ hdc, int uStartIndex, int cEntries, byte[] pColors);
public static final native int SetErrorMode (int uMode);
+/** @param hWnd cast=(HWND) */
public static final native int /*long*/ SetFocus (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean SetForegroundWindow (int /*long*/ hWnd);
+/** @param hdc cast=(HDC) */
public static final native int SetGraphicsMode (int /*long*/ hdc, int iMode);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ */
public static final native boolean SetLayeredWindowAttributes(int /*long*/ hwnd, int crKey, byte bAlpha, int dwFlags);
+/**
+ * @method flags=dynamic
+ * @param hdc cast=(HDC)
+ * @param dwLayout cast=(DWORD)
+ */
public static final native int SetLayout (int /*long*/ hdc, int dwLayout);
+/** @param hdc cast=(HDC) */
public static final native int SetMapMode (int /*long*/ hdc, int fnMapMode);
+/**
+ * @param hdc cast=(HDC)
+ * @param dwFlag cast=(DWORD)
+ */
public static final native int SetMapperFlags (int /*long*/ hdc, int dwFlag);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hMenu cast=(HMENU)
+ */
public static final native boolean SetMenu (int /*long*/ hWnd, int /*long*/ hMenu);
+/** @param hMenu cast=(HMENU) */
public static final native boolean SetMenuDefaultItem (int /*long*/ hMenu, int uItem, int fByPos);
+/**
+ * @method flags=dynamic
+ * @param hmenu cast=(HMENU)
+ */
public static final native boolean SetMenuInfo (int /*long*/ hmenu, MENUINFO lpcmi);
+/**
+ * @param hMenu cast=(HMENU)
+ * @param lpmii cast=(LPMENUITEMINFOW)
+ */
public static final native boolean SetMenuItemInfoW (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/** @param hMenu cast=(HMENU) */
public static final native boolean SetMenuItemInfoA (int /*long*/ hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii);
+/** @param hdc cast=(HDC) */
public static final native int SetMetaRgn (int /*long*/ hdc);
+/**
+ * @param hPal cast=(HPALETTE)
+ * @param lppe cast=(PALETTEENTRY *),flags=no_out critical
+ */
public static final native int SetPaletteEntries (int /*long*/ hPal, int iStart, int cEntries, byte[] lppe);
+/**
+ * @param hWndChild cast=(HWND)
+ * @param hWndNewParent cast=(HWND)
+ */
public static final native int /*long*/ SetParent (int /*long*/ hWndChild, int /*long*/ hWndNewParent);
+/** @param hdc cast=(HDC) */
public static final native int SetPixel (int /*long*/ hdc, int X, int Y, int crColor);
+/** @param hdc cast=(HDC) */
public static final native int SetPolyFillMode (int /*long*/ hdc, int iPolyFillMode);
+/** @method flags=dynamic */
public static final native boolean SetProcessDPIAware ();
+/** @param lprc flags=no_in */
public static final native boolean SetRect (RECT lprc, int xLeft, int yTop, int xRight, int yBottom);
+/** @param hrgn cast=(HRGN) */
public static final native boolean SetRectRgn (int /*long*/ hrgn, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);
+/** @param hdc cast=(HDC) */
public static final native int SetROP2 (int /*long*/ hdc, int fnDrawMode);
+/** @param hwnd cast=(HWND) */
public static final native boolean SetScrollInfo (int /*long*/ hwnd, int flags, SCROLLINFO info, boolean fRedraw);
+/** @param hdc cast=(HDC) */
public static final native int SetStretchBltMode (int /*long*/ hdc, int iStretchMode);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCWSTR)
+ * @param hData cast=(HANDLE)
+ */
public static final native boolean SetPropW (int /*long*/ hWnd, int /*long*/ lpString, int /*long*/ hData);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPCTSTR)
+ * @param hData cast=(HANDLE)
+ */
public static final native boolean SetPropA (int /*long*/ hWnd, int /*long*/ lpString, int /*long*/ hData);
+/** @param hdc cast=(HDC) */
public static final native int SetTextAlign (int /*long*/ hdc, int fMode);
+/**
+ * @param hdc cast=(HDC)
+ * @param colorRef cast=(COLORREF)
+ */
public static final native int SetTextColor (int /*long*/ hdc, int colorRef);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpTimerFunc cast=(TIMERPROC)
+ */
public static final native int /*long*/ SetTimer (int /*long*/ hWnd, int /*long*/ nIDEvent, int Elapse, int /*long*/ lpTimerFunc);
+/** @param hdc cast=(HDC) */
public static final native boolean SetViewportExtEx (int /*long*/ hdc, int nXExtent, int nYExtent, SIZE lpSize);
+/** @param hdc cast=(HDC) */
public static final native boolean SetViewportOrgEx (int /*long*/ hdc, int X, int Y, POINT lpPoint);
+/** @param hWnd cast=(HWND) */
public static final native int SetWindowLongW (int /*long*/ hWnd, int nIndex, int dwNewLong);
+/** @param hWnd cast=(HWND) */
public static final native int SetWindowLongA (int /*long*/ hWnd, int nIndex, int dwNewLong);
+/**
+ * @param hWnd cast=(HWND)
+ * @param dwNewLong cast=(LONG_PTR)
+ */
public static final native int /*long*/ SetWindowLongPtrW (int /*long*/ hWnd, int nIndex, int /*long*/ dwNewLong);
+/**
+ * @param hWnd cast=(HWND)
+ * @param dwNewLong cast=(LONG_PTR)
+ */
public static final native int /*long*/ SetWindowLongPtrA (int /*long*/ hWnd, int nIndex, int /*long*/ dwNewLong);
+/** @param hdc cast=(HDC) */
public static final native boolean SetWindowExtEx (int /*long*/ hdc, int nXExtent, int nYExtent, SIZE lpSize);
+/** @param hdc cast=(HDC) */
public static final native boolean SetWindowOrgEx (int /*long*/ hdc, int X, int Y, POINT lpPoint);
+/** @param hWnd cast=(HWND) */
public static final native boolean SetWindowPlacement (int /*long*/ hWnd, WINDOWPLACEMENT lpwndpl);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hWndInsertAfter cast=(HWND)
+ */
public static final native boolean SetWindowPos(int /*long*/ hWnd, int /*long*/ hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hRgn cast=(HRGN)
+ */
public static final native int SetWindowRgn (int /*long*/ hWnd, int /*long*/ hRgn, boolean bRedraw);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPWSTR)
+ */
public static final native boolean SetWindowTextW (int /*long*/ hWnd, char [] lpString);
+/**
+ * @param hWnd cast=(HWND)
+ * @param lpString cast=(LPSTR)
+ */
public static final native boolean SetWindowTextA (int /*long*/ hWnd, byte [] lpString);
+/**
+ * @method flags=dynamic
+ * @param hwnd cast=(HWND)
+ * @param pszSubAppName cast=(LPCWSTR)
+ * @param pszSubIdList cast=(LPCWSTR)
+ */
public static final native int SetWindowTheme (int /*long*/ hwnd, char [] pszSubAppName, char [] pszSubIdList);
+/**
+ * @param lpfn cast=(HOOKPROC)
+ * @param hMod cast=(HINSTANCE)
+ */
public static final native int /*long*/ SetWindowsHookExW (int idHook, int /*long*/ lpfn, int /*long*/ hMod, int dwThreadId);
+/**
+ * @param lpfn cast=(HOOKPROC)
+ * @param hMod cast=(HINSTANCE)
+ */
public static final native int /*long*/ SetWindowsHookExA (int idHook, int /*long*/ lpfn, int /*long*/ hMod, int dwThreadId);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpXform cast=(XFORM *)
+ */
public static final native boolean SetWorldTransform(int /*long*/ hdc, float[] lpXform);
+/** @param lpbi cast=(LPBROWSEINFOW) */
public static final native int /*long*/ SHBrowseForFolderW (BROWSEINFO lpbi);
public static final native int /*long*/ SHBrowseForFolderA (BROWSEINFO lpbi);
+/** @param pmb cast=(PSHMENUBARINFO) */
public static final native boolean SHCreateMenuBar (SHMENUBARINFO pmb);
+/**
+ * @param pszPath cast=(LPCWSTR)
+ * @param psfi cast=(SHFILEINFOW *)
+ */
public static final native int /*long*/ SHGetFileInfoW (char [] pszPath, int dwFileAttributes, SHFILEINFOW psfi, int cbFileInfo, int uFlags);
+/**
+ * @param pszPath cast=(LPCSTR)
+ * @param psfi cast=(SHFILEINFOA *)
+ */
public static final native int /*long*/ SHGetFileInfoA (byte [] pszPath, int dwFileAttributes, SHFILEINFOA psfi, int cbFileInfo, int uFlags);
+/** @param hwnd cast=(HWND) */
public static final native boolean SHHandleWMSettingChange (int /*long*/ hwnd, int /*long*/ wParam, int /*long*/ lParam, SHACTIVATEINFO psai);
public static final native int SHRecognizeGesture (SHRGINFO shrg);
public static final native void SHSendBackToFocusWindow (int uMsg, int /*long*/ wp, int /*long*/ lp);
+/** @param hwnd cast=(HWND) */
public static final native boolean SHSipPreference (int /*long*/ hwnd, int st);
+/** @param lpExecInfo cast=(LPSHELLEXECUTEINFOW) */
public static final native boolean ShellExecuteExW (SHELLEXECUTEINFO lpExecInfo);
public static final native boolean ShellExecuteExA (SHELLEXECUTEINFO lpExecInfo);
public static final native boolean Shell_NotifyIconA (int dwMessage, NOTIFYICONDATAA lpData);
public static final native boolean Shell_NotifyIconW (int dwMessage, NOTIFYICONDATAW lpData);
+/** @param ppMalloc cast=(LPMALLOC *) */
public static final native int SHGetMalloc (int /*long*/ [] ppMalloc);
+/**
+ * @param pidl cast=(LPCITEMIDLIST)
+ * @param pszPath cast=(LPWSTR)
+ */
public static final native boolean SHGetPathFromIDListW (int /*long*/ pidl, char [] pszPath);
+/**
+ * @param pidl cast=(LPCITEMIDLIST)
+ * @param pszPath cast=(LPSTR)
+ */
public static final native boolean SHGetPathFromIDListA (int /*long*/ pidl, byte [] pszPath);
+/**
+ * @param bVk cast=(BYTE)
+ * @param hwnd cast=(HWND)
+ */
public static final native boolean SHSetAppKeyWndAssoc (byte bVk, int /*long*/ hwnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean ShowCaret (int /*long*/ hWnd);
public static final native int ShowCursor (boolean bShow);
+/** @param hWnd cast=(HWND) */
public static final native boolean ShowOwnedPopups (int /*long*/ hWnd, boolean fShow);
+/** @param hWnd cast=(HWND) */
public static final native boolean ShowScrollBar (int /*long*/ hWnd, int wBar, boolean bShow);
+/** @param hWnd cast=(HWND) */
public static final native boolean ShowWindow (int /*long*/ hWnd, int nCmdShow);
public static final native boolean SipGetInfo (SIPINFO pSipInfo);
+/**
+ * @param hdc cast=(HDC)
+ * @param lpdi cast=(LPDOCINFOW)
+ */
public static final native int StartDocW (int /*long*/ hdc, DOCINFO lpdi);
+/** @param hdc cast=(HDC) */
public static final native int StartDocA (int /*long*/ hdc, DOCINFO lpdi);
+/** @param hdc cast=(HDC) */
public static final native int StartPage (int /*long*/ hdc);
+/**
+ * @param hdcDest cast=(HDC)
+ * @param hdcSrc cast=(HDC)
+ */
public static final native boolean StretchBlt (int /*long*/ hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, int /*long*/ hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, int dwRop);
+/** @param hdc cast=(HDC) */
public static final native boolean StrokePath (int /*long*/ hdc);
public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, HIGHCONTRAST pvParam, int fWinIni);
public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, HIGHCONTRAST pvParam, int fWinIni);
@@ -4046,25 +6285,83 @@ public static final native boolean SystemParametersInfoW (int uiAction, int uiPa
public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, NONCLIENTMETRICSA pvParam, int fWinIni);
public static final native boolean SystemParametersInfoW (int uiAction, int uiParam, int [] pvParam, int fWinIni);
public static final native boolean SystemParametersInfoA (int uiAction, int uiParam, int [] pvParam, int fWinIni);
+/**
+ * @param lpKeyState cast=(PBYTE)
+ * @param lpChar cast=(LPWORD)
+ */
public static final native int ToAscii (int uVirtKey, int uScanCode, byte [] lpKeyState, short [] lpChar, int uFlags);
+/**
+ * @param lpKeyState cast=(PBYTE)
+ * @param pwszBuff cast=(LPWSTR)
+ */
public static final native int ToUnicode (int wVirtKey, int wScanCode, byte [] lpKeyState, char [] pwszBuff, int cchBuff, int wFlags);
+/**
+ * @param hwndTV cast=(HWND)
+ * @param hitem cast=(HTREEITEM)
+ */
public static final native boolean TreeView_GetItemRect (int /*long*/ hwndTV, int /*long*/ hitem, RECT prc, boolean fItemRect);
public static final native boolean TrackMouseEvent (TRACKMOUSEEVENT lpEventTrack);
+/**
+ * @param hMenu cast=(HMENU)
+ * @param hWnd cast=(HWND)
+ */
public static final native boolean TrackPopupMenu (int /*long*/ hMenu, int uFlags, int x, int y, int nReserved, int /*long*/ hWnd, RECT prcRect);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hAccTable cast=(HACCEL)
+ */
public static final native int TranslateAcceleratorW (int /*long*/ hWnd, int /*long*/ hAccTable, MSG lpMsg);
+/**
+ * @param hWnd cast=(HWND)
+ * @param hAccTable cast=(HACCEL)
+ */
public static final native int TranslateAcceleratorA (int /*long*/ hWnd, int /*long*/ hAccTable, MSG lpMsg);
+/**
+ * @param lpSrc cast=(DWORD *)
+ * @param lpCs cast=(LPCHARSETINFO)
+ */
public static final native boolean TranslateCharsetInfo (int /*long*/ lpSrc, int [] lpCs, int dwFlags);
+/**
+ * @param hWndClient cast=(HWND)
+ * @param lpMsg cast=(LPMSG)
+ */
public static final native boolean TranslateMDISysAccel (int /*long*/ hWndClient, MSG lpMsg);
public static final native boolean TranslateMessage (MSG lpmsg);
+/** @method flags=dynamic */
public static final native boolean TransparentBlt (int /*long*/ hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int hHeightDest, int /*long*/ 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 (int /*long*/ hdcDest, int DstX, int DstY, int DstCx, int DstCy,int /*long*/ hSrc, int SrcX, int SrcY, int SrcCx, int SrcCy, int TransparentColor);
+/** @param hhk cast=(HHOOK) */
public static final native boolean UnhookWindowsHookEx (int /*long*/ hhk);
+/**
+ * @param lpClassName cast=(LPWSTR)
+ * @param hInstance cast=(HINSTANCE)
+ */
public static final native boolean UnregisterClassW (char [] lpClassName, int /*long*/ hInstance);
+/**
+ * @param lpClassName cast=(LPSTR)
+ * @param hInstance cast=(HINSTANCE)
+ */
public static final native boolean UnregisterClassA (byte [] lpClassName, int /*long*/ hInstance);
+/**
+ * @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 (int /*long*/ hwnd, int /*long*/ hdcDst, POINT pptDst, SIZE psize, int /*long*/ hdcSrc, POINT pptSrc, int crKey, BLENDFUNCTION pblend, int dwFlags);
+/** @param hWnd cast=(HWND) */
public static final native boolean UpdateWindow (int /*long*/ hWnd);
+/** @param hWnd cast=(HWND) */
public static final native boolean ValidateRect (int /*long*/ hWnd, RECT lpRect);
+/** @param ch cast=(WCHAR) */
public static final native short VkKeyScanW (short ch);
+/** @param ch cast=(TCHAR) */
public static final native short VkKeyScanA (short ch);
public static final native int VtblCall (int fnNumber, int /*long*/ ppVtbl);
@@ -4086,9 +6383,24 @@ public static final native int VtblCall (int fnNumber, int /*long*/ ppVtbl, int
public static final native int VtblCall (int fnNumber, int /*long*/ ppVtbl, TF_DISPLAYATTRIBUTE arg0);
public static final native boolean WaitMessage ();
+/**
+ * @param lpWideCharStr cast=(LPCWSTR),flags=no_out critical
+ * @param lpMultiByteStr cast=(LPSTR),flags=no_in critical
+ * @param lpDefaultChar cast=(LPCSTR)
+ * @param lpUsedDefaultChar cast=(LPBOOL)
+ */
public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, byte [] lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar);
+/**
+ * @param lpWideCharStr cast=(LPCWSTR),flags=no_out critical
+ * @param lpMultiByteStr cast=(LPSTR)
+ * @param lpDefaultChar cast=(LPCSTR)
+ * @param lpUsedDefaultChar cast=(LPBOOL)
+ */
public static final native int WideCharToMultiByte (int CodePage, int dwFlags, char [] lpWideCharStr, int cchWideChar, int /*long*/ lpMultiByteStr, int cchMultiByte, byte [] lpDefaultChar, boolean [] lpUsedDefaultChar);
+/** @param hDC cast=(HDC) */
public static final native int /*long*/ WindowFromDC (int /*long*/ hDC);
+/** @param lpPoint flags=struct */
public static final native int /*long*/ WindowFromPoint (POINT lpPoint);
+/** @param string cast=(const wchar_t *) */
public static final native int wcslen (int /*long*/ string);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
index b37f65bd79..fca251f435 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
@@ -13,16 +13,26 @@ package org.eclipse.swt.internal.win32;
public class OUTLINETEXTMETRIC {
public int otmSize;
public byte otmFiller;
- public byte otmPanoseNumber_bFamilyType;
- public byte otmPanoseNumber_bSerifStyle;
- public byte otmPanoseNumber_bWeight;
- public byte otmPanoseNumber_bProportion;
- public byte otmPanoseNumber_bContrast;
- public byte otmPanoseNumber_bStrokeVariation;
- public byte otmPanoseNumber_bArmStyle;
- public byte otmPanoseNumber_bLetterform;
- public byte otmPanoseNumber_bMidline;
- public byte otmPanoseNumber_bXHeight;
+ /** @field accessor=otmPanoseNumber.bFamilyType */
+ public byte otmPanoseNumber_bFamilyType;
+ /** @field accessor=otmPanoseNumber.bSerifStyle */
+ public byte otmPanoseNumber_bSerifStyle;
+ /** @field accessor=otmPanoseNumber.bWeight */
+ public byte otmPanoseNumber_bWeight;
+ /** @field accessor=otmPanoseNumber.bProportion */
+ public byte otmPanoseNumber_bProportion;
+ /** @field accessor=otmPanoseNumber.bContrast */
+ public byte otmPanoseNumber_bContrast;
+ /** @field accessor=otmPanoseNumber.bStrokeVariation */
+ public byte otmPanoseNumber_bStrokeVariation;
+ /** @field accessor=otmPanoseNumber.bArmStyle */
+ public byte otmPanoseNumber_bArmStyle;
+ /** @field accessor=otmPanoseNumber.bLetterform */
+ public byte otmPanoseNumber_bLetterform;
+ /** @field accessor=otmPanoseNumber.bMidline */
+ public byte otmPanoseNumber_bMidline;
+ /** @field accessor=otmPanoseNumber.bXHeight */
+ public byte otmPanoseNumber_bXHeight;
public int otmfsSelection;
public int otmfsType;
public int otmsCharSlopeRise;
@@ -47,9 +57,13 @@ public class OUTLINETEXTMETRIC {
public int otmsStrikeoutPosition;
public int otmsUnderscoreSize;
public int otmsUnderscorePosition;
- public int /*long*/ otmpFamilyName;
- public int /*long*/ otmpFaceName;
- public int /*long*/ otmpStyleName;
- public int /*long*/ otmpFullName;
+ /** @field cast=(PSTR) */
+ public int /*long*/ otmpFamilyName;
+ /** @field cast=(PSTR) */
+ public int /*long*/ otmpFaceName;
+ /** @field cast=(PSTR) */
+ public int /*long*/ otmpStyleName;
+ /** @field cast=(PSTR) */
+ public int /*long*/ otmpFullName;
public static final int sizeof = OS.IsUnicode ? OS.OUTLINETEXTMETRICW_sizeof (): OS.OUTLINETEXTMETRICA_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java
index c73494f3b6..dd87f25580 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java
@@ -11,12 +11,17 @@
package org.eclipse.swt.internal.win32;
public class PAINTSTRUCT {
+ /** @field cast=(HDC) */
public int /*long*/ hdc;
public boolean fErase;
// public RECT rcPaint;
+ /** @field accessor=rcPaint.left */
public int left;
+ /** @field accessor=rcPaint.top */
public int top;
+ /** @field accessor=rcPaint.right */
public int right;
+ /** @field accessor=rcPaint.bottom */
public int bottom;
public boolean fRestore;
public boolean fIncUpdate;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java
index 98ed185434..072f1592d7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java
@@ -12,9 +12,13 @@ package org.eclipse.swt.internal.win32;
public class PRINTDLG {
public int lStructSize; // DWORD
+ /** @field cast=(HWND) */
public int /*long*/ hwndOwner; // HWND
+ /** @field cast=(HGLOBAL) */
public int /*long*/ hDevMode; // HGLOBAL
+ /** @field cast=(HGLOBAL) */
public int /*long*/ hDevNames; // HGLOBAL
+ /** @field cast=(HDC) */
public int /*long*/ hDC; // HDC
public int Flags; // DWORD
public short nFromPage; // WORD
@@ -22,13 +26,20 @@ public class PRINTDLG {
public short nMinPage; // WORD
public short nMaxPage; // WORD
public short nCopies; // WORD
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstance; // HINSTANCE
public int /*long*/ lCustData; // LPARAM
+ /** @field cast=(LPPRINTHOOKPROC) */
public int /*long*/ lpfnPrintHook; // LPPRINTHOOKPROC
+ /** @field cast=(LPPRINTHOOKPROC) */
public int /*long*/ lpfnSetupHook; // LPSETUPHOOKPROC
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpPrintTemplateName; // LPCTSTR
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpSetupTemplateName; // LPCTSTR
+ /** @field cast=(HGLOBAL) */
public int /*long*/ hPrintTemplate; // HGLOBAL
+ /** @field cast=(HGLOBAL) */
public int /*long*/ hSetupTemplate; // HGLOBAL
public static final int sizeof = OS.PRINTDLG_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java
index c9a6a3b039..fdcc17e859 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.win32;
public class PROCESS_INFORMATION {
+ /** @field cast=(HANDLE) */
public int /*long*/ hProcess;
+ /** @field cast=(HANDLE) */
public int /*long*/ hThread;
public int dwProcessId;
public int dwThreadId;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java
index 4d8cb68876..549f5488c0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java
@@ -16,13 +16,16 @@ public class REBARBANDINFO {
public int fStyle;
public int clrFore;
public int clrBack;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpText;
public int cch;
public int iImage;
+ /** @field cast=(HWND) */
public int /*long*/ hwndChild;
public int cxMinChild;
public int cyMinChild;
public int cx;
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmBack;
public int wID;
public int cyChild;
@@ -30,6 +33,7 @@ public class REBARBANDINFO {
public int cyIntegral;
public int cxIdeal;
public int /*long*/ lParam;
+ /** @field flags=no_wince */
public int cxHeader;
/* Note in WinCE. The field cxHeader is not defined. */
public static final int sizeof = OS.REBARBANDINFO_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
index 0e78281b61..f26bfdf608 100644
--- 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
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.win32;
public class SHACTIVATEINFO {
public int cbSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndLastFocus;
public int fSipUp; // :1
public int fSipOnDeactivation; // :1
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHDRAGIMAGE.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHDRAGIMAGE.java
index 1555a03627..440139f965 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHDRAGIMAGE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHDRAGIMAGE.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public final class SHDRAGIMAGE {
public SIZE sizeDragImage = new SIZE ();
public POINT ptOffset = new POINT ();
+ /** @field cast=(HBITMAP) */
public int /*long*/ hbmpDragImage;
public int crColorKey;
public static final int sizeof = OS.SHDRAGIMAGE_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java
index 2bcf5d537f..8c1f67400c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java
@@ -13,23 +13,34 @@ package org.eclipse.swt.internal.win32;
public class SHELLEXECUTEINFO {
public int cbSize;
public int fMask;
+ /** @field cast=(HWND) */
public int /*long*/ hwnd;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpVerb;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpFile;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpParameters;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpDirectory;
public int nShow;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstApp;
// Optional members
+ /** @field cast=(LPVOID) */
public int /*long*/ lpIDList;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpClass;
+ /** @field cast=(HKEY) */
public int /*long*/ hkeyClass;
public int dwHotKey;
// union {
// HANDLE hIcon;
// HANDLE hMonitor;
// };
+ /** @field cast=(HANDLE) */
public int /*long*/ hIcon;
+ /** @field cast=(HANDLE) */
public int /*long*/ hProcess;
public static final int sizeof = OS.SHELLEXECUTEINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHFILEINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHFILEINFO.java
index 6a8205fdb5..b2db1a2dc9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHFILEINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHFILEINFO.java
@@ -11,6 +11,7 @@
package org.eclipse.swt.internal.win32;
public class SHFILEINFO {
+ /** @field cast=(HICON) */
public int /*long*/ hIcon;
public int iIcon;
public int dwAttributes;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java
index 176a00031c..f646fd9bd3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java
@@ -12,12 +12,15 @@ package org.eclipse.swt.internal.win32;
public class SHMENUBARINFO {
public int cbSize;
+ /** @field cast=(HWND) */
public int /*long*/ hwndParent;
public int dwFlags;
public int nToolBarId;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstRes;
public int nBmpId;
public int cBmpImages;
+ /** @field cast=(HWND) */
public int /*long*/ hwndMB;
public static final int sizeof = OS.IsSP ? 36 : 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
index 93ea7337b9..f496f6fd63 100644
--- 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
@@ -12,9 +12,12 @@ package org.eclipse.swt.internal.win32;
public class SHRGINFO {
public int cbSize;
+ /** @field cast=(HWND) */
public int /*long*/ 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
index b6f3dc5205..675d08571e 100644
--- 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
@@ -14,16 +14,25 @@ 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 int /*long*/ pvImData;
public static final int sizeof = OS.SIPINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java
index 140c3d843b..68ce53d7b6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java
@@ -12,8 +12,11 @@ package org.eclipse.swt.internal.win32;
public class STARTUPINFO {
public int cb;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpReserved;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpDesktop;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpTitle;
public int dwX;
public int dwY;
@@ -25,9 +28,13 @@ public class STARTUPINFO {
public int dwFlags;
public short wShowWindow;
public short cbReserved2;
+ /** @field cast=(LPBYTE) */
public int /*long*/ lpReserved2;
+ /** @field cast=(HANDLE) */
public int /*long*/ hStdInput;
+ /** @field cast=(HANDLE) */
public int /*long*/ hStdOutput;
+ /** @field cast=(HANDLE) */
public int /*long*/ hStdError;
public static int sizeof = OS.STARTUPINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java
index cd2dc2c229..8102050194 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java
@@ -19,6 +19,7 @@ public class TBBUTTONINFO {
public byte fsStyle;
public short cx;
public int /*long*/ lParam;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
public int cchText;
public static final int sizeof = OS.TBBUTTONINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java
index a1155ef999..55992d84da 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java
@@ -18,8 +18,9 @@ package org.eclipse.swt.internal.win32;
* Note that unicode characters which can not be found in the platform
* encoding will be converted to an arbitrary platform specific character.
* </p>
+ *
+ * @jniclass flags=no_gen
*/
-
public class TCHAR {
int codePage;
public char [] chars;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHITTESTINFO.java
index e6a4fa6a71..70d6505f9b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHITTESTINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHITTESTINFO.java
@@ -12,7 +12,9 @@ package org.eclipse.swt.internal.win32;
public class TCHITTESTINFO {
// POINT pt;
+ /** @field accessor=pt.x */
public int x;
+ /** @field accessor=pt.y */
public int y;
public int flags;
public static int sizeof = OS.TCHITTESTINFO_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java
index 91d6c8a4f0..ca945c98e5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java
@@ -14,6 +14,7 @@ public class TCITEM {
public int mask;
public int dwState;
public int dwStateMask;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
public int cchTextMax;
public int iImage;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java
index a50257da7d..ce84cf5071 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java
@@ -13,16 +13,24 @@ package org.eclipse.swt.internal.win32;
public class TOOLINFO {
public int cbSize;
public int uFlags;
+ /** @field cast=(HWND) */
public int /*long*/ hwnd;
public int /*long*/ uId;
// public RECT rect;
+ /** @field accessor=rect.left */
public int left;
+ /** @field accessor=rect.top */
public int top;
+ /** @field accessor=rect.right */
public int right;
+ /** @field accessor=rect.bottom */
public int bottom;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hinst;
+ /** @field cast=(LPTSTR) */
public int /*long*/ lpszText;
public int /*long*/ lParam;
+ /** @field cast=(void *) */
public int /*long*/ lpReserved;
public static int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1) ? OS.TOOLINFO_sizeof () : 44;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java
index c96a1569f6..27eca8842a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java
@@ -13,6 +13,7 @@ package org.eclipse.swt.internal.win32;
public class TRACKMOUSEEVENT {
public int cbSize;
public int dwFlags;
+ /** @field cast=(HWND) */
public int /*long*/ hwndTrack;
public int dwHoverTime;
public static final int sizeof = OS.TRACKMOUSEEVENT_sizeof ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java
index 5a297c6a56..0231335dde 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java
@@ -12,9 +12,12 @@ package org.eclipse.swt.internal.win32;
public class TVHITTESTINFO {
// POINT pt;
+ /** @field accessor=pt.x */
public int x;
+ /** @field accessor=pt.y */
public int y;
public int flags;
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hItem;
public static int sizeof = OS.TVHITTESTINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
index 77de651ffb..786edf7208 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
@@ -11,19 +11,32 @@
package org.eclipse.swt.internal.win32;
public class TVINSERTSTRUCT {
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hParent;
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hInsertAfter;
// public TVITEMEX item;
+ /** @field accessor=item.mask */
public int mask;
+ /** @field accessor=item.hItem,cast=(HTREEITEM) */
public int /*long*/ hItem;
+ /** @field accessor=item.state */
public int state;
+ /** @field accessor=item.stateMask */
public int stateMask;
+ /** @field accessor=item.pszText,cast=(LPTSTR) */
public int /*long*/ pszText;
- public int cchTextMax;
- public int iImage;
- public int iSelectedImage;
+ /** @field accessor=item.cchTextMax */
+ public int cchTextMax;
+ /** @field accessor=item.iImage */
+ public int iImage;
+ /** @field accessor=item.iSelectedImage */
+ public int iSelectedImage;
+ /** @field accessor=item.cChildren */
public int cChildren;
+ /** @field accessor=item.lParam */
public int /*long*/ lParam;
+ /** @field accessor=itemex.iIntegral,flags=no_wince */
public int iIntegral;
public static final int sizeof = OS.TVINSERTSTRUCT_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
index 12838ac42d..c3c98fc3e3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
@@ -12,9 +12,11 @@ package org.eclipse.swt.internal.win32;
public class TVITEM {
public int mask;
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hItem;
public int state;
public int stateMask;
+ /** @field cast=(LPTSTR) */
public int /*long*/ pszText;
public int cchTextMax;
public int iImage;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVSORTCB.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVSORTCB.java
index 36b01b34b2..79e6a2bdee 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVSORTCB.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVSORTCB.java
@@ -11,8 +11,11 @@
package org.eclipse.swt.internal.win32;
public class TVSORTCB {
+ /** @field cast=(HTREEITEM) */
public int /*long*/ hParent;
+ /** @field cast=(PFNTVCOMPARE) */
public int /*long*/ lpfnCompare;
+ /** @field cast=(LPARAM) */
public int /*long*/ lParam;
public static final int sizeof = OS.TVSORTCB_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java
index 34fab319c7..4b37710ea5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java
@@ -15,15 +15,23 @@ public class WINDOWPLACEMENT {
public int flags;
public int showCmd;
// POINT ptMinPosition;
+ /** @field accessor=ptMinPosition.x */
public int ptMinPosition_x;
+ /** @field accessor=ptMinPosition.y */
public int ptMinPosition_y;
// POINT ptMaxPosition;
+ /** @field accessor=ptMaxPosition.x */
public int ptMaxPosition_x;
+ /** @field accessor=ptMaxPosition.y */
public int ptMaxPosition_y;
// RECT rcNormalPosition;
+ /** @field accessor=rcNormalPosition.left */
public int left;
+ /** @field accessor=rcNormalPosition.top */
public int top;
+ /** @field accessor=rcNormalPosition.right */
public int right;
+ /** @field accessor=rcNormalPosition.bottom */
public int bottom;
public static final int sizeof = OS.WINDOWPLACEMENT_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java
index 10660af108..ac5cc411c9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java
@@ -11,7 +11,9 @@
package org.eclipse.swt.internal.win32;
public class WINDOWPOS {
+ /** @field cast=(HWND) */
public int /*long*/ hwnd;
+ /** @field cast=(HWND) */
public int /*long*/ hwndInsertAfter;
public int x;
public int y;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java
index 1a8dc56141..dc15d1a7b6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java
@@ -12,14 +12,21 @@ package org.eclipse.swt.internal.win32;
public class WNDCLASS {
public int style;
+ /** @field cast=(WNDPROC) */
public int /*long*/ lpfnWndProc;
public int cbClsExtra;
public int cbWndExtra;
+ /** @field cast=(HINSTANCE) */
public int /*long*/ hInstance;
+ /** @field cast=(HICON) */
public int /*long*/ hIcon;
+ /** @field cast=(HCURSOR) */
public int /*long*/ hCursor;
+ /** @field cast=(HBRUSH) */
public int /*long*/ hbrBackground;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszMenuName;
+ /** @field cast=(LPCTSTR) */
public int /*long*/ lpszClassName;
public static final int sizeof = OS.WNDCLASS_sizeof ();
}