RtlComputeCrc32 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

//
// Misc.
//

/**
 * The RtlComputeCrc32 routine computes the CRC32 checksum for a buffer, allowing for incremental computation by providing a partial CRC value.
 *
 * \param PartialCrc The initial CRC32 value. Use 0 for a new computation, or the result of a previous call to continue CRC calculation over additional data.
 * \param Buffer Pointer to the buffer containing the data to compute the CRC32 for.
 * \param Length The length, in bytes, of the buffer.
 * \return The computed CRC32 value.
 */
NTSYSAPI
ULONG32
NTAPI
RtlComputeCrc32(
    _In_ ULONG32 PartialCrc,
    _In_ PVOID Buffer,
    _In_ ULONG Length
    );

#endif

View code on GitHub

NtDoc

No description available.