• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 31. Using External Functions: Th... > Determining Drive Types and Availabl...

Determining Drive Types and Available Drive Space

Often, it is necessary to determine the types of drives available and the amount of space free on each drive. Fortunately, Windows API functions are available to help you to accomplish these tasks. The frmListDrives form lists the type of each drive installed on the system and the amount of free space on each drive, as shown in Figure 31.10. The declarations that are required for the APIs are shown in Listing 31.4.

Figure 31.10. The frmListDrives form, showing the type of each drive installed on the system and the amount of free space on each drive.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint