SnapChkSum (Compact 2013)

3/28/2014

This sample code function computes a checksum for a given range of memory.

Syntax

DWORD SnapChkSum(
    LPCVOID pData,
    DWORD cbData );

Parameters

  • pData
    Starting address of the buffer.
  • cbData
    Size of the buffer in bytes.

Return Value

The checksum value.

Requirements

Header

snapboot.h

Library

coredll.lib

See Also

Reference

Snapshot Boot Functions
Snapshot Boot Reference

Other Resources

Snapshot Boot Development
Snapshot Boot Sample Code