KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > ole > win32 > IViewObject2


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.internal.ole.win32;
12
13 import org.eclipse.swt.internal.win32.*;
14
15 public class IViewObject2 extends IUnknown
16 {
17 public IViewObject2(int /*long*/ address) {
18     super(address);
19 }
20 public int GetExtent(int dwAspect, int lindex, DVTARGETDEVICE ptd, SIZE lpsizel) {
21     return COM.VtblCall(9, address, dwAspect, lindex, ptd, lpsizel);
22 }
23 public int SetAdvise(int dwAspects, int dwAdvf, int /*long*/ pIAdviseSink) {
24     return COM.VtblCall(7, address, dwAspects, dwAdvf, pIAdviseSink);
25 }
26 }
27
Popular Tags