Examples of ULONG


Examples of com.sun.jna.platform.win32.WinDef.ULONG

     * @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);

View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.ULONG

     */
    public FindName FindName(String name, int hashVal, short found) {
        /* [annotation][out][in] */
        BSTRByReference szNameBuf = new BSTRByReference(
                OleAuto.INSTANCE.SysAllocString(name));
        /* [in] */ULONG lHashVal = new ULONG(hashVal);
        /* [out][in] */USHORTByReference pcFound = new USHORTByReference(found);

        HRESULT hr = this.typelib.FindName(szNameBuf, lHashVal, null, null,
                pcFound);
        COMUtils.checkRC(hr);
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.ULONG

            super(pointer);
            this.read();
        }

        public SAFEARRAYBOUND(int cElements, int lLbound) {
            this.cElements = new ULONG(cElements);
            this.lLbound = new LONG(lLbound);
            this.write();
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.ULONG

    }

    public void testFindName() {
        ITypeLib shellTypeLib = loadShellTypeLib();
        BSTRByReference szNameBuf = new BSTRByReference(OleAuto.INSTANCE.SysAllocString("Application"));
        ULONG lHashVal = new ULONG(0);
        USHORTByReference pcFound = new USHORTByReference((short)20);

        HRESULT hr = shellTypeLib.FindName(szNameBuf, lHashVal, null, null, pcFound);

        COMUtils.checkRC(hr);
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.ULONG

        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);
        typeAttr.cbSizeVft = new WORD(9);
View Full Code Here

Examples of org.jooq.tools.unsigned.ULong

            String string = stream.readString();
            return (T) (string == null ? null : new UInteger(string));
        }
        else if (type == ULong.class) {
            String string = stream.readString();
            return (T) (string == null ? null : new ULong(string));
        }

        // The type byte[] is handled earlier. byte[][] can be handled here
        else if (type.isArray()) {
            Array result = stream.readArray();
View Full Code Here

Examples of org.jooq.tools.unsigned.ULong

            String string = rs.getString(index);
            return (T) (string == null ? null : new UInteger(string));
        }
        else if (type == ULong.class) {
            String string = rs.getString(index);
            return (T) (string == null ? null : new ULong(string));
        }

        // The type byte[] is handled earlier. byte[][] can be handled here
        else if (type.isArray()) {
            switch (ctx.getDialect()) {
View Full Code Here

Examples of org.jooq.tools.unsigned.ULong

            String string = stmt.getString(index);
            return (T) (string == null ? null : new UInteger(string));
        }
        else if (type == ULong.class) {
            String string = stmt.getString(index);
            return (T) (string == null ? null : new ULong(string));
        }

        // The type byte[] is handled earlier. byte[][] can be handled here
        else if (type.isArray()) {
            return (T) convertArray(stmt.getObject(index), (Class<? extends Object[]>)type);
View Full Code Here

Examples of org.jooq.tools.unsigned.ULong

        }
        else if (type == UInteger.class) {
            return (T) new UInteger(string);
        }
        else if (type == ULong.class) {
            return (T) new ULong(string);
        }
        else if (type.isArray()) {
            return (T) pgNewArray(type, string);
        }
        else if (ArrayRecord.class.isAssignableFrom(type)) {
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.