Esempio n. 1
0
        static internal Int64 LargeIntToInt64(UnsafeNativeMethods.IADsLargeInteger largeInt)
        {
            uint  lowPart  = (uint)largeInt.LowPart;
            uint  highPart = (uint)largeInt.HighPart;
            Int64 i        = (long)(((ulong)lowPart) | (((ulong)highPart) << 32));

            return(i);
        }
Esempio n. 2
0
        internal static long LargeIntToInt64(UnsafeNativeMethods.IADsLargeInteger largeInt)
        {
            int  lowPart  = largeInt.LowPart;
            int  highPart = largeInt.HighPart;
            long num      = (long)lowPart | (long)highPart << 32;

            return(num);
        }