At 1:35 PM -0400 on 8/11/99, [EMAIL PROTECTED] wrote:

>Can someone elaborate on the last parameter of this function?
>In the doc it is   "crc     Seed crc value". What purpose does
>this serve, and how does it need to be set to get the proper
>crc. Different values give different end results.

The first time you call Crc16CalcBlock, pass zero.

If you need to call it multiple times (because you want to CRC more 
than 64K of data, or because you want to do other processing during a 
long computation), then you can call it repeatedly, passing in the 
return value from the previous call (assuming you set bufP += count 
before calling again).

Hope this helps,
--Steve

Reply via email to