home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3231 next >
Encoding:
Text File  |  1992-11-04  |  818 b   |  32 lines

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!concert!rutgers!network.ucsd.edu!sdcrsi!soledad!sweetman
  2. From: sweetman@sea.com (Bill Sweetman)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: CD Volume label
  5. Message-ID: <1992Nov5.012612.7888@sea.com>
  6. Date: 5 Nov 92 01:26:12 GMT
  7. Organization: Systems Engineering Associates
  8. Lines: 22
  9.  
  10. =-=-=
  11. all -
  12.  
  13. the easy way to find the Volume label of a CD in windows 3.0/3.1
  14. using BC++
  15.  
  16. #include <dir.h>
  17. struct ffblk ffblk;
  18.  
  19.    findfirst("D:\\*.*", &ffblk, FA_LABEL);
  20.  
  21. that's it, this way you don't have to concern yourself with
  22. switching from protected to real mode.
  23.  
  24. ciao,
  25. -bill
  26. =-=-=
  27. -- 
  28.  
  29.   INET: sweetman@sea.com           System Engineering Associates  (S.E.A.)
  30.     voice: (619)581-6181 x305      2204 Garnet Ave
  31.      fax: (619)581-6184            Suite #303
  32.