/** Add <code>[in]</code> parameter of the type <code>clazz</code> at the end of the out parameter list. * * @param clazz * @param FLAGS */ public void addInParamAsType(Class clazz, int FLAGS) { callObject.addOutParamAsType(clazz,FLAGS); }
public int getTypeInfoCount() throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(0); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return ((Integer)result[0]).intValue(); }
public int getTypeInfoCount() throws JIException { JICallBuilder obj = new JICallBuilder(true); obj.setOpnum(0); obj.addInParamAsInt(0, JIFlags.FLAG_NULL); obj.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(obj); return ((Integer)result[0]).intValue(); }
public int getTypeInfoType(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(2); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return ((Integer)result[0]).intValue(); }
public int getImplTypeFlags(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(6); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); return ((Integer)(((Object[])comObject.call(callObject))[0])).intValue(); }
public int getTypeInfoCount() throws JIException { JICallBuilder obj = new JICallBuilder(true); obj.setOpnum(0); obj.addInParamAsInt(0, JIFlags.FLAG_NULL); obj.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(obj); return ((Integer)result[0]).intValue(); }
@Override public int getTypeInfoCount () throws JIException { final JICallBuilder obj = new JICallBuilder ( true ); obj.setOpnum ( 0 ); obj.addInParamAsInt ( 0, JIFlags.FLAG_NULL ); obj.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL ); final Object[] result = this.comObject.call ( obj ); return ( (Integer)result[0] ).intValue (); }
public int getRefTypeOfImplType(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(5); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); return ((Integer)(((Object[])comObject.call(callObject))[0])).intValue(); }
public int getRefTypeOfImplType(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(5); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); return ((Integer)(((Object[])comObject.call(callObject))[0])).intValue(); }
public IJITypeInfo getTypeInfo(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(1); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return (IJITypeInfo) JIObjectFactory.narrowObject((IJIComObject)result[0]); }
@Override public IJITypeInfo getTypeInfoOfGuid ( final String uuid ) throws JIException { final JICallBuilder callObject = new JICallBuilder ( true ); callObject.setOpnum ( 3 ); callObject.addInParamAsUUID ( uuid, JIFlags.FLAG_NULL ); callObject.addOutParamAsType ( IJIComObject.class, JIFlags.FLAG_NULL ); final Object[] result = this.comObject.call ( callObject ); return (IJITypeInfo)JIObjectFactory.narrowObject ( (IJIComObject)result[0] ); }
public IJIComObject createInstance(String riid) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(13); callObject.addInParamAsUUID(riid,JIFlags.FLAG_NULL); callObject.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return JIObjectFactory.narrowObject((IJIComObject)result[0]); }
@Override public IJITypeInfo getTypeInfo ( final int index ) throws JIException { final JICallBuilder callObject = new JICallBuilder ( true ); callObject.setOpnum ( 1 ); callObject.addInParamAsInt ( index, JIFlags.FLAG_NULL ); callObject.addOutParamAsType ( IJIComObject.class, JIFlags.FLAG_NULL ); final Object[] result = this.comObject.call ( callObject ); return (IJITypeInfo)JIObjectFactory.narrowObject ( (IJIComObject)result[0] ); }
public IJIComObject createInstance(String riid) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(13); callObject.addInParamAsUUID(riid,JIFlags.FLAG_NULL); callObject.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return JIObjectFactory.narrowObject((IJIComObject)result[0]); }
@Override public IJITypeInfo getRefTypeInfo ( final int hrefType ) throws JIException { final JICallBuilder callObject = new JICallBuilder ( true ); callObject.setOpnum ( 11 ); callObject.addInParamAsInt ( hrefType, JIFlags.FLAG_NULL ); callObject.addOutParamAsType ( IJIComObject.class, JIFlags.FLAG_NULL ); final Object[] result = this.comObject.call ( callObject ); return (IJITypeInfo)JIObjectFactory.narrowObject ( (IJIComObject)result[0] ); }
public IJITypeInfo getTypeInfo(int index) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(1); callObject.addInParamAsInt(index,JIFlags.FLAG_NULL); callObject.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return (IJITypeInfo) JIObjectFactory.narrowObject((IJIComObject)result[0]); }
public IJITypeInfo getRefTypeInfo(int hrefType) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(11); callObject.addInParamAsInt(hrefType,JIFlags.FLAG_NULL); callObject.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return (IJITypeInfo) JIObjectFactory.narrowObject((IJIComObject)result[0]); }
public IJITypeInfo getTypeInfo(int typeInfo) throws JIException { JICallBuilder obj = new JICallBuilder(true); obj.setOpnum(1); obj.addInParamAsInt(typeInfo,JIFlags.FLAG_NULL); obj.addInParamAsInt(0x400,JIFlags.FLAG_NULL); obj.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); //obj.setUpParams(new Object[]{new Integer(typeInfo),new Integer(0x400)},new Object[]{MInterfacePointer.class},JIFlags.FLAG_NULL,JIFlags.FLAG_NULL); Object[] result = comObject.call(obj); return (IJITypeInfo)JIObjectFactory.narrowObject((IJIComObject)result[0]); }
public Object[] next(int celt) throws JIException { JICallBuilder callObject = new JICallBuilder(true); callObject.setOpnum(0); callObject.addInParamAsInt(celt,JIFlags.FLAG_NULL); callObject.addOutParamAsObject(new JIArray(JIVariant.class,null,1,true,true),JIFlags.FLAG_NULL); callObject.addOutParamAsType(Integer.class,JIFlags.FLAG_NULL); Object[] result = comObject.call(callObject); return result; }
public IJITypeInfo getTypeInfo(int typeInfo) throws JIException { JICallBuilder obj = new JICallBuilder(true); obj.setOpnum(1); obj.addInParamAsInt(typeInfo,JIFlags.FLAG_NULL); obj.addInParamAsInt(0x400,JIFlags.FLAG_NULL); obj.addOutParamAsType(IJIComObject.class,JIFlags.FLAG_NULL); //obj.setUpParams(new Object[]{new Integer(typeInfo),new Integer(0x400)},new Object[]{MInterfacePointer.class},JIFlags.FLAG_NULL,JIFlags.FLAG_NULL); Object[] result = comObject.call(obj); return (IJITypeInfo)JIObjectFactory.narrowObject((IJIComObject)result[0]); }