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.

55 lines
1.6 KiB

  1. //
  2. // compare.h
  3. //
  4. #ifndef _COMPARE_H
  5. #define _COMPARE_H
  6. REG_STATUS ParseCompareCmdLine(PAPPVARS pAppVars,
  7. PAPPVARS pDstVars,
  8. UINT argc,
  9. TCHAR *argv[]);
  10. LONG CompareValues(HKEY hLeftKey,
  11. TCHAR* szLeftFullKeyName,
  12. HKEY hRightKey,
  13. TCHAR* szRightFullKeyName,
  14. TCHAR* szValueName,
  15. int nOutputType);
  16. LONG OutputValue(HKEY hKey,
  17. TCHAR* szFullKeyName,
  18. TCHAR* szValueName,
  19. BOOL bLeft);
  20. LONG CompareEnumerateKey(HKEY hLeftKey,
  21. TCHAR* szLeftFullKeyName,
  22. HKEY hRightKey,
  23. TCHAR* szRightFullKeyName,
  24. int nOutputType,
  25. BOOL bRecurseSubKeys);
  26. LONG CompareEnumerateValueName(HKEY hLeftKey,
  27. TCHAR* szLeftFullKeyName,
  28. HKEY hRightKey,
  29. TCHAR* szRightFullKeyName,
  30. int nOutputType);
  31. LONG PrintKey(HKEY hKey,
  32. TCHAR* szFullKeyName,
  33. TCHAR* szSubKeyName,
  34. int nPrintType);
  35. void PrintValue(TCHAR* szFullKeyName,
  36. TCHAR* szValueName,
  37. DWORD dwType,
  38. BYTE* pData,
  39. DWORD dwSize,
  40. int nPrintType);
  41. REG_STATUS CopyKeyNameFromLeftToRight(APPVARS* pAppVars, APPVARS* pDstVars);
  42. BOOL CompareByteData(BYTE* pDataBuffLeft, BYTE* pDataBuffRight, DWORD dwSize);
  43. #endif //_COMPARE_H