PDEVICE_EXTENSION DeviceExt;
BOOLEAN First = TRUE;
PVFATFCB Fcb;
- PVFATCCB Ccb;
NTSTATUS Status;
ULONG BytesDone;
ULONG BytesPerSector;
*LengthRead = 0;
- Ccb = (PVFATCCB)IrpContext->FileObject->FsContext2;
Fcb = IrpContext->FileObject->FsContext;
BytesPerSector = DeviceExt->FatInfo.BytesPerSector;
BytesPerCluster = DeviceExt->FatInfo.BytesPerCluster;
{
PDEVICE_EXTENSION DeviceExt;
PVFATFCB Fcb;
- PVFATCCB Ccb;
ULONG Count;
ULONG FirstCluster;
ULONG CurrentCluster;
ASSERT(IrpContext->FileObject);
ASSERT(IrpContext->FileObject->FsContext2 != NULL);
- Ccb = (PVFATCCB)IrpContext->FileObject->FsContext2;
Fcb = IrpContext->FileObject->FsContext;
BytesPerCluster = DeviceExt->FatInfo.BytesPerCluster;
BytesPerSector = DeviceExt->FatInfo.BytesPerSector;