myFILETIME getFileTimeDiff(myFILETIME ftStart, myFILETIME ftEnd) { myFILETIME ftDiff = new myFILETIME(); UInt64 uStart = (((UInt64)ftStart.dwHighDateTime) << 32) + ftStart.dwLowDateTime; UInt64 uEnd = (((UInt64)ftEnd.dwHighDateTime) << 32) + ftEnd.dwLowDateTime; UInt64 uDiff = uEnd - uStart; return(ftDiff); }
myFILETIME getFileTimeDiff(myFILETIME ftStart, myFILETIME ftEnd) { myFILETIME ftDiff = new myFILETIME(); UInt64 uStart = (((UInt64)ftStart.dwHighDateTime) << 32) + ftStart.dwLowDateTime; UInt64 uEnd = (((UInt64)ftEnd.dwHighDateTime) << 32) + ftEnd.dwLowDateTime; UInt64 uDiff = uEnd - uStart; return ftDiff; }