31 lines
681 B
C
31 lines
681 B
C
|
/*++
|
||
|
|
||
|
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);
|
||
|
};
|
||
|
|