summaryrefslogtreecommitdiffstats
path: root/private/unimodem/new/mic/chksum.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/unimodem/new/mic/chksum.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/unimodem/new/mic/chksum.h')
-rw-r--r--private/unimodem/new/mic/chksum.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/private/unimodem/new/mic/chksum.h b/private/unimodem/new/mic/chksum.h
new file mode 100644
index 000000000..e5af9e49f
--- /dev/null
+++ b/private/unimodem/new/mic/chksum.h
@@ -0,0 +1,23 @@
+//
+// Copyright (c) 1996 Microsoft Corporation
+//
+//
+// CHKSUM.H -- Header for Checksum computation
+//
+// History:
+// 05/24/96 JosephJ Created
+//
+//
+#ifndef _CHKSUM_H_
+#define _CHKSUM_H_
+
+//---------------- ::Checksum -----------------------------------
+// Compute a 32-bit checksum of the specified bytes
+// 0 is retured if pb==NULL or cb==0
+DWORD Checksum(const BYTE *pb, UINT cb);
+
+//---------------- ::AddToChecksumDW ----------------------------
+// Set *pdwChkSum to a new checksum, computed using it's previous value and dw.
+void AddToChecksumDW(DWORD *pdwChkSum, DWORD dw);
+
+#endif // _CHKSUM_H_