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.

54 lines
856 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: scan.h
  3. *
  4. *
  5. *
  6. *
  7. * Created: 02-11-93
  8. * Author: Stephen Estrop [StephenE]
  9. *
  10. * Copyright (c) 1993 Microsoft Corporation
  11. \**************************************************************************/
  12. #define TRACK_TYPE_MASK 0x04
  13. #define AUDIO_TRACK 0x00
  14. #define DATA_TRACK 0x04
  15. typedef struct {
  16. HWND hwndNotify;
  17. int cdrom;
  18. } TOC_THREAD_PARMS;
  19. int
  20. ScanForCdromDevices(
  21. void
  22. );
  23. void
  24. ScanningThread(
  25. HWND hwndDlg
  26. );
  27. BOOL CALLBACK
  28. ScaningDlgProc(
  29. HWND hwnd,
  30. UINT message,
  31. WPARAM wParam,
  32. LPARAM lParam
  33. );
  34. void RescanDevice(
  35. HWND hwndNotify,
  36. int cdrom
  37. );
  38. void
  39. ReadTableOfContents(
  40. TOC_THREAD_PARMS *pTocThrdParms
  41. );
  42. void
  43. TableOfContentsThread(
  44. TOC_THREAD_PARMS *pTocThrdParms
  45. );