PF_VOLUME_SUPPORT_RESULT __stdcall PfVolumeSupportedForPrefetch(_FILE_FS_DEVICE_INFORMATION *DeviceInfo){
ULONG Characteristics;
if( DeviceInfo->DeviceType - 7 > 1 )
return 1;
Characteristics = DeviceInfo->Characteristics;
if( (Characteristics & 0x10) != 0 )
return 2;
if( (Characteristics & 1) != 0 )
return 3;
return((unsigned __int8)~LOBYTE(DeviceInfo->Characteristics) >> 3) & 4;
}