VAR
 RootPathBuf, VolNameBuf,FileSysNameBuf : PChar;
 NameBufSize, VolSerialNumber,
 MaxFileNameLength,FileSysFlags : dword;
Begin
  NameBufSize := 256;
  RootPathBuf := StrAlloc(NameBufSize);
  VolNameBuf := StrAlloc(NameBufSize);
  FileSysNameBuf := StrAlloc(NameBufSize);
  RootPathBuf := 'A:\';
  IF GetVolumeInformation(RootPathBuf,VolNameBuf,NameBufSize,
              @VolSerialNumber,MaxFileNameLength,
              FileSysFlags,FileSysNameBuf,NameBufSize then