Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

DriveInfo

Simple WMI Example getting Drive Information

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

DriveInfo

Simple Example of Getting Drive Information via WMI

image

Code is in the main form

There's just three things to note:

  1. The record to hold the info (TDriveInfo)
  2. A function to get the drive information (GetDriveInfo)
  3. The Button Event Handler which calls the function and populates the listview