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.

37 lines
1.1 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Copyright (c) Microsoft Corporation 1991-1993
  4. //
  5. // File: reglist.h
  6. //
  7. // History:
  8. // 5-30-94 KurtE Created.
  9. //
  10. //---------------------------------------------------------------------------
  11. // Define Callback used for different enumeration functions.
  12. typedef BOOL (CALLBACK *PRLCALLBACK)(HDPA hdpa, HKEY hkey, LPCTSTR pszKey,
  13. LPCTSTR pszValueName, LPTSTR pszValue, LPCTSTR pszSrc,
  14. LPCTSTR pszDest);
  15. // Called to force rebuilding the list of paths.
  16. BOOL WINAPI RLBuildListOfPaths(void);
  17. // Terminate and cleanup our use of the Registry list.
  18. void WINAPI RLTerminate(void);
  19. // Define the main iterater function that uses the call back.
  20. BOOL WINAPI RLEnumRegistry(HDPA hdpa, PRLCALLBACK prlcb,
  21. LPCTSTR pszSrc, LPCTSTR pszDest);
  22. // RLIsPathInList: This function returns ht index of which item a string
  23. // is in the list or -1 if not found.
  24. int WINAPI RLIsPathInList(LPCTSTR pszPath);
  25. // Function to call when the files really have changed...
  26. int WINAPI RLFSChanged (LONG lEvent, LPITEMIDLIST pidl, LPITEMIDLIST pidlExtra);