GetVolumeInformation()中变量的类型
String DiskLabel,RefDisk,str1,str;
long HDSerial;
long SerialNum;
if(DirectoryExists("c:\\"))
{
RefDisk="c:\\";
}
else
{
RefDisk="D:\\";
}
GetVolumeInformation(RefDisk.w_str(),DiskLabel.w_str(),15,HDSerial,0,0,"",0);
编译的时候Cannot convert 'long' to 'unsigned long *';
HDSerial变量类型不应该是long吗?求解决方法;;;