Examples of LPOLESTR


Examples of com.sun.jna.platform.win32.WTypes.LPOLESTR

     *            the hash val
     * @return the checks if is name
     */
    public IsName IsName(String nameBuf, int hashVal) {

        LPOLESTR szNameBuf = new LPOLESTR(nameBuf);
        ULONG lHashVal = new ULONG(hashVal);
        BOOLByReference pfName = new BOOLByReference();

        HRESULT hr = this.typelib.IsName(szNameBuf, lHashVal, pfName);
        COMUtils.checkRC(hr);

        return new IsName(szNameBuf.getValue(), pfName.getValue()
                .booleanValue());
    }
View Full Code Here

Examples of com.sun.jna.platform.win32.WTypes.LPOLESTR

        //System.out.println("GetImplTypeFlags: " + pImplTypeFlags.toString());
    }

    public void testGetIDsOfNames() {
        ITypeInfo typeInfo = getTypeInfo();
        LPOLESTR[] rgszNames = { new LPOLESTR("Help") };
        UINT cNames = new UINT(1);
        MEMBERID[] pMemId = new MEMBERID[1];
        HRESULT hr = typeInfo.GetIDsOfNames(rgszNames, cNames, pMemId);

        COMUtils.checkRC(hr);
View Full Code Here

Examples of com.sun.jna.platform.win32.WTypes.LPOLESTR

            .fromString("{50A7E9B0-70EF-11D1-B75A-00A0C90564FE}");
        typeAttr.lcid = Kernel32.INSTANCE.GetSystemDefaultLCID();
        typeAttr.dwReserved = new DWORD(1);
        typeAttr.memidConstructor = new MEMBERID(2);
        typeAttr.memidDestructor = new MEMBERID(3);
        typeAttr.lpstrSchema = new LPOLESTR("Hello World");
        typeAttr.cbSizeInstance = new ULONG(4);
        typeAttr.typekind = new TYPEKIND(5);
        typeAttr.cFuncs = new WORD(6);
        typeAttr.cVars = new WORD(7);
        typeAttr.cImplTypes = new WORD(8);
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.