Beispiel #1
0
 public int GetChecksum(ref Guid guidAlgorithm, CHECKSUM_DATA[] checksumData)
 {
     if (DocumentPosition != null)
     {
         return(DocumentPosition.GetChecksum(ref guidAlgorithm, checksumData));
     }
     else
     {
         checksumData[0].ByteCount = 0;
         checksumData[0].pBytes    = IntPtr.Zero;
         return(HRConstants.E_FAIL);
     }
 }