1 /*******************************************************************************
2 * Copyright (c) 2000, 2012 IBM Corporation and others.
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/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal.ole.win32;
16 public final class TYPEATTR {
18 /** @field accessor=guid.Data1 */
19 public int guid_Data1;
20 /** @field accessor=guid.Data2 */
21 public short guid_Data2;
22 /** @field accessor=guid.Data3 */
23 public short guid_Data3;
24 /** @field accessor=guid.Data4 */
25 public byte[] guid_Data4 = new byte[8];
27 public int dwReserved;
28 public int memidConstructor;
29 public int memidDestructor;
30 /** @field cast=(OLECHAR FAR *) */
31 public long lpstrSchema;
32 public int cbSizeInstance;
36 public short cImplTypes;
37 public short cbSizeVft;
38 public short cbAlignment;
39 public short wTypeFlags;
40 public short wMajorVerNum;
41 public short wMinorVerNum;
42 // TYPEDESC tdescAlias
43 /** @field accessor=tdescAlias.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR *) */
44 public long tdescAlias_unionField;
45 /** @field accessor=tdescAlias.vt */
46 public short tdescAlias_vt;
47 // IDLDESC idldesctype
48 /** @field accessor=idldescType.dwReserved */
49 public int idldescType_dwReserved;
50 /** @field accessor=idldescType.wIDLFlags */
51 public short idldescType_wIDLFlags;
52 public static final int sizeof = COM.TYPEATTR_sizeof ();