Leaked source code of windows server 2003
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
711 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);
};