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
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
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货