1 11 package org.eclipse.swt.internal.ole.win32; 12 13 public class IOleCommandTarget extends IUnknown { 14 public IOleCommandTarget(int address) { 15 super(address); 16 } 17 public int Exec( 18 GUID pguidCmdGroup, int nCmdID, int nCmdExecOpt, int pvaIn, int pvaOut ){ 24 return COM.VtblCall(4, address, pguidCmdGroup, nCmdID, nCmdExecOpt, pvaIn, pvaOut); 25 } 26 public int QueryStatus( 27 GUID pguidCmdGroup, int cCmds, OLECMD prgCmds, OLECMDTEXT pCmdText ){ 32 if (cCmds > 1) return COM.E_INVALIDARG; 34 return COM.VtblCall(3, address, pguidCmdGroup, cCmds, prgCmds, pCmdText); 35 } 36 } 37 | Popular Tags |