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.

141 lines
1.8 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: trklst.h
  3. *
  4. * This module manipulates the cdrom track list. The table of contents MUST
  5. * be locked for ALL cdrom devices before calling any functions in this module.
  6. *
  7. * Created: 02-11-93
  8. * Author: Stephen Estrop [StephenE]
  9. *
  10. * Copyright (c) 1993 Microsoft Corporation
  11. \**************************************************************************/
  12. void
  13. ComputeDriveComboBox(
  14. void
  15. );
  16. void
  17. SwitchToCdrom(
  18. int NewCdrom,
  19. BOOL prompt
  20. );
  21. PTRACK_INF
  22. FindTrackNodeFromTocIndex(
  23. int tocindex,
  24. PTRACK_INF listhead
  25. );
  26. PTRACK_PLAY
  27. FindFirstTrack(
  28. int cdrom
  29. );
  30. PTRACK_PLAY
  31. FindLastTrack(
  32. IN INT cdrom
  33. );
  34. BOOL
  35. AllTracksPlayed(
  36. void
  37. );
  38. PTRACK_PLAY
  39. FindNextTrack(
  40. BOOL wrap
  41. );
  42. PTRACK_PLAY
  43. FindPrevTrack(
  44. int cdrom,
  45. BOOL wrap
  46. );
  47. int
  48. FindContiguousEnd(
  49. int cdrom,
  50. PTRACK_PLAY tr
  51. );
  52. void
  53. FlipBetweenShuffleAndOrder(
  54. void
  55. );
  56. void
  57. ComputeAndUseShufflePlayLists(
  58. void
  59. );
  60. void
  61. ComputeSingleShufflePlayList(
  62. int i
  63. );
  64. void
  65. RestorePlayListsFromShuffleLists(
  66. void
  67. );
  68. void
  69. FigureTrackTime(
  70. int cdrom,
  71. int index,
  72. int * min,
  73. int * sec
  74. );
  75. void
  76. TimeAdjustInitialize(
  77. int cdrom
  78. );
  79. void
  80. TimeAdjustIncSecond(
  81. int cdrom
  82. );
  83. void
  84. TimeAdjustDecSecond(
  85. int cdrom
  86. );
  87. void
  88. InitializeNewTrackTime(
  89. int cdrom,
  90. PTRACK_PLAY tr,
  91. BOOL fUpdateDisplay
  92. );
  93. void
  94. TimeAdjustSkipToTrack(
  95. int cdrom,
  96. PTRACK_PLAY tr
  97. );
  98. void
  99. SyncDisplay(
  100. void
  101. );
  102. void
  103. ValidatePosition(
  104. int cdrom
  105. );
  106. VOID
  107. ResetTrackComboBox(
  108. int cdrom
  109. );
  110. BOOL
  111. PlayListMatchesAvailList(
  112. void
  113. );
  114. void
  115. AddTemporaryTrackToPlayList(
  116. PCURRPOS pCurr
  117. );
  118.