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.

43 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: O P E N F O L D . H
  7. //
  8. // Contents: Utility function for opening the connections folder
  9. //
  10. // Notes:
  11. //
  12. // Author: jeffspr 12 Jan 1998
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef _OPENFOLD_H_
  16. #define _OPENFOLD_H_
  17. // Get our folder pidl
  18. //
  19. HRESULT HrGetConnectionsFolderPidl(LPITEMIDLIST *ppidlFolder);
  20. // Bring up the connections folder UI
  21. //
  22. HRESULT HrOpenConnectionsFolder();
  23. // Get an IShellFolder * given the folder pidl
  24. //
  25. HRESULT HrGetConnectionsIShellFolder(
  26. LPITEMIDLIST pidlFolder,
  27. LPSHELLFOLDER * ppsf);
  28. // Note -- This code is actually in folder\oncommand.cpp, but can be
  29. // referenced from any place that needs it.
  30. //
  31. VOID RefreshFolderItem(LPITEMIDLIST pidlFolder,
  32. LPITEMIDLIST pidlItemOld,
  33. LPITEMIDLIST pidlItemNew,
  34. BOOL fRestart = FALSE);
  35. #endif // _OPENFOLD_H_