Examples of HREFTYPEByReference


Examples of com.sun.jna.platform.win32.OaIdl.HREFTYPEByReference

        //System.out.println("pcNames: " + pcNames.getValue().intValue());
    }

    public void testGetRefTypeOfImplType() {
        ITypeInfo typeInfo = getTypeInfo();
        HREFTYPEByReference pRefType = new HREFTYPEByReference();
        HRESULT hr = typeInfo.GetRefTypeOfImplType(new UINT(0), pRefType);

        COMUtils.checkRC(hr);
        assertEquals(0, hr.intValue());
        //System.out.println("GetRefTypeOfImplType: " + pRefType.toString());
View Full Code Here

Examples of com.sun.jna.platform.win32.OaIdl.HREFTYPEByReference

     * @param index
     *            the index
     * @return the ref type of impl type
     */
    public HREFTYPE getRefTypeOfImplType(int index) {
        HREFTYPEByReference ppTInfo = new HREFTYPEByReference();
        HRESULT hr = this.typeInfo.GetRefTypeOfImplType(new UINT(index),
                ppTInfo);
        COMUtils.checkRC(hr);

        return ppTInfo.getValue();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.