/// <summary>
 /// Create an instance of OLD_LARGE_INTEGER.
 /// </summary>
 /// <param name="value">A int64 value.</param>
 /// <returns>Created OLD_LARGE_INTEGER structure.</returns>
 public static _OLD_LARGE_INTEGER ToOldLargeInteger(long value)
 {
     _OLD_LARGE_INTEGER integer = new _OLD_LARGE_INTEGER();
     byte[] buf = BitConverter.GetBytes(value);
     integer.LowPart = BitConverter.ToUInt32(buf, 0);
     integer.HighPart = BitConverter.ToInt32(buf, 4);
     return integer;
 }
 /// <summary>
 /// Read int64 value from _OLD_LARGE_INTEGER.
 /// </summary>
 /// <param name="value">A _OLD_LARGE_INTEGER structure.</param>
 /// <returns>The value in the structure.</returns>
 public static long ToInt64(_OLD_LARGE_INTEGER value)
 {
     return ((long)value.HighPart << 32) + (long)value.LowPart;
 }