}
else
DataRunStartLCN = -1;
-
- if (*DataRun == 0)
- return AlreadyRead;
}
while (Length > 0)
{
PNTFS_FILE_HANDLE FileHandle = FsGetDeviceSpecific(FileId);
- RtlZeroMemory(Information, sizeof(FILEINFORMATION));
+ RtlZeroMemory(Information, sizeof(*Information));
Information->EndingAddress.QuadPart = NtfsGetAttributeSize(&FileHandle->DataContext->Record);
Information->CurrentAddress.QuadPart = FileHandle->Offset;
- TRACE("NtfsGetFileInformation() FileSize = %d\n",
- Information->EndingAddress.LowPart);
- TRACE("NtfsGetFileInformation() FilePointer = %d\n",
- Information->CurrentAddress.LowPart);
+ TRACE("NtfsGetFileInformation(%lu) -> FileSize = %llu, FilePointer = 0x%llx\n",
+ FileId, Information->EndingAddress.QuadPart, Information->CurrentAddress.QuadPart);
return ESUCCESS;
}
ULONG Count;
ARC_STATUS Status;
+ TRACE("Enter NtfsMount(%lu)\n", DeviceId);
+
//
// Allocate data for volume information
//
//
// Read the BootSector
//
- Position.HighPart = 0;
- Position.LowPart = 0;
+ Position.QuadPart = 0;
Status = ArcSeek(DeviceId, &Position, SeekAbsolute);
if (Status != ESUCCESS)
{
//
// Return success
//
+ TRACE("NtfsMount(%lu) success\n", DeviceId);
return &NtfsFuncTable;
}