1 11 package org.eclipse.swt.internal.ole.win32; 12 13 public class IStream extends IUnknown { 14 public IStream(int address) { 15 super(address); 16 } 17 public int Clone( 18 int [] ppstm ){ 20 return COM.VtblCall(13, address, ppstm); 21 } 22 public int Commit( int grfCommitFlags ){ 24 return COM.VtblCall(8, address, grfCommitFlags); 25 } 26 public int Read(int pv, int cb, int[] pcbWritten) { 27 return COM.VtblCall(3, address, pv, cb, pcbWritten); 28 } 29 public int Revert(){ 30 return COM.VtblCall(9, address); 31 } 32 public int Write(int pv, int cb, int[] pcbWritten) { 33 return COM.VtblCall(4, address, pv, cb, pcbWritten); 34 } 35 } 36 | Popular Tags |