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

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. REGCRC.H
  5. Abstract:
  6. History:
  7. --*/
  8. #include <windows.h>
  9. #include <stdio.h>
  10. #include <wbemcomn.h>
  11. #include <crc32.h>
  12. class CRegCRC
  13. {
  14. public:
  15. static HRESULT ComputeValueCRC(HKEY hKey, LPCTSTR szValueName,
  16. DWORD dwPrevCRC, DWORD& dwNewCRC);
  17. static HRESULT ComputeKeyValuesCRC(HKEY hKey, DWORD dwPrevCRC,
  18. DWORD& dwNewCRC);
  19. static HRESULT ComputeKeyCRC(HKEY hKey, DWORD dwPrevCRC, DWORD& dwNewCRC);
  20. static HRESULT ComputeTreeCRC(HKEY hKey, DWORD dwPrevCRC, DWORD& dwNewCRC);
  21. };