Lines Matching defs:hRawFile
1085 RTFILE hRawFile;
1086 int vrc = RTFileOpen(&hRawFile, rawdisk.c_str(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
1094 vrc = partRead(hRawFile, &partitions);
1210 RTFILE hRawFile;
1211 int vrc = RTFileOpen(&hRawFile, rawdisk.c_str(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
1229 if (DeviceIoControl((HANDLE)RTFileToNative(hRawFile),
1250 if (DeviceIoControl((HANDLE)RTFileToNative(hRawFile),
1265 if (RT_FAILURE(RTFileGetSize(hRawFile, &cbSize)))
1275 if(!fstat(RTFileToNative(hRawFile), &DevStat))
1288 if (!ioctl(RTFileToNative(hRawFile), BLKGETSIZE64, &cbBlk))
1295 if (!ioctl(RTFileToNative(hRawFile), BLKGETSIZE, &cBlocks))
1307 vrc = RTFileGetSize(hRawFile, &cbSize);
1335 if (!fstat(RTFileToNative(hRawFile), &DevStat))
1341 if (!ioctl(RTFileToNative(hRawFile), DKIOCGETBLOCKCOUNT, &cBlocks))
1343 if (!ioctl(RTFileToNative(hRawFile), DKIOCGETBLOCKSIZE, &cbBlock))
1362 vrc = RTFileGetSize(hRawFile, &cbSize);
1384 if (!fstat(RTFileToNative(hRawFile), &DevStat))
1389 if (!ioctl(RTFileToNative(hRawFile), DKIOCGMEDIAINFO, &mediainfo))
1400 vrc = RTFileGetSize(hRawFile, &cbSize);
1422 if (!fstat(RTFileToNative(hRawFile), &DevStat))
1427 if (!ioctl(RTFileToNative(hRawFile), DIOCGMEDIASIZE, &cbMedia))
1462 vrc = RTFileGetSize(hRawFile, &cbSize);
1520 vrc = partRead(hRawFile, &partitions);
1577 vrc = RTFileReadAt(hRawFile, partitions.aPartitions[i].uPartDataStart * 512,
1737 RTFileClose(hRawFile);