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.

81 lines
2.3 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. FTMan
  5. File Name:
  6. Actions.h
  7. Abstract:
  8. Definition of global functions related to actions that can be performed in the tree and list views
  9. All action function receives an array of CItemData items and performs the appropriate action on them
  10. Author:
  11. Cristian Teodorescu December 1, 1998
  12. Notes:
  13. Revision History:
  14. --*/
  15. /////////////////////////////////////////////////////////////////////////////
  16. #if !defined(AFX_ACTIONS_H_INCLUDED_)
  17. #define AFX_ACTIONS_H_INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // Assign drive letter
  22. void ActionAssign( CObArray& arrSelectedItems );
  23. void UpdateActionAssign( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  24. // Break mirror
  25. void ActionFtbreak( CObArray& arrSelectedItems );
  26. void UpdateActionFtbreak( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  27. // Create extended partition
  28. void ActionCreateExtendedPartition( CObArray& arrSelectedItems );
  29. void UpdateActionCreateExtendedPartition( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  30. // Create partition
  31. void ActionCreatePartition( CObArray& arrSelectedItems );
  32. void UpdateActionCreatePartition( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  33. // Delete
  34. void ActionDelete( CObArray& arrSelectedItems );
  35. void UpdateActionDelete( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  36. // Regenerate the broken member of a mirror set or stripe set with parity
  37. void ActionFtinit( CObArray& arrSelectedItems );
  38. void UpdateActionFtinit( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  39. // Create mirror set
  40. void ActionFtmirror( CObArray& arrSelectedItems );
  41. void UpdateActionFtmirror( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  42. // Create stripe set
  43. void ActionFtstripe( CObArray& arrSelectedItems );
  44. void UpdateActionFtstripe( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  45. // Swap member of a mirror set or stripe set with parity
  46. void ActionFtswap( CObArray& arrSelectedItems );
  47. void UpdateActionFtswap( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  48. // Create stripe set with parity
  49. void ActionFtswp( CObArray& arrSelectedItems );
  50. void UpdateActionFtswp( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  51. // Create volume set
  52. void ActionFtvolset( CObArray& arrSelectedItems );
  53. void UpdateActionFtvolset( CCmdUI* pCmdUI, CObArray& arrSelectedItems );
  54. #endif // !defined(AFX_ACTIONS_H_INCLUDED_)