1 11 package org.eclipse.swt.internal.ole.win32; 12 13 public class IDataObject extends IUnknown { 14 public IDataObject(int address) { 15 super(address); 16 } 17 public int EnumFormatEtc(int dwDirection, int [] ppenumFormatetc) { 18 return COM.VtblCall(8, address, dwDirection, ppenumFormatetc); 19 } 20 public int GetData(FORMATETC pFormatetc, STGMEDIUM pmedium) { 21 return COM.VtblCall(3, address, pFormatetc, pmedium); 26 } 27 public int GetDataHere(FORMATETC pFormatetc, STGMEDIUM pmedium) { 28 return COM.VtblCall(4, address, pFormatetc, pmedium); 32 } 33 public int QueryGetData(FORMATETC pFormatetc) { 34 return COM.VtblCall(5, address, pFormatetc); 35 } 36 public int SetData( 37 FORMATETC pFormatetc, STGMEDIUM pmedium, boolean fRelease ){ 41 return COM.VtblCall(7, address, pFormatetc, pmedium, fRelease); 42 } 43 } 44 | Popular Tags |