Jump to content


Volume Info Dll

  • This topic is locked This topic is locked
3 replies to this topic

#1 tangibleLime



  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 21 January 2007 - 10:58 PM

VolumeInfo DLL

This is a small DLL I quickly made for a friend, and decided to post it here. I'll explain how it works too. This DLL can get the volume name, type, file system, maximum component length, and serial of a specified volume. By default, the example will investigate the D:\ drive. Change this to your liking.

For those of you who do not know the definition of a volume, it is a location capable of storing data, example: CD-ROM drive.

Download: VolumeInfoDLL.zip (~4 KB)

A function exists in the Kernel32 DLL called GetVolumeInformation. It can return everything in the DLL I posted above except the drive type. To get the drive type we use another function called GetDriveType. GetDriveType is a straightforward function, with only the drive for it's sole argument. It returns numerics that correspond with drive types.

Edited by Roach, 21 January 2007 - 10:59 PM.

  • 0
Posted ImagePosted Image

#2 [SJB]Dude7


    GMC Member

  • New Member
  • 289 posts

Posted 21 January 2007 - 11:01 PM

Awesome. This would be useful for something that is displaying all of your computers info. Cant wait to try it out! <_<
  • 0

#3 cpsgames


    GMC Member

  • GMC Member
  • 79 posts
  • Version:Unknown

Posted 20 February 2008 - 03:06 AM

Nice... 7/10
  • 0

#4 AvibeGames


    GMC Member

  • New Member
  • 113 posts

Posted 20 February 2008 - 12:46 PM

Provided link doesn't work for me.

Tried to PM Roach but his inbox is full.

EDIT Just noticed Roach's signature, so the correct link is: http://wowthatsaweso...lumeInfoDLL.zip
and not the one in the first post.

Edited by AvibeGames, 20 February 2008 - 12:52 PM.

  • 0