]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/win32/TOOLINFO.java
e14f703c56fdb5231734195fe0710ea1454bbd83
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / internal / win32 / TOOLINFO.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2012 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.internal.win32;
15
16 public class TOOLINFO {
17         public int cbSize;
18         public int uFlags;
19         /** @field cast=(HWND) */
20         public long hwnd;
21         public long uId;
22 //      public RECT rect;
23         /** @field accessor=rect.left */
24         public int left;
25         /** @field accessor=rect.top */
26         public int top;
27         /** @field accessor=rect.right */
28         public int right;
29         /** @field accessor=rect.bottom */
30         public int bottom;
31         /** @field cast=(HINSTANCE) */
32         public long hinst;
33         /** @field cast=(LPTSTR) */
34         public long lpszText;
35         public long lParam;
36         /** @field cast=(void *) */
37         public long lpReserved;
38         public static int sizeof = OS.TOOLINFO_sizeof ();
39 }