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(OUT PCONFOLDPIDLFOLDER& 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. IN const PCONFOLDPIDLFOLDER& pidlFolder,
  27. OUT 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(IN const PCONFOLDPIDLFOLDER& pidlFolder,
  32. IN const PCONFOLDPIDL& pidlItemOld,
  33. IN const PCONFOLDPIDL& pidlItemNew,
  34. BOOL fRestart = FALSE);
  35. #endif // _OPENFOLD_H_