01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
11:
12: import org.eclipse.swt.internal.win32.*;
13:
14: public class IViewObject2 extends IUnknown {
15: public IViewObject2(int /*long*/address) {
16: super (address);
17: }
18:
19: public int GetExtent(int dwAspect, int lindex, DVTARGETDEVICE ptd,
20: SIZE lpsizel) {
21: return COM.VtblCall(9, address, dwAspect, lindex, ptd, lpsizel);
22: }
23:
24: public int SetAdvise(int dwAspects, int dwAdvf,
25: int /*long*/pIAdviseSink) {
26: return COM
27: .VtblCall(7, address, dwAspects, dwAdvf, pIAdviseSink);
28: }
29: }
|