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.

144 lines
1.8 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: diskinfo.h
  3. *
  4. * Support for the diskinfo dialog box.
  5. *
  6. *
  7. * Created: dd-mm-93
  8. * Author: Stephen Estrop [StephenE]
  9. *
  10. * Copyright (c) 1993 Microsoft Corporation
  11. \**************************************************************************/
  12. #define LIST_CHAR_WIDTH 19
  13. BOOL
  14. DlgDiskInfo_OnInitDialog(
  15. HWND hwnd,
  16. HWND hwndFocus,
  17. LPARAM lParam
  18. );
  19. BOOL CALLBACK
  20. DiskInfoDlgProc(
  21. HWND hwnd,
  22. UINT message,
  23. WPARAM wParam,
  24. LPARAM lParam
  25. );
  26. void
  27. DlgDiskInfo_OnCommand(
  28. HWND hwnd,
  29. int id,
  30. HWND hwndCtl,
  31. UINT codeNotify
  32. );
  33. BOOL
  34. DlgDiskInfo_OnDrawItem(
  35. HWND hwnd,
  36. const DRAWITEMSTRUCT *lpdis
  37. );
  38. void
  39. DlgDiskInfo_OnDestroy(
  40. HWND hwnd
  41. );
  42. void
  43. InitForNewDrive(
  44. HWND hwnd
  45. );
  46. void
  47. DrawListItem(
  48. HDC hdc,
  49. const RECT *rItem,
  50. DWORD itemData,
  51. BOOL selected
  52. );
  53. void
  54. GrabTrackName(
  55. HWND hwnd,
  56. int tocindex
  57. );
  58. void
  59. UpdateTrackName(
  60. HWND hwnd,
  61. int index
  62. );
  63. PTRACK_PLAY
  64. ConstructPlayListFromListbox(
  65. void
  66. );
  67. void
  68. UpdateEntryFromDiskInfoDialog(
  69. DWORD dwDiskId,
  70. HWND hwnd
  71. );
  72. void
  73. WriteAllEntries(
  74. DWORD dwDiskId,
  75. HWND hwnd
  76. );
  77. void
  78. RemovePlayListSelection(
  79. HWND hDlg
  80. );
  81. void
  82. AddTrackListSelection(
  83. HWND hDlg,
  84. int iInsertPos
  85. );
  86. void
  87. MoveCopySelection(
  88. int iInsertPos,
  89. DWORD dwState
  90. );
  91. void
  92. CheckButtons(
  93. HWND hDlg
  94. );
  95. BOOL
  96. IsInListbox(
  97. HWND hDlg,
  98. HWND hwndListbox,
  99. POINT pt
  100. );
  101. int
  102. InsertIndex(
  103. HWND hDlg,
  104. POINT pt,
  105. BOOL bDragging
  106. );
  107. BOOL
  108. DlgDiskInfo_OnProcessDrop(
  109. HWND hwnd,
  110. HWND hwndDrop,
  111. HWND hwndSrc,
  112. POINT ptDrop,
  113. DWORD dwState
  114. );
  115. BOOL
  116. DlgDiskInfo_OnQueryDrop(
  117. HWND hwnd,
  118. HWND hwndDrop,
  119. HWND hwndSrc,
  120. POINT ptDrop,
  121. DWORD dwState
  122. );