Package ctypes.java

Examples of ctypes.java.CInt


     
      FILETIME zeroFileTime = new FILETIME();
      FILETIME UNIXepochFileTime = new FILETIME();

      Object[] ary1 = { zeroTime, zeroFileTime };
      CInt o = (CInt) systemTimeToFileTime.call(CInt.class, ary1,
          CFunction.FUNCFLAG_STDCALL);
      assertTrue(o.getValue() != 0);

      Object[] ary2 = { UNIXepochTime, UNIXepochFileTime };
      CInt o1 = (CInt) systemTimeToFileTime.call(CInt.class, ary2,
          CFunction.FUNCFLAG_STDCALL);
      assertTrue(o.getValue() != 0);
     
      long zeroCount = (zeroFileTime.dwHighDateTime.getValue() << 32) + (zeroFileTime.dwLowDateTime.getValue());
      long hi = U32Jint2Jlong(UNIXepochFileTime.dwHighDateTime.getValue());
View Full Code Here

TOP

Related Classes of ctypes.java.CInt

Copyright © 2018 www.massapicom. 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.