Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
681 B

/*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
REGCRC.H
Abstract:
History:
--*/
#include <windows.h>
#include <stdio.h>
#include <wbemcomn.h>
#include <crc32.h>
class CRegCRC
{
public:
static HRESULT ComputeValueCRC(HKEY hKey, LPCTSTR szValueName,
DWORD dwPrevCRC, DWORD& dwNewCRC);
static HRESULT ComputeKeyValuesCRC(HKEY hKey, DWORD dwPrevCRC,
DWORD& dwNewCRC);
static HRESULT ComputeKeyCRC(HKEY hKey, DWORD dwPrevCRC, DWORD& dwNewCRC);
static HRESULT ComputeTreeCRC(HKEY hKey, DWORD dwPrevCRC, DWORD& dwNewCRC);
};