/*******************************************************************************
 * Copyright (c) 2000, 2012 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.internal.win32;

public class TOOLINFO {
	public int cbSize;
	public int uFlags;
	/** @field cast=(HWND) */
	public long /*int*/ hwnd;
	public long /*int*/ 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 long /*int*/ hinst;
	/** @field cast=(LPTSTR) */
	public long /*int*/ lpszText;
	public long /*int*/ lParam;
	/** @field cast=(void *) */
	public long /*int*/ lpReserved;
	public static int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1) ? OS.TOOLINFO_sizeof () : 44;
}
