ByzantianX
Programmer
- Dec 18, 2000
- 103
I'm quite new in Delphi (was programming in VB earlier) and I was wondering what how could I use "GetVolumeInformation" API function from Delphi. Could anyone help me, please?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var
fileSystemName, volumeName: array[0..99] of char;
fileSystemFlags, serialNo, maxFilenameLength: DWORD;
begin
GetVolumeInformation(PChar('C:\'), volumeName,
SizeOf(volumeName), @serialNo,
maxFilenameLength, fileSystemFlags,
fileSystemName, SizeOf(fileSystemName)
);