home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rwp15.zip / DRIVES.H < prev    next >
Text File  |  1993-03-24  |  1KB  |  34 lines

  1. /* --------------------------------------------------------------------
  2.                            Drives Header File
  3.                               Chapter 15
  4.  
  5.                     Real World Programming for OS/2
  6.              Copyright (c) 1993 Blain, Delimon, and English
  7. -------------------------------------------------------------------- */
  8.  
  9. /* Exported Function */
  10. MRESULT EXPENTRY DrivesDlgProc  (HWND,ULONG,MPARAM,MPARAM);
  11.  
  12. VOID QueryDrives (HWND);
  13.  
  14. typedef struct
  15. {
  16.     CHAR  szDrive[2];
  17.     CHAR  szLocation[7];
  18.     CHAR  szRemovable[4];
  19.     CHAR  szFileSystem[16];
  20.     ULONG ulDescriptionIndex;
  21. } DRIVEINFO;
  22.  
  23. /* Drives Dialog Controls             */
  24.  
  25. #define IDC_DRIVELIST                300
  26. #define IDC_LOCATION                 301
  27. #define IDC_REMOVABLE                302
  28. #define IDC_FILESYSTEM               303
  29. #define IDC_DESCRIPTION              304
  30. #define IDC_VOLUMELABEL              305
  31. #define IDC_TOTALSPACE               306
  32. #define IDC_ALLOCATED                307
  33. #define IDC_AVAILABLE                308
  34.